Hi,
I like the "Custom Filter Selection" dialog that allows you to do complex filters, including AND and OR groups, however, it's a bit restrictive only allowing this per field.
I'm aware that you can change the overall logical operator for multi-field filters, using FieldLayoutSettings.RecordFiltersLogicalOperator and since seeing this post: http://forums.infragistics.com/forums/p/28196/109775.aspx#109775, it looks like you can create ConditionGroup objects, to allow more complex AND/OR groups across fields.
Are there any plans to expose this functionality through your UI?
It would be nice if your "Custom Filter Selection" dialog was extended across fields, instead of saying "For Field 'xyz'" at the top, it could provide a drop-down to allow the user to select the field they desire (which would appear in the grid below). In this way, the end user could create complex groups across fields.
Another bonus would be that you could include the fields that are hidden on the main grid... we don't want to necessarily display all fields on the grid itself (i.e. we want some collapsed), but we still wish to allow the user to filter on them. I take it there's no way to currently achieve this?
Regards,
Dave
I am working on something similar. Can you suggest a solution?
Tanu
Hi Alex,
Sure, I could have a go at creating this myself, but I imagine it could take considerable time to do. I may have a go at doing so if time allows further down the line, however, I think it would be a nice addition for everyone, so I've submitted it as a feature request :-)
Thanks,
Hello Dave,
The WPF Record Filtering was designed to resemble its Windows Forms equivalent. However, wpf framework allows great easy customizations. There are couple of ways you can customize this:
1. Use the default styles/control templates for the CustomFilterSelectionControl and make some changes to add additional functionalities,
2. Create your own custom filter selection control (any control/window) that you can show with your full custom functionality and logic.
3. Inherit the CustomFilterSelectionControl and add some additional functionality to it.
If you go with 2 or 3, you can cancel (not show) the default Custom Filter Selection Control by handling the CustomFilterSelectionControlOpening.