Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Collapse]Tree List
   [Expand]Product Information
   [Collapse]Concepts
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Collapse]Data Editing
      Edit Form
      Batch Edit Mode
      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]Templates
     Toolbars
   [Expand]Visual Elements
   [Expand]Examples
   [Expand]Member Tables
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [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]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Edit Form

To allow end-users to edit data via the built-in Edit Form, set the TreeListSettingsEditing.Mode property to TreeListEditMode.EditForm, TreeListEditMode.EditFormAndDisplayNode or TreeListEditMode.PopupEditForm.

The Edit Form is displayed in the image below:

The Edit Form displays edit cells that correspond to data columns, and the Cancel/Update commands, that allow end-users to discard the changes made or save them to a database.

Each edit cell displays a column caption and the corresponding editor. Individual columns provide settings for individual edit cells, and this allows you to provide various Edit Form layouts. These settings are listed below:

Property Description
TreeListColumnEditFormSettings.CaptionLocation Specifies the location of the edit cell's caption.
TreeListColumnEditFormSettings.Visible Specifies whether the edit cell that corresponds to the current data column is displayed within the Edit Form.
TreeListColumnEditFormSettings.VisibleIndex Specifies the edit cell's position within the Edit Form.
TreeListColumnEditFormSettings.ColumnSpan Specifies the number of columns in the Edit Form that the cell spans.
TreeListColumnEditFormSettings.RowSpan Specifies the number of rows in the Edit Form that the cell spans.

The default layout is generated automatically. You can provide custom layouts for the Edit Form via the TreeListTemplates.EditForm template.

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