I have been reading through the changes made to the programmatic filtering and have encountered an issue with regards to a checkbox column type within a RadGridView.
I would like to be able to filter the records that are checked but also have that show up in the filter UI. At this time, I have followed the instructions on how to set the filter, the filter icon highlights and the data is filtered but the appropriate checkbox adjacent to the "False" value in the filter is not checked.
Here is a snippet of the code that resides within the GridLoaded event of my ViewModel.
I would like to be able to filter the records that are checked but also have that show up in the filter UI. At this time, I have followed the instructions on how to set the filter, the filter icon highlights and the data is filtered but the appropriate checkbox adjacent to the "False" value in the filter is not checked.
Here is a snippet of the code that resides within the GridLoaded event of my ViewModel.
Please advise.gridView.FilterDescriptors.SuspendNotifications();
GridViewColumn employeeRelatedColumn = gridView.Columns["EmployeeRelatedFlag"];
IColumnFilterDescriptor employeeRelatedFilter = employeeRelatedColumn.ColumnFilterDescriptor;
employeeRelatedFilter.FieldFilter.Filter1.Value = "False";
employeeRelatedFilter.FieldFilter.Filter1.Operator = FilterOperator.IsEqualTo;
gridView.FilterDescriptors.ResumeNotifications();