SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.isEditing  method

If it is in editing state in the data cell specified by index, it will return true. If index is null, it will return the state of Focused Cell

function isEditing (index: CellIndex): Boolean;
Returns
Boolean
Parameters
index - CellIndex. required.
Code -1
    var index = grid.focusedIndex();
    if (index && grid.isEditing(index)) {
        dataset.commit();
    }
See Also
focusedIndex
isRowEditing