This demo shows how to bind the TreeList to a List object. Since the TreeList is designed to display information in a tree structure, its data source should meet certain requirements. Two additional fields are necessary to build a tree structure.
The first field must contain unique values. This field must be assigned to the KeyFieldName property. The second field must contain values that indicate parent nodes for the current node. It should be assigned to the ParentFieldName property. Columns bound to these fields are called Service columns.
In this demo, toggle the 'Show service columns' check box to display or hide service columns.
Get started today and download your 30-day trial of DevExpress MVC Extensions (includes 30 days of free technical support).
All demos ship with full source code and are included in the DevExpress MVC distribution. Refer to the Demos and Sample Applications topic to learn more.
DevExpress MVC Extensions ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at firstname.lastname@example.org or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.