SMART datagrid v1.4 > Classes > GridBase

Back  Forward

DataLudi.GridBase.isEditing  method

index로 지정한 데이터셀에서 현재 편집 중이면 true를 리턴한다. indexnull이면 포커스 셀의 상태를 리턴한다. 

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