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

How to search items in TreeListView when UI Virtualization is enabled.

0 Answers 85 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
koala
Top achievements
Rank 1
koala asked on 04 Dec 2017, 03:51 PM

I have a RadTreeListView with many rows. I am using UI Virtualization. I use the filter and sort functions in the header of the grid. RadTreeListView.ItemsSource is binding MyTreeViewModel.Items.

Now I want to implement a "search", "search next" and "search previous" function. In many text editors you can do that with F3.

If I search in RadTreeListView.Items there are only expanded items and items that are not virtualized.

If I search in MyTreeViewModel.Items and the grid is sorted and filtered I get too many items and the sorting of the items is wrong.

How can I implement a proper "search next" Funktion?
Is there a sorted, filtered and non virtualized collection between MyTreeViewModel.Items and RadTreeListView.Items?

No answers yet. Maybe you can help?

Tags
TreeListView
Asked by
koala
Top achievements
Rank 1
Share this question
or