Infragistics UltraWinGrid Expand

  • Thread starter Thread starter moondog
  • Start date Start date
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)
 
infragistics related help can be found on the infragistics support site

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
 
Back
Top