Completed
Last Updated: 27 Oct 2020 06:32 by ADMIN
Release 2.18.0
Jurgen
Created on: 23 Aug 2020 08:12
Category: TreeList
Type: Feature Request
5
Control the expanded/collapsed state of treelist items

I would like to start the tree grid with all rows collapsed. At the moment I can do this only through load on demand.

*** Thread created by admin on customer behalf ***

3 comments
ADMIN
Svetoslav Dimitrov
Posted on: 27 Oct 2020 06:32

Hello Al,

You can see an example of how to collapse and expand the items from code from our documentation.

Regards,
Svetoslav Dimitrov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

MaslovRG
Posted on: 27 Oct 2020 05:46

>Release 2.18.0

So, I installed this version. How can I control state of items?

ADMIN
Marin Bratanov
Posted on: 24 Sep 2020 16:50

Hello,

I am attaching to the end of this post a potential workaround that can help start a treelist with all items expanded - to see this work select one item from the treelist, click the button below it to see the second treelist populate with some data.

This is not a feature yet, it relies on re-rendering the treelist by toggling its visibility with an if-block, and that having all data items with hierarchical binding will start them expanded at the moment. Such a workaround should be replaced with a real feature when it becomes available and I cannot guarantee it will work in all cases.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Attached Files: