Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
Hierarchy Data Binding Best Practice?
posted

Hi,

I know XamDataGrid can do hierarchy display of data.  Can anyone point me to information on how to do this? 

Senario: I'd like to bind to the xamDataGrid an observable collection of Class1, which itself has a observable collection of Class2.  Class1 and Class2 have their own properties that need to be shown as fields in the grid (Class1 fields shown at top level, Class2 fields shown at level2).  I need to be able to delay the loading of Class2 data for each Class1 object until a user expands the top level row.  Also need to be able to load second level data using paging since there could be a large number of rows at the second level.

(ideally I'd like to have DataTemplates to control what data to display at each level instead of showing all properties of the class be default)

thanks in advance.

-Houbin

 

Parents Reply Children
No Data