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

Dynamic Columns In TreeListView

3 Answers 167 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Tarik
Top achievements
Rank 1
Tarik asked on 07 Sep 2015, 09:22 AM

Hi,

I want to generate TreeListView Columns dynamically and populate them with data.

 Regards

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 07 Sep 2015, 01:55 PM
Hi Tarik,

Can you please take a look at the Various Data Sources online RadGridView demo? As RadTreeListView inherits RadGridView, the approach would be the same for both controls.

You can also check the Defining Columns topic for further reference.

Best Regards,
Stefan
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
0
Tarik
Top achievements
Rank 1
answered on 09 Sep 2015, 08:30 AM

Hi Stefan, Thanks for your quick reply, but unfortunately this not apply for our case, this is what we really need:

A tree list that contains hierarchical data, but the datacolumns are dynamic as show the image bellow.

Regards.

 

0
Stefan
Telerik team
answered on 11 Sep 2015, 03:25 PM
Hello Tarik,

A possible approach for this scenario would be to implement an attached behavior for setting the columns dynamically. You can find a demonstration of such behavior in the ComboBox Column online demo.

Hope this helps.

Best 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
Stefan
Telerik team
Tarik
Top achievements
Rank 1
Share this question
or