SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.focusedIndex  property

当時に入力のフォーカスを持つデータセルの位置。 ユーザーがTabキーや方向キーを入力するか、マウスのクリックで位置を変更することができる。 セルの編集中に変更になったら編集完了が進行され、完了した後に位置が変わる。 

Getter
function focusedIndex(): CellIndex
Code -1
    var idx = grid.focusedIndex().clone();
    idx.rowIndex = idx.rowIndex + 1;
    grid.setFocusedIndex(idx);
Note
See Also
CellIndex
CellIndex.clone
Examples
Focused Cell