Child nodes are not displaying.

2 posts, 0 answers
  1. Rakesh
    Rakesh avatar
    2 posts
    Member since:
    Feb 2011

    Posted 12 Feb 2011 Link to this post

    Hi,

    I am using the RadTreeListView  and i am binding the itemsource to Collectionobject of my viewmodel.
    but i am binding the ChildTableDefinitions to diiferent collection item (here Items) but its only showing the parent nodes not its child nodes.
    Please let me know what can be done.


    Thanks,
    Rakesh K

    For ex :
    public class WarehouseItem
    {
       
    public WarehouseItem( string name, int count )
       {
           
    this.Name = name;
           
    this.Count = count;
           
    this.Items = new ObservableCollection<WarehouseItem>();
       }
       
    public string Name
       {
           get;
           set;
       }
       
    public ObservableCollection<ContainerItems> Items
       {
           get;
           set;
       }
       
    public int Count
       {
           get;
           set;
       }
    }

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 16 Feb 2011 Link to this post

    Hello,

     Can you post more info how exactly you've bound the child hierarchy to your property?

    Kind regards,
    Vlad
    the Telerik team
  3. DevCraft banner
Back to Top