SMART datagrid v1.4 > Classes > CellIndex

Back  Forward

DataLudi.CellIndex.isLastColumn  property

column이 그리드에 표시 중인 마지막 컬럼이면 true를 리턴한다. 

Getter
function isLastColumn(): Boolean
Code -1
    var index = grid.focusedIndex();
    if (index.isLastColumn() && index.rowIndex == grid.rowCount() - 1) {
        alert('This is Last Cell');    
    }
See Also
isFirstColumn
column
Examples
Hello Grid