SMART datagrid v.1 > Classes > CellIndex

Back  Forward

DataLudi.CellIndex.column  variable

GridColumn object corresponding to the cell of this location. 

The Index of Row which contains the cell is set by rowIndex

var column: GridColumn = null;
Code -1
    $('#setColor').click(function () {
        var index = grid.focusedIndex();
        if (index.column) {
            index.column.setStyles({
                color: "#f00"
            });
        }
    }
See Also
rowIndex
GridColumn
GridBase.focusedIndex
GridBase.isValidCell
Examples
Focused Cell