Gets the row action, that triggered the event.
Namespace: MindFusion.DataViews
File: EventArgs.js
JavaScript Copy Code |
---|
get action() {} |
RowAction. One of the RowAction enumeration values.
The following code handles the rowUpdating event of a Grid instance. The event handler checks if the action that triggered the event was "delete" and if so, cancels the action:
JavaScript Copy Code |
---|
grid.rowUpdating.addEventListener(onRowUpdating); function onRowUpdating(sender, args) |