How to: Display Appointments in a Data Table (Grid List Editor)
This article explains how display events in a regular List View grid in XAF ASP.NET Core Blazor and Windows Forms applications.
Note
For the purposes of this article, you can use the Employee Management Demo application.
The Employee Management Demo application uses DevExpress.ExpressApp.Scheduler.Blazor.Editors.SchedulerListEditor and DevExpress.ExpressApp.Scheduler.Win.SchedulerListEditor to display Scheduler in UI. The image below shows the current Scheduler List Editor:
- ASP.NET Core Blazor

- Windows Forms

The instructions below explain how to change the List Editor type.
- In the Solution Explorer, expand the
MainDemo.Blazor.ServerorMainDemo.Winproject and double-click the Model.xafml file to open it in the Model Editor. - Depending on the ORM tool used in your application, navigate to one of the following nodes:
- Views | DevExpress.Persistent.BaseImpl.EF | Event | Event_ListView for Entity Framework Core.
- Views | DevExpress.Persistent.BaseImpl | Event | Event_ListView for XPO.
- Set the IModelListView.EditorType property to a regular List Editor value:
- DevExpress.ExpressApp.Blazor.Editors.DxGridListEditor for ASP.NET Core Blazor.
- DevExpress.ExpressApp.Win.Editors.GridListEditor for Windows Forms.
Save the changes and run the application. When you invoke the Calendar List View, it should look like this:
- ASP.NET Core Blazor

- Windows Forms

Tip
You can add an Action that allows users to switch between different List Editors. For more information, refer to the following topic: View Variants Module.