Search
Grid.activeEditor Property
See Also
 






Gets the active grid cell editor.

Namespace: MindFusion.DataViews
File: Grid.js

 Syntax

JavaScript  Copy Code

get activeEditor() {}

 Property Value

Object. The editor.

 Example

The following code handles the rowCommand event and disables editing of the Grid that triggered the event:

JavaScript  Copy Code
grid.rowCommand.addEventListener(function (sender, args)
{
    if (args.commandName == "Lock")
    {
       sender.allowEdit = false;
       sender.activeEditor = null;   
    
    }
}

 See Also