Blazor Scheduler Example - Add or Remove Resources
This demo illustrates how to dynamically add or remove resources to and from the Scheduler layout.
In this demo, Scheduler is initially displayed with a single resource with its related set of appointments. When the additional checkboxes given are checked and unchecked, the respective resources are added or removed from the Scheduler layout. To add new resources dynamically, AddResource method is used, which accepts arguments such as resource object, resource name (within which level the resource object is to be added), and index (position where the resource needs to be added). To remove resources dynamically, RemoveResource method is used, which accepts the index (position from where the resource is to be removed) and resource name (within which level the resource object is present) as parameters.