Search
RowModifyingEventArgs Class
Remarks See Also
 






Specifies data for row action validation events.

Namespace: MindFusion.DataViews
File: EventArgs.js

 Syntax

JavaScript  Copy Code

// class
RowModifyingEventArgs.prototype = {}

 Remarks

Events that use the RowModifyingEventArgs class to provide event data are rowSelecting, rowCreating, rowDeleting and rowUpdating.

 Example

The following code handles the rowUpdating event of a Grid instance. The event uses the RowModifyingEventArgs class to provide event data:

JavaScript  Copy Code

grid.rowUpdating.addEventListener(onRowUpdating);

function onRowUpdating(sender, args)
{
    args.cancel = args.rowData.locked;
}

 Inheritance Hierarchy

MindFusion.DataViews.CancelEventArgs
    MindFusion.DataViews.RowModifyingEventArgs
        MindFusion.DataViews.CommandEventArgs

 See Also