I have 2 resource lists of 2 different types and I was hoping to add them both to the same scheduler instance. However, this renders no resources at all. It does work when I add one or the other or when I set one as parent resources for grouping (see attached screenshots and code sample)
NRNevitha Ravi Syncfusion Team April 18, 2019 01:16 AM
Greetings from Syncfusion Support.
We have checked your code snippet in which you haven’t mapped GroupIDField to Equipments which will result no resources in the scheduler. Kindly follow any of the following ways to render scheduler with defined resources.
Map GroupIDField to Equipments which will result Equipments as child resources and FieldUsers as parent resources as depicted in the following online sample.
If you need all the resources both FieldUsers and Equipments as single level resources remove the two levels in Resources options under Group property and provide all the resources in same dataSource as in the following online demo.
Kindly try out the ways and revert us back if the above solution doesn’t resolve your problems to check further.
JJJuan JiminezApril 18, 2019 10:21 AM
I was hoping to be able to use 2 different data-sources as a single level but I think I can get around with a single datasource by adding some prefix to the id and convert it back and forth.
Thanks for the options though.
NRNevitha Ravi Syncfusion Team April 19, 2019 02:24 AM
Thanks for your update.
We have to pass single dataSource to have single-level resource. Please check by adding prefix to the id and pass it as single dataSource at your end and revert us back if you need any further assistance.