SMART datagrid v.1 > Classes > CellIndex

Back  Forward

DataLudi.CellIndex.isDataCell  property

If column is DataColumn and dataIndex of rowIndex row is greater than 0, it will return 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
Focused Cell