This question is locked. New answers and comments are not allowed.
We have bound the selected item to a property in the view model, but changing the selected item in the view model doesn't change the expanded (collapsed) tree nodes. On a callback handler we set the Nodes property and the SelectedNode property, the tree view list is bound correctly but what we are looking for is a way to expand the tree to show and focus the selected item. Is it possible?
<
RadTreeListView
ItemsSource
=
"{Binding Nodes}"
SelectedItem
=
"{Binding SelectedNode}"
/>
public
class
ViewModel
{
//Properties raise property changed event
public
IEnumerable<Node> Nodes {
get
;
set
; }
public
Node SelectedNode {
get
;
set
; }
private
void
LoadComplete(Response response)
{
this
.Nodes = response.Nodes;
this
.SelectedNode = response.SelectedNode;
}
}