SMART datagrid v1.4 > Classes > CellIndex

Back  Forward

DataLudi.CellIndex.isDataCell  property

columnDataColumn이고, rowIndex 행의 dataIndex0 이상이면 true를 리턴한다. 

Getter
function isDataCell(): Boolean
Code -1
    $('#setValue').click(function () {
        var cellIndex = grid.focusedIndex();
        if (cellIndex.isDataCell()) {
            var row = grid.getRow(cellIndex.rowIndex);
            row.setValue(0, $('#value'));
        }
    });
See Also
column
rowIndex
Examples
포커스 셀