This demo describes the TreeList extension inline edit mode. In this edit mode, cell values are edited within the in-line edit node.
For each allowed data operation (such as inserting, updating, deleting or node dragging), provide an associated controller action that will apply data changes to the Model and return the tree list's partial view. You can reference these controller actions by their names using the AddNewNodeRouteValues, UpdateNodeRouteValues, DeleteNodeRouteValues and NodeDragDropRouteValues properties. Note that node dragging is an editing operation, because while changing the node's position, its parent row identificator changes.
To allow end-users to manipulate tree list data, add a Command column to the TreeList's column collection and specify which commands (New, Edit, Delete) can be used by end-users. To switch a tree list node to the edit mode, end-users should be allowed to click the Edit command.
An error is displayed next to the individual form editors. However, an additional error message can be displayed below the edit form using the SetEditErrorText method.