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
425
master-detail UltraWinGrids + object binding
posted

Hi

I have two UltraWinGrids with 2 different object bind datasource, they are master-detail relationship, however, I dont know how to realize their relation in code.

I find a class call DataRelation on internet, but I am guessing it is only suitable if I use dataset, or datatable for binding method.

I could not find any event suitable to do the refresh manually either, actually i find one - afterSelectedChange, but row selector is disable in my case, so it is useless.

Please kindly give some suggestion.

Regards

Bryan

 

Parents
No Data
Reply
  • 69832
    Offline posted

    alexhuang said:
    I have two UltraWinGrids with 2 different object bind datasource, they are master-detail relationship, however, I dont know how to realize their relation in code.

    Typically the "master" class exposes a property of a type that implements IList, which returns a list of your "detail" class. The grid interprets this property as a chaptered column, and creates a child band for it.

Children