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
140
VirtualCollection with hierarchical data
posted

Hi, how can i work with hierarchical data in xamGrid and VirtualCollection?, I would like to load some initial data and later, when the user expands the row, fill the childs rows with a virtual collection. Is this possible? Is there a best way to do this?

Parents
No Data
Reply
  • 4666
    posted

    Hi eminieto,

    Did you try to keep both master rows and child rows in a VirtualCollection istances. If your Row has child rows it is ExpandableRow. You could listen the PropertyChanged event and when it has raised check "IsExpanded" preperty. If this property is true you could load data for child rows via Virtual Collection.

    I think this could work.

    Best!

    Mihail

Children
No Data