Filter TreeView

0 Answers 209 Views
TreeView
Martin Herløv
Top achievements
Rank 2
Bronze
Iron
Iron
Martin Herløv asked on 04 Nov 2021, 08:28 AM

Hi I would like to make a better filter function for the TreeView. Some of the features I would like are.

  • Expand all nodes that are found
  • Highlight them
  • Maybe only high light the text that are found

 

Has any one created such a function?

Marin Bratanov
Telerik team
commented on 06 Nov 2021, 12:35 PM

Martin, all of these are possible already:

- expanding nodes can be done with the ExpandedField of the data right now, but a better way though a collection is coming through this enhancement

- highlighting is possible through selection

- highlighting certain text is an application-level feature that can be done with the item template

Ultimately, all three are part of the business logic of the app and need to be implemented in the application code.

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Martin Herløv
Top achievements
Rank 2
Bronze
Iron
Iron
Share this question
or