ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Any way to reduce page count and whitespace when collapsing grouped details?
Title:
B
I
{code}
?
I have a grid that is approximately 30 pages long. I have a "status" column in the grid and there are 3 values that exist in that column, so approximately 33% of all rows are one of those 3 values. If I group on that column, and collapse data, I need to advance the grid to their 10th or 11th page before I see more data. Is there any way that if I collapse the data for one of these statuses, that the grid would automatically resize it's length and update from 30 pages to 20, leaving no blank pages between the 1st collapsed data value and the next un-collapsed data value?
Save Changes
Cancel
Sean Davidson
asked at 01 Mar 2021
you could change the page size, by setting the `GridParams g`, something like if(g.Groups.length > 0 && g.Groups[0] == "status") g.PageSize = 100;
at 01 Mar 2021
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK