Hello,
I have implemented checkboxes as record selectors as outlined in http://blogs.infragistics.com/blogs/josh_smith/archive/2008/09/04/adding-checkboxes-to-the-record-selectors-in-xamdatagrid.aspx. Everything is working as I want except for filtering. When filtering is enabled, it does not properly filter the records when you check the filter checkbox for the record selectors (see the attached project). Is there any way I can get the filter checkbox to filter by selection status?
Thanks in advance.
I have been looking into your issue and I did not manage to see anything suspicious within the filter’s behavior. Currently there is no functionality that filters the grid according to its records selection status. In order to enable such a behavior you should manually implement some functionality – for example you can add/remove a filter that looks through the IsChecked field in order to filter the grid’s records. You can do this in the CheckBox_Click event handler to make it dynamic.
I have modified your sample in order to implement such a behavior.
Please do not hesitate to contact us in case of future concerns.
Sincerely,
Ekaterina
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
Thanks, this sample satisfies my requirement.