DataLudi Grid v.1 > Classes > GridBase

Back  Forward

GridBase.onRowUpdating  event

ユーザーが行の修正を始まる直前に発生する。 このイベントハンドラの内で明示的にfalseをリターンするか、 例外を投げれば行の修正が始まらない。 

function onRowUpdating (grid: GridBase, rowIndex: Integer);

Returns
Void
Parameters
grid - GridBase.
rowIndex - Integer.
Code -1
    grdMain.onRowUpdating = function (grid, rowIndex) {
        if (!document.getElementById('chkUpdate').checked) {
            return false;
        }
    }
See Also
onRowInserting
onRowsDeleting
Examples
RowUpdating