Search
RowModifiedEventArgs.action Property
See Also
 






Gets the row action, that triggered the event.

Namespace: MindFusion.DataViews
File: EventArgs.js

 Syntax

JavaScript  Copy Code

get action() {}

 Property Value

RowAction. One of the RowAction enumeration values.

 Example

The following code handles the rowCreated event of a grid, where it uses the action property of RowModifiedEVentArgs to identify the RowAction:

JavaScript  Copy Code

var dv = MindFusion.DataViews;

grid.rowCreated.addEventListener(onRowCreated);

function onRowCreated(sender, args)
{
    if(args.action == dv.RowAction.Create)
    {
      //do something
    }
}

 See Also