Scheduler, with triple-level resources, is slow to render.

Hello,

I am implementing a Scheduler that has 3 levels of Resources (check image) and it takes a while to render.
My example has around 100 appointments, which I think should not slow the component that much.
Is there a specific way that I should be loading the data?

The three level Resources:


The Schedule component:


Feel free to ask for more information.

Thank you.

4 Replies 1 reply marked as answer

LL Leonardo Lo Turco Fiao August 25, 2020 03:32 PM UTC

Hello,

One thing I did in the meantime was adding the VirtualScrolling to the ScheduleView.
But that adds another issue which is that every time I open/close a fold in the resources the Appointments are rendered.
They disappear for an instant (the more objects there are the more time it takes) and then reappear.

Is there a way to fix this? Shouldn't only the new data being shown (from the newly collapsed child resources for example) be actually rendered? Instead of everything.

Best regards


RV Ravikumar Venkatesan Syncfusion Team August 27, 2020 03:15 PM UTC

Hi Leonardo, 

Sorry for the delay. 

We have validated your reported query “Scheduler, with triple-level resources, is slow to render” at our end. Based on your query we suspect that your problem is the appointment has taking more time to render. Based on your shared snip we have prepared a sample and checked your reported issue at our end and the appointment rendering takes a reasonable time to render 100 appointments with the three-level resources. 


Since we are not clear out your last update, could you please share with us the below details to serve you better. 

  1. Issue reproducing steps
  2. Video demo of the issue or
  3. Replicate the issue in the above sample.

The requested details helps us to validate the issue quickly and provide the prompt solution as soon as possible. We are waiting to hear from you. 

Regards, 
Ravikumar Venkatesan 



LL Leonardo Lo Turco Fiao August 27, 2020 05:04 PM UTC

Hi Ravikumar,

Thank you for the help.
I should have mentioned that I have around 300/400 appointments right now and this value will surely go up in the future.

For the update:
  • I added VirtualScrolling which fixed the slow initial load.
  • The issue now is that when Expanding the last level, Owners in the example, the Appointments in Rooms are also rendered again. They basically disappear and reappear again. In my mind this should not happen since they are already on the screen.
I attached the Sample with VirtualScrolling enabled and some more Appointments.
When you expand Room 2, you can see the issue, the appointments in Hotel 2 are rendered again.

Attachment: UpdatedWithVirtualScrolling_63077885.zip


RV Ravikumar Venkatesan Syncfusion Team August 28, 2020 03:18 PM UTC

Hi Leonardo, 
  
Thanks for the update. 
  
We have validated your reported query “appointments are disappear and reappear again” at our end. We are able to reproduce the issue that you have reported. We had logged the defect report at our end and the fix will be included in our weekly patch release which is scheduled to be rolled out by September 9, 2020. You can track this defect status in the below feedback link. We appreciate your patience. 
  
  
Please get back to us if you need any further assistance.  
  
Regards,  
Ravikumar Venkatesan 


Marked as answer
Loader.
Up arrow icon