resources property
The collection of resource to be displayed in the timeline views of
SfCalendar
.
Defaults to null
.
See also:
CalendarResource
, the object to hold the data for the resource in the calendar.appointments
, to set and handle the resource collection to theSfCalendar
.TimeRegion
, the object to hold the data for the special time region in the calendar.SfCalendar.resourceViewHeaderBuilder
, to set custom widget for the resource view in the calendar.resourceViewSettings
, to customize the resource view in the calendar.- Knowledge base: How to add resources
- Knowledge base: How to handle appointments for multiple resources
- Knowledge base: How to customize the resource view
- Knowledge base: How to add appointment for the selected resources using appointment editor
class AppointmentDataSource extends CalendarDataSourceResource {
AppointmentDataSource(List<Appointment> appointments,
List<CalendarResource> resources) {
resources = resources;
appointments = appointments;
}
}
Implementation
List<CalendarResource>? resources;