This is a migrated thread and some comments may be shown as answers.

Grid change event fired after 1 sec

3 Answers 215 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eurotracs
Top achievements
Rank 1
Eurotracs asked on 20 Sep 2018, 09:08 AM

In my grid, (30-40 columns / 200-300 rows)

When I select a row, it tooks approximately 1 second before the change event is fired and the new row is visually selected.

After the change event, our custom code is executed. In the callstack, only kendo and jQuery files are mentioned.

 

When I load less data (20 rows) in the grid, the event fires faster.

 

What are the possible reasons of the delay?

Are there other events that are fired before?

 

Thanks in advance

3 Answers, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 24 Sep 2018, 08:04 AM
Hello,

Dependent on the functionality that the Kendo UI Grid has (e.g. selectable, navigatable, groupable, editors in the column templates), there may be some performance issues. Internet Explorer is particularly the one that clients report as causing issues. Here is a similar forum thread which mentions the same behaviour:

https://www.telerik.com/forums/ie11-selection-slow-performance-250-rows 

If you are able to share a little more of the exact implementation, I can check if there is anything else that may be slowing the performance down. Can you share the grid configuration and any custom handlers as well as which browser causes poor performance?

Finally, we have published a blog post earlier this year that you may find useful on the Kendo UI Grid performance at:

https://www.telerik.com/blogs/how-to-get-the-best-grid-performance

In case you are not able to apply the suggestions in the article, you could do some browser sniffing and handle mouse down events on the grid to execute your custom logic instead.

Let me know if this suggestion is applicable, if not please provide some more details on the desired outcome.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Eurotracs
Top achievements
Rank 1
answered on 25 Sep 2018, 10:27 AM

Alex, 

I've read the blogpost "How to Get the Best Grid Performance" and we've made al the mentioned mistakes! :)

800 rows with 140 column (mostly hidden but that makes no difference). 

If we reduce that number, the grid will work faster and better.

I know what to do!

 

Thanks 

0
Alex Hajigeorgieva
Telerik team
answered on 26 Sep 2018, 06:50 AM
Hello,

I am pleased to hear the blog post was helpful.

I let my colleague Konstantin(blog author) know that he did hit the nail on the head by outlining the most frequent performance killers.

Thank you for sharing your feedback!

Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Eurotracs
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Eurotracs
Top achievements
Rank 1
Share this question
or