M
moondog
I would like to know how to code an expand button on an UltraWinGrid.
It should be something like this:
Dim gridRow As Infragistics.Win.UltraWinGrid.UltraGridRow
Dim intRow As Integer
For intRow = 0 To UltraGrid1.Rows.Count - 1
gridRow = UltraGrid1.Rows(intRow)
gridRow.Expanded = True
Next intRow
I have four levels on my grid, and I want it to expand just one level
at a time for each click of the expand button.
The above only works for the first level as the count never changes.
Any help would be appreciated.
Thanks,
(e-mail address removed)
It should be something like this:
Dim gridRow As Infragistics.Win.UltraWinGrid.UltraGridRow
Dim intRow As Integer
For intRow = 0 To UltraGrid1.Rows.Count - 1
gridRow = UltraGrid1.Rows(intRow)
gridRow.Expanded = True
Next intRow
I have four levels on my grid, and I want it to expand just one level
at a time for each click of the expand button.
The above only works for the first level as the count never changes.
Any help would be appreciated.
Thanks,
(e-mail address removed)