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
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [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]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Collapse]Tree List
   [Expand]Product Information
   [Collapse]Concepts
    [Expand]Binding to Data
    [Collapse]Data Representation Basics
     [Collapse]Columns
       Accessing Columns
       Data and Command Columns
       Data Columns
       Command Columns
       Creating Columns and Binding Them to Data Fields
       Customization Window
       Customization Window Overview
     [Expand]Nodes
      Tree Generation Algorithm in the ASPxTreeList
    [Expand]Data Editing
    [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]Gauges
  [Expand]Data Editors
  [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]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Data Columns

Data Columns are used to display and edit data. These columns represent fields in the ASPxTreeList's data source. Their TreeListDataColumn.FieldName properties refer to valid fields in the data source.

There are eight types of server data columns:

Class Name Description
TreeListBinaryImageColumn Represents a data column that displays images from a binary stream.
TreeListButtonEditColumn Represents a data column with the button editor.
TreeListCheckColumn Represents a data column used to display and edit data from a Boolean data field.
TreeListColorEditColumn Represents a data column used to display and edit color values.
TreeListComboBoxColumn Represents a data column whose values are edited using the combo box editor.
TreeListDateTimeColumn Represents a data column used to display and edit data from a DateTime data field.
TreeListDropDownEditColumn Represents a data column with an editor containing a customizable dropdown window.
TreeListHyperLinkColumn Represents a data column with hyperlink functionality.
TreeListImageColumn Represents a data column that displays images located at the specified URLs.
TreeListMemoColumn Represents a data column used to display and edit memo data.
TreeListProgressBarColumn Represents a data column with the progress bar editor.
TreeListSpinEditColumn Represents a data column used to display and edit numeric data.
TreeListTextColumn Represents a data column used to display and edit text.
TreeListTimeEditColumn Represents a data column used to display and edit time portions of DateTime values.

On the client, data columns are represented by the ASPxClientTreeListColumn objects.

Expanded Behavior

Since different types of data columns represent different types of data, they provide their own editors. For example, Boolean values are edited using a check box editor, while DateTime values are edited using a DateTime editor. To access and customize the column editor's settings, use the TreeListDataColumn.PropertiesEdit property.

To specify whether end-users can sort data by the column's values, use the TreeListDataColumn.AllowSort property. Its sort order is specified by the TreeListDataColumn.SortOrder property.

To make a column read-only, set its TreeListDataColumn.ReadOnly property to true.

Expanded Visibility

The column's visibility is specified by its WebColumnBase.Visible property. Its position among other visible columns is specified by its WebColumnBase.VisibleIndex property.

End-users can hide and show columns via the Customization Window.

How would you rate this topic?​​​​​​​