Welcome to the Xceed Community | Help
Community Search  

How to display nested business objects in Xceed data grid

Sort Posts: Previous Next
  •  08-07-2008, 5:35 PM Post no. 13955

    How to display nested business objects in Xceed data grid

    Here is my problem...

    In one of my WPF app I am exposing ObservableCollection of my business object which has further ObservableCollection collection of sub objects like

    ObservableCollection<Object1> Objects1
    ----------------------------------------------------->ObservableCollection<Object2> Objects2
    ------------------------------------------------------------>ObservableCollection<Object3> Objects3
    ----------------------------------------------------------------->ObservableCollection<object4> Objects4


    Now the above object is displayed in treeview where it works great but on the side where I want to acess and display a grid using the same exposed dataContext, I am not able to get the display working inside the Xceed

    I am trying to get access the object inside grid as ItemsSource="{Binding Path=Objects1.CurrentItem.Objects2.CurrentItem.Objects3

    Kindly advice whether this is a right way or do we have to use some other mechanism.
    Filed under:
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.