Grid initialization slowdown up to 20 times (with options enabled)

3 posts, 1 answers
  1. Max
    Max avatar
    3 posts
    Member since:
    Feb 2016

    Posted 15 Aug 2018 Link to this post

    Hello,

    We have a few grids on a page with "filterable: {mode: row}" enabled. This option causes to render a single grid ~700-1000 ms, without this option it takes 10-20 times faster.

    Here is Dojo example that demonstrates the issue

     

    https://dojo.telerik.com/ebavEhos

     

    First grid filterable option enabled, the second grid option is not set.

    Below the grid, you'll see the time to init each grid.

     

    Are there any ways to improve that performance?

     

    Thanks,

    Max

  2. Answer
    Stefan
    Admin
    Stefan avatar
    3008 posts

    Posted 16 Aug 2018 Link to this post

    Hello, Max,

    Thank you for the example.

    The difference in the rendering mainly occurs because, with the row filter, the Grid is creating an AutoComplete widget for every column. In cases like this where the columns are many, it  is creating 10+ additional widgets which is causing the additional delay.

    If the performance is not acceptable we can suggest the other filter mode which will not make additional widgets on load and it will speed the performance.

    We will still make more researches if the performance with filter mode row and a large number of a column can be optimized. If there is an optimization approach we will share it here for better visibility.


    Regards,
    Stefan
    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. Max
    Max avatar
    3 posts
    Member since:
    Feb 2016

    Posted 20 Aug 2018 in reply to Stefan Link to this post

    Hi Stefan,

     

    Thank you for a response.

    Looking forward to seeing performance optimization approaches if any.

     

    Best,

    Max

Back to Top