TIWCGJQGridCol.OnCellAttr Property

This function add attributes to the cell during the creation of the data - i.e dynamically. By example all valid attributes for the table cell can be used or a style attribute with different properties. The function should return string. Parameters passed to this function are: rowId - the id of the row val - the value which will be added in the cell rawObject - the raw object of the data row - i.e if datatype is json - array, if datatype is xml xml node. cm - all the properties of this column listed in the colModel rdata - the data row which will be inserted in the row. This parameter is array of type name:value, where name is the name in colModel

Namespace: IWCGJQGrid
published
 property OnCellAttr: TIWCGJSonFunc index 01 read GetFuncValue write SetFuncValue stored IsFuncStored;

Property Value