I have a GridView that is using an LLBLGen datasource. The Grid includes a Pager display and the ability to group by columns. When I display the Grid without grouping the Pager summary shows the correct item count. However, when I group by a column (e.g. Date), the item count in the Pager changes as I expand/collapse groups. It appears at first glance that the Pager item count is including the group summary rows and not including any collapsed/hidden item rows.
Steps to Reproduce:
I have included a demo project including the VS 2005 project, LLBLGen project and generated code and a backup of the Test database.
Actual Results:
Pager item count appears to include Group summary rows and ignore collapsed item rows when the Grid display is grouped and the expanded groups flow across > 1 page
Expected Results:
Pager item count should display the item count from all groups
We have closed this ticket because another page addresses its subject:
Add a capability to display a real count of records in the ASPxGridView even when a grouping is appliedPager reports incorrect item count when grouping by column
Answers
Hi Colin,
This behavior is by design. Indeed, pager does not include hidden data rows and shows only the number of group rows. We consider this behavior to be correct. I think the end-user might be confused if a pager shows him 1000 records while only 2 group rows are visible. Also, I do not see the problem with row counting - group summary rows are not included in the result. Could you please explain to us how to reproduce this issue in detail?
Thanks,
Plato