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
830
Show Column As Child Band
posted

We have a complex custom object BLOrder which contains amoung other things another object called BLLoan. this is a 1 to 1 relationship meaning an order can have one loan associated with it.

We bind the BLOrder object to an UltraWinGrid and all collection objects attached to the BLOrder object display as child bands and the BLLoan object displays as a column in the grid. Is is possible to display the BLLoan object as a child band rather than a column in the grid even though it is not a collection ?

Thanks John

 

 

 

 

 

 

 

Parents
No Data
Reply
  • 69832
    Offline posted

    jvinnell said:
    Is is possible to display the BLLoan object as a child band rather than a column in the grid even though it is not a collection ?

    Not really, but what you can do is make that property a collection of BLOrders, and insert logic to make sure there is never more than one element in it. The grid will see this as a chaptered column and create a child band for it, and since there is only one object in the collection, that band will always have only one row.

Children
No Data