Ticket T109932
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

CheckBoxRowSelect - Selection is cleared when you click outside of a check box column

GridControl - How to restore selected rows after the Grid is filtered

created 11 years ago

I need to get some values from gridview which i checked. But when i check rows and try to filter records, all checkbox turn in to uncheck state. So it is useless for me , how can i fix it or do you have any other option to mutliselect with filtering ?

Answers approved by DevExpress Support

created 11 years ago (modified 11 years ago)

Hello,
We are planning to introduce an option in 14.1 which enables you to keep a selection after clicking outside the check column. In the meantime, I suggest you review the Problem with CheckBoxRowSelect thread where a similar issue was described. Please test the suggested solution and let us know your result.

    Show previous comments (3)
    Andrew Ser (DevExpress Support) 11 years ago

      Hi,
      I would like to ask you not to post your questions as answers in our Support Center. Instead add additional comments to a specific answer. I have moved your post to the comments section of the last answer.

      Andrew Ser (DevExpress Support) 11 years ago

        [POSTED BY fed medi]

        this solution is not working for gridview filtering ,as well as not working on your example , i need to select whole records on gridview  and I want to uncheck the rows which I want to exclude. But this example unchecks every rows while I filter the records.

        And I don't think this solution is duplicated. It is not same as your previous examples.

        Andrew Ser (DevExpress Support) 11 years ago

          Thank you for the clarification.
          I've researched this case in detail and found an easier approach. I've attached a project illustrating it. The main idea is to store the selection in a separate list and call the custom RestoreSelection method when necessary.
          I hope to hear from you soon.

          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.