Search
Grid.disposeActiveEditor Method
See Also
 






Disposes the active grid cell editor.

Namespace: MindFusion.DataViews
File: Grid.js

 Syntax

JavaScript  Copy Code

function disposeActiveEditor ()

 Example

The following code handles the rowUpdated event and disposes the active editor and context menu of the grid:

JavaScript  Copy Code

var dv = MindFusion.DataViews;

grid.rowUpdated.addEventListener(onRowUpdated);

function onRowUpdated(sender, args)
{
    sender.disposeActiveEditor();
    sender.disposeContextMenu();
}

 See Also