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
295
Multiple bands in win grid
posted

Hello,

I want to have multiple bands in ultrawingrid but all binded to one table. how can i achieve this kind of hierearchy?

Parents
No Data
Reply
  • 610
    Suggested Answer
    Offline posted

    Essentially, you want to use a list within a list. I use the following structure:

    Dim data As New BindingList(Of ParentObject)
    Grid.DataSource = data

    Where ParentObject is defined as...

    Public Class ParentObject
      ...
      Public Property Band2 As New BindingList(Of ChildObject)
      ...
    End Class

Children