Scheduler with resources breaks when removing grouping

Hi i have a scheduler based on your example for shared resources at https://blazor.syncfusion.com/demos/scheduler/shared-events?theme=bootstrap4

If i try to remove the grouping line "<ScheduleGroup EnableCompactView="false" AllowGroupEdit="true"  Resources="@GroupData"></ScheduleGroup>"
then the calendar fails. I i try to add an appointment then it throws an error "Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Syncfusion.Blazor.Schedule.SfSchedule`1[[FlexRecord.Shared.Models.AppointmentData, FlexRecord.Shared, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].ResourceColor(AppointmentData`1 eventData)"

What i am trying to do is give the option to the user to choose whether to group or not.
So if i leave the group line in and try to set the resources attribute to "" then it also throws an error. It seems that it has to have a grouping name. So i cannot set it to null or blank to remove the grouping.
Using latest version as of today.

Thanks

2 Replies 1 reply marked as answer

PN Praveenkumar Narasimhanaidu Syncfusion Team April 7, 2021 05:03 PM UTC

Hi Fergus, 

Greetings from Syncfusion support..! 

We have validated your reported issue “scheduler with resource breaks when removing grouping” and confirm this as defect at our end. We have logged bug report which can be trackable from the below feedback link. The fix for this defect will be included in our weekly patch release scheduled on April 20,2021. We will provide you further details on April 21 and would appreciate your valuable patience until then. 


Please get back to us if you need any further assistance. 

Regards, 
Praveenkumar. 



PN Praveenkumar Narasimhanaidu Syncfusion Team April 22, 2021 05:49 PM UTC

Hi Fergus, 

Thanks for being patience. 

We are glad to announce that our weekly patch release v19.1.0.57 is rolled out successfully. In this release, the reported defect “scheduler with resource break when remove grouping” has been resolved at our end. So, we suggest you upgrade our Syncfusion nuget to our latest version to avail this fix.  
 

Regards, 
Praveenkumar 


Marked as answer
Loader.
Up arrow icon