I had the same problem, then I realized that I had saved the state as GroupByRowInitialExpansionState.Expanded in the form layout. Double check and see if you are not doing something similar.
Hi Al,
I don't think this is the same issue. There is no notificaiton from the data source that I know of that would cause all of the rows to expand.
Are you sure something in your code isn't expanding all the rows?
Can you duplicate this behavior in a small sample project? If so, you should Submit an incident to Infragistics Developer Support so they can check it out and see why it's happening.
I have a similar issue with the Grid (v7.2.20072.61), though in my scenario the grid does not Collapse, it Expands (i.e. I see many rows across all group-levels).
When the grid is grouped by, say, a column named "Category", and a new row which belongs to a previously unreferenced "Category" is added to the bound UltraDataSource I would expect to see the new grid row created in a new group for that "Category" (which I do see) but I would not expect each and every existing group to be fully "Expanded" as this happens. I presume this relates to some kind of Rebuild / Reset notification (which you aluded to earlier), causing the entire set of data to be re-rendered.
Regardless, is there any way of suppressing or controlling this behaviour so the grid retains it's visual state during this operation? Alternatively, is there an event I can subscribe so I know when the "Reset" operation is happening and can attempt to address this in my own code?
Many thanksAl
A sample of what, exactly? I gave you the line of code that will refresh the grid data.
You mean a sample of using the UltraDataSource as an intermediary? The closest thing is the Million Rows sample which uses the UltraDataSource to display a grid with a million rows.