CustomGrouping is used to group the schedule appointments based on the resources you select. By using the CustomGrouping, you can add the same appointment for multiple resources simultaneously. This article explains about how to group the appointments based on the resources.
In the above code, two types of resources are used.
Note: In the above code example, the value of the DayHeaderOrder property is OrderByDate that is used to display multiple resources in each day. You can also set the OrderByResouce value for the same property where each Resource displays the schedule appointments in all the week days.
NOTE: In the above code example, in GetFilterCollection method both the resources, TV and Program are added in a same appointment by using the ResourceCollection property. When the resource of the schedule is changed to any other type, the same appointment is used to display.
Note: For an example, when the resource name is FootBall, then the appointments are related to football.
The following screenshots display the schedule appointments based on the resource type.
Figure 1: Appointments based on resource type of Television (in week view)
Figure 2: Filtered Appointments in the resource type of Programs (in week view)
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.