Ticket T172561
Visible to All Users

Add a capability to display a real count of records in the ASPxGridView even when a grouping is applied

created 10 years ago (modified 10 years ago)

Currently, ASPxGridView displays total count of visible rows in its pager. It is not a problem if there is no grouping since the ASPxGridView displays only data rows. However, if grouping is applied, the pager counts group rows too. As a result, the total count of displayed items is not equal to the total count of records in a data table.

I have created this request to initiate a detailed research of the capability to additionally display a real count of rows in a bound data table.

Meanwhile, you can use solutions demonstrated in the the following resources:
ASPxGridView - How to return the number of visible data rows excluding group rows
How to get the number of data rows in a filtered or grouped ASPxGridView

Show previous comments (5)
DevExpress Support Team 7 years ago

    Hello Dustin,

    Thank you for contacting us. We will research this issue in the context of the T559078: Real count of records in the ASPxGridView even when a grouping is applied in case of "All" page size option thread. It has been placed in our processing queue and we will update it once we have any results.

    FA FA
    Filippo Albertini 5 years ago

      Any news about when will be fixed?

      Vova (DevExpress Support) 5 years ago

        Hello Filippo,

        At the moment I cannot provide you with any time frames as to when this behavior will be changed out of the box. I recommend you use an approach from the ASPxGridView - How to return the number of visible data rows excluding group rows example.

        Regards,
        Vova

        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.