I would like to change the color of a cell based upon a status condition in cfgrid.
For example:
- If the status of a record is Overdue, the cell will become red with OverDue in bold.
- If the status of a record is Due (within 30 days), the cell will become yellow with Due in bold.
- If the status of a record is Current (date due over 30 days), then the cell will be green with Current in bold....
I could only find rendering for cfgridrow and cfgridcolumn.
You should resort to the column renderer property provided by ExtJS. A renderer for a column gets three arguments, the second is a meta object on which you can set a property called attr which gets set as attribute on the cell dom element. You can provide some css styling for the cell for example:
Check setRenderer in the Ext.grid.ColumnModel documentation