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