display default resource events ( resources grouping)

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


9 Replies 1 reply marked as answer

VM Vengatesh Maniraj Syncfusion Team April 19, 2022 07:12 AM UTC

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 



LA lamia April 19, 2022 07:15 AM UTC

thank you for your quick response , is there an example for .net core



VM Vengatesh Maniraj Syncfusion Team April 19, 2022 07:18 AM UTC


Marked as answer

LA lamia April 19, 2022 10:00 AM UTC

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




LA lamia April 19, 2022 11:40 AM UTC

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 



VM Vengatesh Maniraj Syncfusion Team replied to lamia lalilis April 20, 2022 10:14 AM UTC

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 




LA lamia April 20, 2022 11:04 AM UTC

Hello, thank you for your reply , I cannot access the link you provided .



LA lamia April 20, 2022 01:33 PM UTC

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



VM Vengatesh Maniraj Syncfusion Team replied to lamia lalilis April 21, 2022 12:03 PM UTC

Hi Lea,


Sorry for the inconvenience.


You can access the link from the below link.

https://www.syncfusion.com/forums/174509/background-color-tonon-workingdaysfor-each-resource-from-174469


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 


Attachment: Core_Schedule_525b4f90.zip

Loader.
Up arrow icon