SMART datagrid v1.4 > 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
onCurrentChanging
onCurrentChanged
onCurrentRowChanged
CellIndex
Examples
Focused Cell