SMART datagrid v.1 > Classes > GridBase
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.
var index = grid.focusedIndex();
if (index && grid.isEditing(index)) {
dataset.commit();
}