SMART datagrid v.1 > Classes > CellIndex

Back  Forward

DataLudi.CellIndex.rowIndex  variable

The Index of Row which contains the cell. 

The column which contains the cell is set by column

var rowIndex: Integer = -1;
Code -1
    $('#setColor').click(function () {
        var index = grid.focusedIndex();
        if (index.rowIndex >= 0) {
            grid.body().rowStyles().setRow(index.rowIndex, { background: '#ff0000'});
        }
    }
See Also
column
GridRow
GridColumn
Examples
Focused Cell