SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.focusedRow  property

現在入力のフォーカスを持つグリッド行客体。 

Getter
function focusedRow(): GridRow
Code -1
    $('#delete').click(function () {
        var row = grid.focusedRow();
        if (row && row.dataIndex() >= 0) {
            dataset.deleteRow(row.dataIndex());
        }
    });
See Also
focusedIndex
focusedRowIndex
focusedDataIndex
focusedDataRow
focusedColumn
CellIndex
Examples
Focused Cell