DxTreeListEditor Class
A List Editor you can use in XAF ASP.NET Core Blazor applications to display data as a tree-like structure.
Namespace: DevExpress.ExpressApp.Blazor.Editors
Assembly: DevExpress.ExpressApp.Blazor.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Blazor
#Declaration
public class DxTreeListEditor :
DxGridListEditorBase
#Remarks
List Views use List Editors to display object collections. DxTreeListEditor
is a List Editor that displays data in the form of a tree. This editor is implemented in the TreeList Editors module.
To display tree-like collections, the DxTreeListEditor
uses an instance of the DxTreeList class. It supports the following features:
- Client and Queryable mode. Queryable mode is available for flat data only.
- Tree-like structure in the UI for
ITreeNode
objects - Tree-like structure for flat data objects with “Key - Parent Key” relationship
- Data editing
- Protected content placeholders for secured data rows
- Loading child nodes on demand
- Property editors as cell templates
- Sorting and filtering
- Summaries
- Saving layout settings in the Application Model
- Selection API
- Context-dependent menu toolbar
- Conditional appearance for cells
- Column resizing
- Column chooser
Note
Dx
does not support the following features:
- Server, Server
View, Instant Feedback, Instant Feedback View, and Data View modes - Best fit column width
- Node images for
ITree
objectsNode
DxTreeListEditor
is available out of the box in XAF projects for objects that implement the ITreeNode
interface. To enable it for flat data objects, specify the DevExpress.ExpressApp.Blazor.Editors.DxTreeListEditor
list editor type in the IModelListView.EditorType
model option.
For an example, refer to the Departments
List View in the XAF ASP.NET Core Blazor demo.