Search
Grid.disposeContextMenu Method
See Also
 






Disposes the current context menu.

Namespace: MindFusion.DataViews
File: Grid.js

 Syntax

JavaScript  Copy Code

function disposeContextMenu ()

 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