Tree list View Child element

2 posts, 0 answers
  1. Momi
    Momi avatar
    2 posts
    Member since:
    Mar 2015

    Posted 08 Apr 2015 Link to this post

    I am using telerik tree list View i defined properties of parent elements like this

                            <telerik:GridViewDataColumn DataMemberBinding="{Binding TransactionDate, Mode=OneWay}"
                                  Header="Year" Width="110" IsFilterable="False"/>
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding StartingBalance}"
                                Header="Starting Balance" Width="100" IsFilterable="False"/>
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding TransferIn}"
                                Header="TransferIn"  Width="70" IsFilterable="False"/>
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding TransferOut}"
                                Header="TransferOut"  Width="80" IsFilterable="False"/>
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding EndingBalance}"
                                Header="Ending Balance"  Width="98" IsFilterable="False"/>

    how can i define the child elements properties separately in the code below

                            <telerik:TreeListViewTableDefinition ItemsSource="{Binding Items}"/>

  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 10 Apr 2015 Link to this post

    Hello Momi,

    RadTreeListView does not allow different setup for columns displayed in hierarchy.

    Your bound object should have a hierarchical Items collection defined with the same structure. You can check our online documentation on how RadTreeListView works.You can also refer to RadTreeListView's examples available with WPF Demos.

    Please keep in mind using the RadTreeListView for displaying only a homogeneous data.


    See What's Next in App Development. Register for TelerikNEXT.

Back to Top