NodeEditCanceled: function(sender, args);
sender. Event source.
args. Event information:
Node. String. Node key.
Column. Number. Column index.
The NodeEditCanceled event occurs on canceling cell editing.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Enable editing mode Tree.setEnableEdit(true); // Set events Tree.NodeEditCanceled.add( function(sender, args) { console.log("NodeEditCanceled event:"); console.log(args); }); Tree.NodeEdited.add( function(sender, args) { console.log("NodeEdited event:"); console.log(args); }); Tree.NodeEditing.add( function(sender, args) { console.log("NodeEditing event:"); console.log(args); }); // Initialize events by editing cell
After executing the example editing events are added.
See also: