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
125
Groupby Sorts for nested groups are reversed after data is reloaded.
posted

I'm using the UltraGrid(9.1) and it is on the 1st tab of a tab control and on another tab I reload to grid on the 1st tab with new data from the database to reflect changes. That works fine however, where I have a problem is with the sort. Before I reload the data I go row by row to see what's rows are in Groupby mode which ones are currently expanded. I Store the expanded rows in an array list and once I reload the data I go row by row and expand the rows that were expanded prior to the reload. Everything prior to the reload was sorted ascending. After the reload the first Groupby level is still sorted ascending but ALL of the nested child Groupby's still have the sort indicator denoting ascending but the data is now listed descending instead???? If Click on the column header to change the sort the sort indicator then denotes descending and the data is ascending. Since our application is to large to attach, I attached a sample program I use for testing and have it reproduce what happens in our application.

Run the code and Groupby by Date, Dosage, Drug. Expand the rows like the picture, then go to Tab2 and click the reload button. You can see from the before and after pic's what the sorted data looks like.

BEFORE

AFTER

 

Thanks in Advance,

wingrid.zip
  • 53790
    Verified Answer
    posted

    Hello Vravo,

    Thanks for attached sample and screenshots. I was able to reproduce your issue using your  version 9.1.20091.1000. Also I check this behavior using the latest available service release for version 9.1 - 9.1.20091.2094, but there are the same behavior.

    This issue is fixed in the next versions. The lifecycle of your version is expired (more details you could find at : http://es.infragistics.com/support/product-lifecycle.aspx#ProductLifecycle ), so if you are able please upgrade your version.

    Let me know if you have any questions

    Regards