TreeList.NodeEditFinish

Syntax

NodeEditFinish: function(sender, args);

Parameters

sender. Event source.

args. Information on the event. Available arguments: Node - edited node; Column - column number where the edited node is; Value - node new value; OldValue - node old value; Esc - clicking the ESC button attribute: true - the ESC button is clicked, false - the ESC is not clicked.

Description

The NodeEditFinish event occurs after finishing editing of hierarchical tree node.

Comments

Node editing is available if the TreeList.EnableEdit property  is set to true.

Example

To execute the example, the page must contain the TreeList component named treeListSett (seebsp;. Example of Creating the TreeList Component). Add event handler that processes the end of the tree node changing:

treeListSett.NodeEditFinish.add(function (sender, args) {
    console.log("Node contents is changed from " + args.OldValue + " to " + args.Value );
});

Change the node contents from «South Africa» to «North Africa». As a result, message about node contents changing is displayed to the console:

Node contents changed from South Africa to North Africa

See also:

TreeList