RadTreeListView with dynamic columns

3 posts, 0 answers
  1. Tarik
    Tarik avatar
    12 posts
    Member since:
    May 2015

    Posted 21 Oct 2015 Link to this post

    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. Tarik
    Tarik avatar
    12 posts
    Member since:
    May 2015

    Posted 26 Oct 2015 Link to this post

    is there a solution plz ?
  3. UI for WPF is Visual Studio 2017 Ready
  4. Stefan X1
    Admin
    Stefan X1 avatar
    521 posts

    Posted 26 Oct 2015 Link to this post

    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
Back to Top