I have two issues with the RadTreeListView control.
1)Performance sucks on the UI load for the expansion of rows with MVVM. The issue I have is I maintain the state of the collapsed and expanded nodes. Let's say my Nodes are all expanded. I set my datasource.
The control draws them all collapsed, then "pops" then expands them all. Looks like crap. i.e. I do a "refresh" on my datasource and reset the collection and all the items collapse then expand again. Looks pretty bad.
2) I spent hours trying to figure this out to no avail. I am refreshing my datasource and I tried to ways to set my selected item.
1) using the IsSelected property. Which should have been good enough since I store that value and load it with my objects. (And yes, I had the row databinding style which would have been nice if you had that supported like the IsExpandedBinding property)
2) Setting my SelectedItem property on my VM. Which is bound two way to the grid.
I set it before. I set it after the ItemSource update. I always just get the first item in the dataset to appear selected.
I am using an observablecollection for the ItemsSource.
Maybe I am missing something obvious, but the control isn't feeling very solid to me so far.
1)Performance sucks on the UI load for the expansion of rows with MVVM. The issue I have is I maintain the state of the collapsed and expanded nodes. Let's say my Nodes are all expanded. I set my datasource.
The control draws them all collapsed, then "pops" then expands them all. Looks like crap. i.e. I do a "refresh" on my datasource and reset the collection and all the items collapse then expand again. Looks pretty bad.
2) I spent hours trying to figure this out to no avail. I am refreshing my datasource and I tried to ways to set my selected item.
1) using the IsSelected property. Which should have been good enough since I store that value and load it with my objects. (And yes, I had the row databinding style which would have been nice if you had that supported like the IsExpandedBinding property)
2) Setting my SelectedItem property on my VM. Which is bound two way to the grid.
I set it before. I set it after the ItemSource update. I always just get the first item in the dataset to appear selected.
I am using an observablecollection for the ItemsSource.
Maybe I am missing something obvious, but the control isn't feeling very solid to me so far.