SMART datagrid v.1 > Classes > CellStyleManager

Back  Forward

DataLudi.CellStyleManager.setStyleAt  method

It applies the data cell which is specified by parameter row and field to CellStyle which has been registered as styleId

If specify a value less than 0 in field, it will be applied to all cells of row. And, if specify a value less than 0 in row, it will be applied to the row of being added. 

function setStyleAt (row: Integer, field: Integer|String, styleId: String);
Returns
Void
Parameters
row - Integer. required.
field - Integer|String. required.
styleId - String. required.
See Also
setStylesAt
CellStyle
Examples
Cell Styles