setCellStyleIndex(rowIndex: Integer, colIndex: Integer, styleIndex: Integer);
rowIndex. Global index of table data series.
colIndex. Table column identifier.
styleIndex. Table style index.
The setCellStyleIndex method sets the style with the specified index for a table cell.
To execute the example, the HTML page must contain the DataGrid component named grid (see Example of Creating the DataGrid Component). Apply a new style for cells of the column with the num identifier:
grid.eachRowInSource(function(sender) {
grid.setCellStyleIndex(sender.RowIndex, "num", 0);
}, this);
After executing the example the style with the 0 index is applied to cell of the column with the num identifier:

See also: