Back to Devexpress

DxTreeListEditor Class

expressappframework-devexpress-dot-expressapp-dot-blazor-dot-editors-c5f96016.md

latest5.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.ExpressApp.Blazor

Declaration

csharp
public class DxTreeListEditor :
    DxGridListEditorBase
vb
Public Class DxTreeListEditor
    Inherits 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
  • PDF export

Note

DxTreeListEditor does not support the following features:

  • Server, ServerView, InstantFeedback, InstantFeedbackView, and DataView modes
  • Best fit column width
  • Node images for ITreeNode objects

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.

Implements

IComplexListEditor

IObjectRecordSupport

ISupportNewItemRowPosition

ISupportUpdate

IExportable

Inheritance

Object ListEditor ColumnsListEditor DxGridListEditorBase DxTreeListEditor

See Also

DxTreeListEditor Members

TreeList Editors Module Overview

Display a Tree List With Flat Data Objects (ASP.NET Core Blazor)

Display a Tree List using the HCategory Class

Display a Tree List using the ITreeNode Interface

DevExpress.ExpressApp.Blazor.Editors Namespace