SMART datagrid v.1 > Classes > CellIndex
The Index of Row which contains the cell.
The column which contains the cell is set by column.
var rowIndex: Integer = -1;
$('#setColor').click(function () {
var index = grid.focusedIndex();
if (index.rowIndex >= 0) {
grid.body().rowStyles().setRow(index.rowIndex, { background: '#ff0000'});
}
}