We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Filter on SfDataGrid display incorrect list of items

Thread ID:





121492 Dec 21,2015 12:24 AM UTC Dec 21,2015 12:25 PM UTC WPF 2
Tags: SfDataGrid
James Randle
Asked On December 21, 2015 12:24 AM UTC

I have attached a sample project that illustrates the problem.

If the project is run, and the topmost DataGrid has 3 items deselected in the filter popup, when the popup is reopened it has extra items in the list that shouldn't be there!
The following images explain what I mean (also included in the project/Images folder)!

AllItemsSelectedInFirstDataGrid - this is what happens when you first click the filter

DeselectThreeItemsInFirstDataGrid - we still see the correct list of items in the filter list

FirstDataGridNowShowingIncorrectExtraItems(5,6,7,8,9) - but now, after we click the filter button again, the filter list suddenly includes all the items from the other DataGrid!

Please help!

Attachment: TestApp_2f0a28b5.rar

James Randle
Replied On December 21, 2015 12:32 AM UTC

Just to clarify the instructions:
1) Run project
2) Click the filter button on one of the top DataGrid columns
3) Deselect 3 of the items in the filter popup list
4) Click OK
5) Click the filter button on the same top DataGrid column
6) Notice that extra (5,6,7,8,9) items have appeared in the filter list, that should only be found in the bottom DataGrid

Sowndaiyan Paulpandi [Syncfusion]
Replied On December 21, 2015 12:25 PM UTC

Hi James,

Thank you for contacting Syncfusion Support.

We have analyzed your query with the details provided in your previous update. In SfDataGrid, it is not possible to apply both Row Filter and Column Filter simultaneously. So we recommend you to use the ItemSoure which has been filtered already for each DataGrid instead of filtering directly in DataGrid. We have modified the sample with filtered ItemSource and you can download sample from the below location,

Sample : http://www.syncfusion.com/downloads/support/forum/121492/ze/TestApp1173690014




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon