Log In
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Collapse]Tree List
   [Expand]Product Information
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Collapse]Data Editing
      Edit Form
      Adding and Deleting Nodes
      Node Validation and Error Indication
    [Expand]Data Shaping and Manipulation
     Drag and Drop
    [Expand]Focus and Navigation
     Appearance Customization
     Save and Restore Layout
   [Expand]Visual Elements
   [Expand]Member Tables
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Data Editing

The ASPxTreeList provides multiple edit modes: in-line data editing and editing via the Edit Form. To allow end-users to manipulate data, add a Command Column to the ASPxTreeList.Columns collection and specify which commands can be used by end-users. End-users can switch the ASPxTreeList to edit mode by clicking the Edit command. To do this in code, use the server ASPxTreeList.StartEdit or client ASPxClientTreeList.StartEdit method.

  • In-Line Data Edititng

    When this mode is used, the ASPxTreeList displays the In-Line Edit Node instead of the edited node. This node displays the edit cells that correspond to visible data columns, while using the Edit Form allows you to customize its contents and layout.

  • Edit Form

    When the ASPxTreeList is switched to edit mode, it displays the Edit Form. The Edit Form displays edit cells. Each cell corresponds to a data column, and allows its value within the edited node to be changed.

  • Popup Edit Form

    When the ASPxTreeList is switched to this mode, it displays its edit form as Popup Edit Form.

To switch the ASPxTreeList back to the browse mode, saving all the changes made, click the Update command or use the ASPxTreeList.UpdateEdit (ASPxClientTreeList.UpdateEdit) method. To discard the changes, click the Cancel command or call the ASPxTreeList.CancelEdit (ASPxClientTreeList.CancelEdit) method.


Expanded Concepts

Expanded Member Table

Expanded Task-Based Help (Examples)

Is this topic helpful?​​​​​​​