SMART datagrid v1.4 > Classes > GridBase

Back  Forward

DataLudi.GridBase.focusedRowIndex  property

현재 입력 포커스를 갖는 그리드행의 인덱스. 

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