Actually there are a couple of issues here.
- No search panel available for the TreeListView :-( Setting ShowSearchPanel = true does nothing.
------------------------------------------------
I am running issues with hierarchy items that are expanded while not visible.
We are using the IsExpandedBinding property which is binding okay, and our data item implements INotifyPropertyChanged. When you set a node's IsExpanded property, it also recursively set's its parent's IsExpanded property to match.
--------------------------------------------------
- ScrollIntoView(item) doesn't work with items which were expanded but never visible. No scroll happens. ScrollIntoView works with items that were previously or currently visible. ScrollIntoView(item,true) and the ScrollIntoViewAsync() methods do no better.
I managed to get better results by Scrolling to the item's root, then recursively using ScrollIntoView() on the root to item path.
ex:
A
B
C
Doing ScrollIntoView(A), then ScrollIntoView(B), then ScrollIntoView(C) gives better results
But item C is just below the bottom of the grid. Item B is at the bottom. This is kind of a 'one off' problem.
----------------------------------------------------
- Setting SelectedItem isn't working for items recently expanded but never visible.
SelectedItem works ok if the item is visible, or was previously visible.
--------------------------
I think these problems are happening because when you expand an item while not visible, it does not get into the TreeListView items property until it becomes visible. ExpandHierarchyItem() does not help.
Is there something we can do to help get these newly expanded (but not visible) nodes into the TreeListViews tracked items? (I assume this is the grid.Items collection)