Infragistics UltraWinGrid Expand

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)
 
A

Alvin Bruney [MVP - ASP.NET]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top