3rd Level of Hierarchical issue in KendoTreeList control. version(2017.1.223.545)

1 Answer 13 Views
Data Source TreeList
Muhammad
Top achievements
Rank 1
Muhammad asked on 11 May 2022, 10:35 AM

I'm using a kendoTreeList control initializing via javaScript we are providing complete hierarchy of data in control data source property.

It has been observed when data is having third level of hierarchy, we are facing a rendering issue(taking too much time) while it is working fine 1 or 2nd level.

how can we handle this issue if we are not using lazy-loading and on-demand loading.

Need suggestions how to improve Performance for TreeList Rendering.

1 Answer, 1 is accepted

Sort by
0
Georgi Denchev
Telerik team
answered on 16 May 2022, 07:15 AM

Hello, Muhammad,

The performance of the TreeList depends on multiple factors.

The most important once are:

  • Number of columns
  • Number of rows
  • Number of column templates
  • Logic in column templates

The more elements in the DOM, the worse the performance will be. If your configuration includes one of the above, then using on-demand loading will be the only way to go.

Aside from that, if you are using paging then try reducing the pageSize in the dataSource.

If you're not using paging, then try to enable the option and see if it makes a difference.

Would it be possible for you to provide me with a sample of your code and let me know how many rows/columns you have so I can see if there's anything else I can suggest?

Best Regards,
Georgi Denchev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Muhammad
Top achievements
Rank 1
commented on 16 May 2022, 01:20 PM

Thank you for your kind reply, 
I've attached screenshot of the data you can see in my post.

seems like pagination is a good fit in order to improve performance and overcome rendering issue.

Tags
Data Source TreeList
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Georgi Denchev
Telerik team
Share this question
or