TreeListView.cancelEditing

Syntax

cancelEditing();

Description

The cancelEditing method cancels the current 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);
// Start cell editing
Tree.startEditing("1", 1, false);
// Cancel current editing
Tree.cancelEditing();

After executing the example the current editing is cancelled.

See also:

TreeListView