Completed
Last Updated: 06 Jun 2022 06:16 by ADMIN
Release 3.1.0
Ivan
Created on: 15 Nov 2021 21:27
Category: Gantt
Type: Feature Request
3
Managing expand/collapse state for tasks

By default, all nested tasks are displayed expanded.
The state of the root task is always the most important, so it makes more sense to display tasks minimized by default.
The user can always expand the required task for details.
The solution is to support the "IsExpanded" property for the task model.
When a property changes, the task changes its state.
For the component, also add the "ExpandAll" and "CollapseAll" methods that affect all tasks in the list.


5 comments
ADMIN
Svetoslav Dimitrov
Posted on: 06 Jun 2022 06:16

Hello Rene,

With this feature request, we added the OnExpand and OnCollapse events. To expand and collapse the items programmatically, you can refer to the Persist State feature request. It is planned for our 3.5.0 release. 

Regards,
Svetoslav Dimitrov
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.

René
Posted on: 30 May 2022 13:56
How has this been completed with Release 3.1.0 ?  Can you please provide the code for collapsing all  groups!
Benoit
Posted on: 25 Mar 2022 14:24
A workaround is to use a @ref to get the component, then it have a reference to the TelerikTreeList inside it, and then to play with the OnStateInit event like with any other TelerikList.
ADMIN
Svetoslav Dimitrov
Posted on: 23 Mar 2022 12:40

Hello Karsten,

The feature of expanding or collapsing items programmatically would be available once the Persist state feature is implemented. Currently, with that feature request, we have added the OnExpand and OnCollapse events which would allow you to execute business logic once the user expands or collapses a task in the Gantt. I have added your Vote for the Persist state feature and you can click the follow button to receive email notifications on status updates. 

Regards,
Svetoslav Dimitrov
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.

n/a
Posted on: 17 Mar 2022 08:33

Hello,

so it is no possible to collapse all Tasks on start? Ho would i do that? i found nothing in the documentation besides the OnCollapse event. 

Greeting Marcel