Substantial Lag in Displaying Edit Dialog Box

Hello,

I've tried running the code in the tutorial: https://blazor.syncfusion.com/documentation/datagrid/editing/#dialog

However, I noticed that there's a substantial lag in both the first & subsequent loads of the Dialog Box, though the subsequent loads are faster. I've done some simple performance profiling using Chrome Devtools and have attached the following images for your reference.

In delay_first.png, I clicked the "Add" button at ~1100ms, and it only appeared after ~3600ms. Total duration: ~2500ms
In delay_subsequent.png, I clicked the "Add" button at ~1800ms, and it only appeared after ~2550ms. Total duration: ~750ms

I would have thought that displaying an empty Dialog Box should be rather immediate, is this an issue?

Thank you!

Attachment: datagrid_delay_71f6a4a3.zip

3 Replies 1 reply marked as answer

RN Rahul Narayanasamy Syncfusion Team July 16, 2020 02:30 PM UTC

Hi Zhi, 

Greetings from Syncfusion. 

Query: Substantial Lag in Displaying Edit Dialog Box 

We have validated your query with the provided information and we are able to reproduce the problem. The reported delay was due to the dynamic scripts loading occurs at the initial rendering of the dialog. And we are able to see that there is subsequent opening also have some noticeable delay. 

We have considered an improvement task “Improve Grid performance in wasm application” for this problem. We have planned to implement this and include this feature improvement in our upcoming Volume 3, 2020 main release.  
  
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.   
 

Please get back to us if you need further assistance. 

Regards, 
Rahul 



ZY Zhi Yuan October 2, 2020 01:32 PM UTC

Hello,

I've tried using the new Volume 3 release but noticed that this problem still exists. Any updates on this issue?

Thank you!


RN Rahul Narayanasamy Syncfusion Team October 14, 2020 11:23 AM UTC

Hi Zhi, 

Sorry for the delay in get back to you. 

We have checked the reported problem in .Net 5.0 RC1 and latest Syncfusion NuGet version (18.3.0.40). The reported delay was reduced and it will open without any noticeable delay. For your reference we have prepared the below sample and video. 



Please let us know if you have any concerns. 

Regards, 
Rahul 


Marked as answer
Loader.
Up arrow icon