Bug Report T294030
Visible to All Users

ASPxGridView - CheckAll checkbox is disabled when all groups are collapsed

created 9 years ago

Hi,
within the testing previously reported issue

https://www.devexpress.com/Support/Center/Question/Details/T282088

we found new strange behavior. CheckAll checkbox is disabled when all groups are colapsed.

Video is better than words :-) Sorry for video resolution, i have retina display.

http://screencast.com/t/iWmWrx2LD

Thank you for support

David

Comments (1)
DevExpress Support Team 9 years ago

    Hello,

    I have reproduced this behavior and redirected this ticket to our developers. We will inform you as soon as we have any updates regarding the issue.

    Answers approved by DevExpress Support

    created 9 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      created 9 years ago

      Hello,

      We researched the issue and here are our results.

      The "Select all" check box works only for visible rows so its disabling when there is no any visible row is expected. The "Select all" check box mode is defined by the GridViewCommandColumn.SelectAllCheckboxMode property. For example, we have three groups on the page and SelectAllCheckboxMode is set to "Page".   If the second group is expanded and we check the "Select all" check box, only visible rows are checked. Then, we expand the first group, the "Select all" check box state changes to intermediate, since the first group rows were not checked. After that, if we collapse the first group, the "Select all" check box is checked again because all visible rows are checked. Analyzing invisible rows' state can confuse end-users in this case so this behavior is required for better understanding of the state of rows. I hope this information helps.

        Comments (2)

          Hello,
          the functionality does not work as you described. In attached video you can see malfunctions of this functionality.
          If I expand only one group and check "Select all" checkbox it checks all records in grid (invisible rows included). At the end of the video I use "Delete function" to delete all selected rows and all rows (invisible included) was deleted, not only visible and checked as you described in previous post - this is correct from our point of view, because "Select all" was checked.
          Anyways we strongly disagree with this "unchecking" functionality once you group records. It is confusing for our customers when grouping of records changing selection of rows in any way (visually or functionally).
          Our desired functionality is to DO NOT change record selection and state of "Select all" checkbox during grouping. Grouping and selecting are two different functions and should not influence each other.
          Video: http://screencast.com/t/MZEefVsm
          Note: We are using GridViewSelectAllCheckBoxMode.AllPages

          DevExpress Support Team 9 years ago

            Hello,

            The SelectAllCheckboxMode property value is critical when selection is performed. In my previous post, I described the situation when SelectAllCheckboxMode is set to "Page".  So, it is expected that the ASPxGridView behavior differs from yours when this property is set to "AllPages".
            However, I understand your suggestions about the "AllPages" mode. I decided to forward this ticket to our developers for thorough research. We will keep you informed about our progress. Your time and cooperation are highly appreciated.

            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.