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
1140
example needed
posted

Hi guys, I need a "code behind" sample of how to create a hiarchical grid 3 layers and the third layer binds to one of those bindable thingies EntityQuery<sometable>

So I have the first layer bound to a single row, that drives a datarequest for the next row when expanded, which drives 1 more datarequest for a table.

I can send my whole project if you want, but it's using sql 2012 for the db backend.

Joe

Parents
  • 17559
    Verified Answer
    posted

    Hello Joe,

     

    I have been looking into your question and I can suggest you initially crate an empty model of data tables and assign them to the XamDataGrid. This way you can initially populate only the data from the first layout.  The  you can set the ExpansionIndicatorDisplayMode="Always"  in the FieldLayoutSettings, so the expansion indicator will be visible all the time and you can handle the RecordExpanding event of XamDataGrid. In the handler of this event you can manually add the data for the second level by populating the child table.

     

    If you need any additional assistance with this matter please feel free to ask.

Reply Children