This is a migrated thread and some comments may be shown as answers.

RadTreeListView with dynamic columns

2 Answers 157 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Tarik
Top achievements
Rank 1
Tarik asked on 21 Oct 2015, 02:37 PM

Hi,
We need to implement a TreeListView with dynamic columns, in order to show kind of "pivot table". We have tried this code but without result, the TreeListView don't recognize the items object to show data in hierarchical format. the component show only the first level however data are correctly loaded (when we use the same ObservableCollection "DataSource" as ItemsSource of a simple TreeView the hierarchy is correctly shown).

Tks.

2 Answers, 1 is accepted

Sort by
0
Tarik
Top achievements
Rank 1
answered on 26 Oct 2015, 09:58 AM
is there a solution plz ?
0
Stefan
Telerik team
answered on 26 Oct 2015, 02:07 PM
Hi Tarik,

After reviewing your code, I noticed that the hierarchy collection is defined as a CLR property of the DynamicObject. Would it be possible for you to try defining it as a dynamic one instead, as in the code snippet below, and let me know how it goes?
row["Items"] = listChildrens;

Regards,
Stefan X1
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
TreeListView
Asked by
Tarik
Top achievements
Rank 1
Answers by
Tarik
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or