Search
Grid.rowUpdated Event
See Also
 






Raised when a row is updated.

Namespace: MindFusion.DataViews
File: Grid.js

 Syntax

JavaScript  Copy Code

EventDispatcher rowUpdated

 Event Data

The event handler method receives the following arguments:
sender
A Grid instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
A RowModifiedEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.

 Example

The following code uses the rowUpdated event of Grid and the RowModifiedEVentArgs object to get the value of the id column from the updated row.

JavaScript  Copy Code

var dv = MindFusion.DataViews;

grid.rowUpdated.addEventListener(onRowUpdated);

function onRowUpdated(sender, args)
{
    var employee_name = args.newValues.get("name");
    //do something
}

 See Also