TreeListBox - Auto expand on selected

Grids for WPF Forum

Posted 2 months ago by eric
Version: 19.1.0682
Avatar

Hi, 

so we are using databinding on the SelectedItem of the TreeListBox and the issue is that if a node is not expanded it will remain collapsed when one of its child is selected.

Maybe this makes sense for some scenarios, but in our case we would want to expand any of its parent and bring the selected item into view.

Is that achievable somehow?

Thanks

Comments (2)

Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Eric,

Are you sure you're on the latest 2019.1 build?  When I tried setting treeListBox.SelectedItem to a node that was collapsed by a parent, it expanded the parent and selected the desired node as expected.

If you still see the problem in the latest build, please let us know exactly how to reproduce this in one of our samples.


Actipro Software Support

Posted 2 months ago by eric
Avatar

No we are still using a 2018 build because we are close to a release and didnt want to take the risk to update.

Knowing that this is probably working in the 2019, ill give it a try as soon as we release. Thank you for the reply.

The latest build of this product (v2019.1 build 0683) was released 17 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.