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
40
XamTreeGrid - Load data on demand
posted

Hello,

I use the XamTreeGrid Control in my project. 

I would like to load children when I expand the node parent.

I saw no property or method that allow myself to doing this.

For example the TreeView Control have a event that can do this : TreeViewItem.Expanded="SearchTreeView_Expanded"

Do you have a solution ?

Thank you

Parents
No Data
Reply
  • 1935
    Verified Answer
    posted

    Hi pierrick bellarbre,

    You could hook up to the RecordExpanding and RecordExpanded events and add your logic for loading child records when expanding a parent record.

    I have created a sample project for you so you could have a look.

    Please let me know if you have any other concerns on this matter.

    ExpandChild.zip
Children