We want to apply a background color to editable cells and implement this logic at a generic level rather than configuring it for each individual grid.
In pqGrid, the `editable` property can be defined in two ways:
1. Directly as `true`
editable: true
2. Conditionally based on row data
editable: function (ui) {
if (ui.rowData.isLocked == 1) {
return true;
}
return false;
}
Could you please suggest a generic approach to identify editable cells and apply a background color accordingly, regardless of how the `editable` property is defined?