Gets the active grid cell editor.
Namespace: MindFusion.DataViews
File: Grid.js
SyntaxJavaScript
Copy Code
|
|---|
get activeEditor() {} |
Object. The editor.
ExampleThe 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