Bug Report B92438
Visible to All Users
Duplicate

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 applied

Pager reports incorrect item count when grouping by column

created 17 years ago

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

Answers

created 17 years ago

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

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.