|
|
|
|
This demo describes the ASPxTreeList's built-in edit modes.
Use the 'Edit Mode' combo box to select the edit mode you desire.
To allow end-users to manipulate data, add a Command column to the ASPxTreeList's Columns collection and specify which commands can be used by end-users. The following server-side methods can be used to manipulate data in code: - StartEdit() – switches the ASpxTreeList to edit mode.
- UpdateEdit() - saves changes and switches the ASPxTreeList to browse mode.
- CancelEdit() - discards changes and switches the ASPxTreeList to browse mode.
- StartEditNewNode() – switches the ASPxTreeList to edit mode, and allows you to specify a new node's values. When finished, click the Update button. This creates a new node with the specified values, and appends it to the required position.
- DeleteNode() - deletes a node.
|
 | Loading… |
|
|
|
|