Grid change event fired after 1 sec

4 posts, 0 answers
  1. Eurotracs
    Eurotracs avatar
    19 posts
    Member since:
    Mar 2010

    Posted 20 Sep 2018 Link to this post

    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

  2. Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    1081 posts

    Posted 24 Sep 2018 Link to this post

    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.
  3. Eurotracs
    Eurotracs avatar
    19 posts
    Member since:
    Mar 2010

    Posted 25 Sep 2018 in reply to Alex Hajigeorgieva Link to this post

    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 

  4. Alex Hajigeorgieva
    Admin
    Alex Hajigeorgieva avatar
    1081 posts

    Posted 26 Sep 2018 Link to this post

    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.
Back to Top