Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to display appointments in Agenda View by using the ASPxGridView component

$
0
0

In fact, the Agenda view is a list of upcoming events grouped by an appointment's date. This list can be displayed in ASPxGridView

This example demonstrates how to implement this behavior.

 

For demonstration purposes, we also show resources to which appointments belong. The resources are located in ASPxCardView. Since multi-day appointments should be displayed as several ASPxGridView rows (such appointments should be displayed in each "Day" group in accordance with the appointment's duration), we use a separate AgendaAppointment class to store the appointment's data.

To get existing appointments from the ASPxScheduler's scheduler storage and generate a corresponding collection of AgendaAppointment instances, the SchedulerStorage.GetAppointments method is used.

By default, a month interval is used to fetch appointments for the AgendaView.

Please see the "Implementation Details" (click the corresponding link below this text) to learn more about technical aspects of this approach implementation.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>