SMART datagrid v.1 > Classes > CellIndex

Back  Forward

DataLudi.CellIndex.getRow  method

この位置のグリッド行客体をリターンする。 

columnが妥当なカラム客体を指示していたら、パラメーター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
フォーカスセル