<ScheduleResources >
<ScheduleResource @ref="scheduleGroups" TItem="GroupDataDataModel" TValue="int[]" DataSource="@GroupDateDataSource"
Field="GroupId" Title="Date" Name="Categories" TextField="DateText" IdField="Id"
GroupIDField="GroupId" ColorField="Color" AllowMultiple="false"></ScheduleResource>
</ScheduleResources>
I have grouped data, but when I change the items inside the DataSource of ScheduleResources element - it works only the first time.
- How
Hi Yordan,
The following link demonstrates how to change the DataSource of the ScheduleResource element that might help you to achieve your requirement.
Demos Sample: https://blazor.syncfusion.com/demos/scheduler/add-remove-resources?theme=bootstrap5
If the solution is not meet your requirement, kindly get back to us with the following details to proceed further and provide the solution earlier.
Regards,
Ruksar Moosa Sait
.. In the example You have provided - there is no groups, which is causing the issue as i mentioned.
I have 2 data sources - 1 for the events, and 1 for the groups.
Every time I am clearing them with
GroupDataDataSource.Clear();
and
EventDataSorurce.Clear();
then I am adding to them groups and events.
But once the groups go cleared to
The issue goes even worse, as I keep adding deleting all groups and add new ones - the items in the groups goes displaced now.
Sorry for the inconvenience.
Could you please confirm whether the issue has been resolved now?
Resolved ? By whom ?
I am still expecting to see an actual demo about my question. The demo above is not related.
Hi Yordan,
Could you please share the below details to proceed to validate and provide the prompt solution earlier?