TreeListBox - Auto expand on selected

Grids for WPF Forum

Posted 5 years 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 5 years 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 5 years 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 (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.