Blazor Scheduler Example - Add or Remove Resources

Scheduler / Multiple Resources / Add or Remove Resources

This demo illustrates how to dynamically add or remove resources to and from the Scheduler layout.

Loading Syncfusion Blazor Server Demos…

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

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE