Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
545
CollapseAll(true) and ExpandAll(true) freeze application
posted

When i load a 1.6 MB xml file to my grid and i use CollapseAll(true) or ExpandAll(true) it freezes the application. (not with a smaller file)

It doesn't matter how many rows are expanded. If i try CollapseAll(true), the app is not responding !

code: this.ultraGrid.Rows.CollapseAll(true);

What's the limit ? Or what's wrong ?

Parents
No Data
Reply
  • 469350
    Offline posted

    The most obvious cause of something like this is that the data source you are using is recursive, and there are therefore an indefinite number of bands in the grid to expand or collapse.

    Check out the WinGrid Performance Guide. In particular, the section 4 on "Recursion" should help you resolve the issue.

Children