There seems to be an issue with the data grid pager component when the DataGridSettings
have a CurrentPage
set to larger than the number of pages available.
I am able to replicate this with 2 scenarios:
-
Save
DataGridSettings
for a large data set with a highCurrentPage
value. Clear table settings, load in a smaller data set (or empty the table) then reapply the savedDataGridSettings
-
Load a large data set and select a high
CurrentPage
. Then replace the data set with a smaller set that doesn't have the current page available.
In both scenarios, the app will run at max CPU and memory usage ramps quickly to 4GB and on. There is no fix other than to force close the application.
I have resolved scenario 1 by forcing CurrentPage
to 0 before applying saved DataGridSettings
but thought this might be affecting other users so should be raised