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
173
Row Expanded and Row Collapsed event
posted

For Hierarchical Data display is it possible to catch Row Expanded and Row Collapsed event? I want to do lazy loading for the child records. On these events I would like to fetch the data and dynamically add to the source. Please help.

Parents
No Data
Reply
  • 45049
    posted

    I haven't tried this myself.  I would use the RecordExpanding event of the XamDataGrid to load child data for that parent record into the data source.  I would avoid removing it, but if I had to do so, I'd do it in the RecordCollapsed event.

Children
No Data