I have a fairly simple ultrawingrid which is bound to a hierachical dataset(1parent - multiple childs). Parent has around 4000 records and each parent has 0-5 child records.
I have a button that calls the code
myUltraGrid1.Rows.ExpandAll(false);
This code is taking forever to execute. I created a sample screen and there are no additional events that are getting fired.
Any pointers on how expandall and collapseall functionalities can be implemented in such scenarios.
Thanks
Sonal
Hi Sonal,
I doubt there is anything you can do to make this faster. DataSets are not very efficient when they go to retrieve the child rows for any particular parent row.
The best suggestion I can offer you is to use a more efficient data source, like UltraDataSource or a BindingList<> if you can.