SMART datagrid v.1 > Classes > CellIndex

Back  Forward

DataLudi.CellIndex.getRow  method

It returns Grid Row object of this location. 

If column indicates a valid column object, you do not need to specify parameter grid

function getRow (grid: GridBase): GridRow;
Returns
GridRow
Parameters
grid - GridBase. required.
Code -1
    $('#expand').click(function () {
        var row = grid.focusedIndex().getRow();
        if (row instanceof GroupRow) {
            row.expand();
        }
    }
See Also
getDataIndex
rowIndex
column
getValue
GridRow
GridColumn
Examples
Focused Cell