Grid Configuration - Row Based State Definition
Anyone have success setting up row based state definitions using a grid configuration?
Below is a code snippet of my configuration. I have checked that the column "fieldName" matches the field name below, values in my table the states "value", and that I am able to apply general styling to the grid. (see the commented out style). Any ideas on what else could be going on?
"rows": {
"selection": "single",
"defaultSelectedRows": "",
"minHeight": "30",
"autoScroll": true,
"rowFormatter": {
"stateDefinition": {
"name": "Entry Difference Indicator",
"fieldName": "entryDifferenceIndicator",
"type": "not-fixed",
"states": [
{
"name": "Different Entries",
"value": "noEquivalentEntry",
"comparator": "==",
"styleName": "rowFormatterStyle"
}
]
}
}
},
"styles": {
"rowFormatterStyle": {
"backgroundColor": "blue",
"fontWeight": "bold"
},
/*"rowBackgroundStyle": {
"backgroundColor": "blue",
},*/
}

