Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
XamDataGrid - Adding Custom filter values when using Excel Style Filtering
posted

Hello,

We are using your xamDataGrid (Infragistics WPF v12.1)in one of our applications.

Previously we were using the standard record filtering capability.

However, we are now allowing the user the option to do Excel Style Filtering.

For this we have made the changes to modify the FilterUIType to LabelIcons and FilterLabelIconDropDownType to MultiSelectExcelStyle.

This seems to work ok for columns where we do not need to change the list of dropdown values in the filter.

However, for the columns where we need to change this, we were handling the RecordFilterDropdownPopulating and RecordFilterDropDownOpening to manually add the custom values to the DropDownItems list of the RecordFilterDropDownPopulatingEventArgs.

It looks like, when we switch to ExcelStyleFiltering, the DropdownItems property seems to be null and therefore we are unable to add those custom values to the filter.

We couldnt find another suitable property which we could use to add our custom items.

Would appreciate if you could point us in the right direction.

 

Thanks

Pinakin