ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: vijay on June 03, 2026, 05:36:23 pm
-
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?
-
Please check the styling section of this example:
https://paramquery.com/pro/demos/readonly_cells