SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.onCurrentChanged  event

入力フォーカスを持つセルの位置が変更になった時に発生する。 変更になる前にはonCurrencChangingイベントが発生する。 

function onCurrentChanged (grid: GridBase, newIndex: CellIndex);
Returns
Void
Parameters
grid - GridBase.
newIndex - CellIndex.
Note
Code -1
    grdMain.onCurrentChanged = function (grid, newIndex) {
        $('#currRow').text(newIndex.rowIndex);
        #('#currCol').text(newIndex.column.name());
    };
See Also
onCurrentChanging
CellIndex
Examples
Hello Grid]