This project has moved. For the latest updates, please go here.
1

Resolved

Combining Data Grid Extensions filters with other filtering

description

We're using Data Grid Extensions to add filtering to a grid that also has a full-text search feature attached to it. Basically, we want the user to be able to search for a specific item, and then be able to further sort by type, status, etc.

Our current implementation is to create an ICollectionView of all items, then apply a Filter that filters out any values that are not in the current search results.

When I added Data Grid Extension filters, it seems like the two filters are mutually exclusive. If I apply filters, it stops using the search; if I search after applying filters, the search is ignored.

Is there a better way of accomplishing this?

comments

wrote Feb 14, 2015 at 9:59 AM

Associated with changeset 34420: Add a global filter, since the collection views filter can't be used

wrote Feb 14, 2015 at 10:38 AM

Added new global filter that will be combined with the column filters:


 
<DataGrid ItemsSource="{Binding Items}" AutoGenerateColumns="False"
    dgx:DataGridFilter.GlobalFilter="{Binding ExternalFilter}"
    dgx:DataGridFilter.IsAutoFilterEnabled="True"

wrote Feb 14, 2015 at 10:39 AM