TreeListView.NodeEditCanceled

Syntax

NodeEditCanceled: function(sender, args);

Parameters

sender. Event source.

args. Event information:

Description

The NodeEditCanceled event occurs on canceling cell editing.

Example

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:

TreeListView