Hi,
I have a grid with multiple heirarchies. Can someone please explain to me how, In the prepareviewstyleinfo event, I can tell if the current row is a ''main'' row, or one linked to the linked/child table...
I''m setting up the grid like this.
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim oOrders As New clsOrders
Me.grd.DataSource = oOrders
Me.grd.Binder.SetDataBinding(oOrders, "")
Dim childrenLevel As GridHierarchyLevel = Me.grd.Binder.AddRelation("Details")
childrenLevel.ShowHeaders = True
Me.grd.Binder.RootHierarchyLevel.ShowHeaders = True
Me.grd.DataSource = oOrders
End Sub
Thanks in advance,
Damien