Search
RowModifiedEventArgs.oldValues Property
See Also
 






Gets a dictionary of the original field name/value pairs.

Namespace: MindFusion.DataViews
File: EventArgs.js

 Syntax

JavaScript  Copy Code

get oldValues() {}

 Property Value

Map. The dictionary of the original field name/value pairs.

 Example

The following code uses the oldValues property of the RowModifiedEVentArgs object to get the value of the id column from the deleted row.

JavaScript  Copy Code

var dv = MindFusion.DataViews;

grid.rowDeleted.addEventListener(onRowDeleted);

function onRowDeleted(sender, args)
{
    var itemId = args.oldValues.get("_id");
    //do something
}

 See Also