SMART datagrid v.1 > Classes > CellIndex

Back  Forward

DataLudi.CellIndex.column  variable

相当于该位置的单元格的GridColumn对象。 

通过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
聚焦单元格