Does tree list component of react ui library supports column selection?

1 Answer 83 Views
TreeList
Amol
Top achievements
Rank 1
Amol asked on 27 Apr 2022, 07:02 AM
I have a requirement to select multiple columns on the tree list. Is there a feature in the existing tree list component of React UI Library?

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 27 Apr 2022, 03:06 PM

Hello Amol,

Thank you for reaching out to us.

The KendoReact TreeList component supports cell and row select. It also supports drag-to-select option. Detailed information on the TreeList selection can be found in the following help article:

Selecting entire column for all items is currently not supported, but it should be possible to implement custom functionality that can handle the click event of the header cells for example and add the cell index to the column along with the data item key field to the selectedState. 

I have created a simple example with an external button that selects an entire column:

You can use the example as a reference for implementing the custom column selection.

Hope this helps.

 

Regards,
Konstantin Dikov
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/.

Tags
TreeList
Asked by
Amol
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or