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
1020
Binding two BindingList objects to UltraGrid.
posted

Hi Friends,
Is it possible to bind two BindingList<T> objects to
UltraGrid? If yes, then how should I go about doing that?
I created an array of two BindingList objects and tried binding
the array to the grid, but it fails.
Regards,
Sid.

Parents
  • 45049
    Verified Answer
    posted

    You need one of these lists to be a "child" list of the other.  This will display them hierarchically, since WinGrid can only have one "root" band.  For example, if you have a BindingList<List1> and a BindingList<List2>, then either your List1 class must have an instance of BindingList<List2> or vice-versa.

    If you want to display the two lists side-by-side, in a non-hierarchical fashion, use two WinGrid controls - one bound to each.

Reply Children
No Data