Initializes a new instance of the RowModifyingEventArgs class.
Namespace: MindFusion.DataViews
File: EventArgs.js
SyntaxJavaScript
Copy Code
|
|---|
function RowModifyingEventArgs (row, action, rowData, oldValues, newValues) |
Number. The index of the row that is being modified.
One of the RowAction enumeration values that indicates the action that triggered the event.
Object. The row data.
Map. The dictionary of the original field name/value pairs.
Map. The dictionary of the new field name/value pairs.
ExampleThe 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) |
See Also