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
5549
Selecting only parent Row in a hierarchical grid
posted

hi, hiw can i select a row in the parent row?

when i have in the UltraGrid1_DoubleClickRow event the following check

If Me.UltraGrid1.Selected.Rows.Count > 0 Then

i have always count one eual if i click in a parent row or in a child row. but i want only parent rows selectable

in the init i have

     Me.UltraGrid1.DisplayLayout.Override.SelectTypeRow = Infragistics.Win.UltraWinGrid.SelectType.Single
        Me.UltraGrid1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect

Parents Reply Children
No Data