Skip to main content
A newer version of this page is available. .
All docs
V21.2
.NET 5.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

DxGridListEditor Class

[CTP] List Editor that can be used in XAF ASP.NET Core Blazor UI applications to display List Views in a UI.

Namespace: DevExpress.ExpressApp.Blazor.Editors

Assembly: DevExpress.ExpressApp.Blazor.v21.2.dll

NuGet Package: DevExpress.ExpressApp.Blazor

Declaration

public class DxGridListEditor :
    ColumnsListEditor,
    IComplexListEditor,
    IDxGridLayoutChangedHolder,
    ISupportUpdate,
    ISupportAppearanceCustomization

Remarks

List Views use List Editors to display object collections in a UI. The DxGridListEditor (Community Technology Preview) displays data in a table:

DxGridListEditor OverView

To display object collections, the DxGridListEditor uses an instance of the DxGrid class.

Features include:

  • Client Mode for XPO.
  • Protected Content Placeholders for Secured Data Rows.
  • Property Editors as Cell Templates.
  • Grouping, Sorting, Filtering.
  • Group and Total Summaries.
  • Save layout settings in the Application Model.
  • Selection API.
  • Context-dependent Menu Toolbar.
  • Conditional appearance for cells.

The DxGridListEditor does not support the following features:

Enable the DxGridListEditor

The code sample below demonstrates how to enable the DxGridListEditor instead of the GridListEditor in your XAF Blazor application.

Add the following code to the MySolution.Module.Blazor/BlazorModule.cs file:

// ...
using DevExpress.ExpressApp.Blazor.Editors;
using DevExpress.ExpressApp.Utils;

namespace MySolution.Module.Blazor {
    [ToolboxItemFilter("Xaf.Platform.Blazor")]
    public sealed partial class MySolutionBlazorModule : ModuleBase {
        // ...
        public MySolutionBlazorModule() {
            InitializeComponent();
            DataAccessModeHelper.RegisterEditorSupportedModes(
                typeof(DxGridListEditor), 
                new List<CollectionSourceDataAccessMode>() {
                    CollectionSourceDataAccessMode.Client
                }
            );
        }
        protected override void RegisterEditorDescriptors(EditorDescriptorsFactory editorDescriptorsFactory) {
            base.RegisterEditorDescriptors(editorDescriptorsFactory);
            editorDescriptorsFactory.RegisterListEditor(
                EditorAliases.GridListEditor, 
                typeof(object), 
                typeof(DxGridListEditor), 
                true
            );
        }
        // ...
    }
}

Inheritance

See Also