DxGridListEditor Class
List Editor that can be used in XAF ASP.NET Core Blazor applications to display List Views in a UI.
Namespace: DevExpress.ExpressApp.Blazor.Editors
Assembly: DevExpress.ExpressApp.Blazor.v24.1.dll
NuGet Package: DevExpress.ExpressApp.Blazor
Declaration
public class DxGridListEditor :
ColumnsListEditor,
IComplexListEditor,
IConfirmationRequestClient,
IControlOrderProvider,
IOrderProvider,
IDxGridLayoutChangedHolder,
IDxGridValidation,
IExportable,
IGridEditingLifeCycle,
ISupportAppearanceCustomization,
ISupportEnabledCustomization,
ISupportNewItemRowPosition,
ISupportUpdate,
ISupportFilterEditorEditor,
ISupportInlineActions,
ISupportContextMenuActions,
IAccessor<IExceptionHandlerService>,
IComponentContentHolder
Remarks
List Views use List Editors to display object collections in a UI. The DxGridListEditor
displays data in a table:
To display object collections, the DxGridListEditor
uses an instance of the DxGrid class.
Features include:
- Client and Server mode for XPO and EF Core
- Data editing
- Protected content placeholders for secured data rows
- Property editors as cell templates
- Grouping, sorting, and filtering
- Group and total summaries
- Save layout settings in the Application Model
- Selection API
- Context-dependent menu toolbar
- Conditional appearance for cells
- Column resizing
- Column chooser
The DxGridListEditor
does not support the following features:
- ServerView, InstantFeedback, InstantFeedbackView, DataView, and Queryable modes
- Best fit column width
Enable the DxGridListEditor
The DxGridListEditor
is enabled by default for v22.1+ projects.
DxGridListEditor in a Project Upgraded from Older Versions
If you updated your project from v21.2 or earlier, do the following:
Open the Model.xafml file from the Blazor module project. In the Model Editor, go to ApplicationName | Views. Set the
DefaultListEditor
property toDevExpress.ExpressApp.Blazor.Editors.DxGridListEditor
.If you enabled the
DxGridListEditor
manually in v21.2, remove the corresponding code from your application. In order to see this code, use the selector at the top of this page to switch to the V21.2 documentation version.If you edited
DxGridListEditor
model properties, update your code according to the following tutorial: How to: Access the Grid Component in a List View.