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 ?
We have closed this ticket because another page addresses its subject:
CheckBoxRowSelect - Selection is cleared when you click outside of a check box columnGridControl - How to restore selected rows after the Grid is filtered
Answers approved by DevExpress Support
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.
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.
[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.
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.