This is a migrated thread and some comments may be shown as answers.

How to expand row when user click on cell item.

1 Answer 56 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Casey
Top achievements
Rank 1
Casey asked on 03 Feb 2020, 08:20 AM

Hi,

How to expand row when user click on cell item in tree list.

please update below stackblitz demo .

https://stackblitz.com/edit/angular-ez48xs

Is there any feature available to row drag and drop for row  re-ordering ?

 

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 04 Feb 2020, 01:11 PM

Hi Casey,

Thank you for the provided screenshot.

Indeed, at the moment the TreeList component misses dedicated expandRow and collapseRow functions that would allow to achieve that behavior as the TreeList is still in a Beta version. Thus I logged a new public Feature Request item:

https://feedback.telerik.com/kendo-angular-ui/1452198-provide-expandrow-collapserow-methods

that will allow other clients to vote for it as well and will help us to track the demand for it and eventually add the required methods to our future development plans.

In the mean time, what could be done is to handle the (cellClick) event and programmatically click the icon containing the expand/collapse image. Please check the following example demonstrating such implementation:

https://stackblitz.com/edit/angular-prfr8u?file=app/app.component.ts

I hope the provided information helps.

Regards,
Svetlin
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
TreeList
Asked by
Casey
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or