NodeEditFinish: function(sender, args);
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.
The NodeEditFinish event occurs after finishing editing of hierarchical tree node.
Node editing is available if the TreeList.EnableEdit property is set to true.
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: