SMART datagrid v1.4 > Classes > GridBase

Back  Forward

DataLudi.GridBase.isValidCell  method

매개변수 index로 지정한 CellIndex가 이 그리드 내의 타당한 위치를 지시하고 있으면 true를 리턴한다. 

타당한 셀 위치다. 

function isValidCell (index: CellIndex): Boolean;
Returns
Boolean
Parameters
index - CellIndex.
Code -1
    $('#getValue').click(function () {
        var idx = DataLudi.createIndex($('#edRowIndex').val(), grid.columnByName($('#edColumn').val()));
        if (grid.isValidIndex(idx)) {
            grid.setFocusedIndex(idx);
        }
    });
See Also
isValidColumn
isValidRow
CellIndex
focusedIndex
createIndex
Examples
포커스 셀