Hello, I am trying to display only events belonging to one resources , then with the help of checkboxes display more resources in the scheduler , I have a very long list of resources and diplaying them all at once is not very useful , how ca I acheive this.
Thank you
Hi Lea,
Greetings from Syncfusion!!!
Please refer to the below sample that might help you to achieve your requirement.
https://ej2.syncfusion.com/demos/#/bootstrap5/schedule/add-remove-resources.html
Please check the above sample and let us know if you need any further assistance.
Regards,
Vengatesh
thank you for your quick response , is there an example for .net core
Hi Lea,
Yes. Please find the example from the below link.
Online Demo: https://ej2.syncfusion.com/aspnetcore/Schedule/AddRemoveResources#/bootstrap5
Regards,
Vengatesh
that's what I implemented the checkboxes I only have one checked but all resources are displayed
Update: I manage to show only one resource , but when I check one of the checkboxes of the resources it adds an new scheduler but without the name of the resource on the top , how to solve this
i FIXED IT THANK YOU
hello I have another question , my resources have different work days
I want apply a background color to non working days for each resource , I have done this before using onCelleRender but how can I acheive this for multiple resources , I am aware of
workDaysField property but it doesn't work for my requirement , thank you
Hi Lea,
We are happy that the checkbox with the resources-related issue is resolved.
And we recommend to track the below forum to follow the updates on your new query "background to non-working days for each resources".
https://forumassist.syncfusion.com/174509
Regards,
Vengatesh
Hello, thank you for your reply , I cannot access the link you provided .
Hello again , I manage to implement the solution you provided but it does only work if the datasource of the resources contains the full list , but as I mentioned in my previous request i need to display only one resource at the begining then add more by checkbox
Hi Lea,
Sorry for the inconvenience.
You can access the link from the below link.
And, we have prepared a sample to render only one resource at the beginning and then added functionality to add more resources by checkbox.
Please refer to the attached sample and get back to us if you need any further assistance.
Regards,
Vengatesh