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.
Unfortunately, activation email could not send to your email. Please try again.

Filter on SfDataGrid display incorrect list of items

Thread ID:

Created:

Updated:

Platform:

Replies:

121492 Dec 20,2015 07:24 PM Dec 21,2015 07:25 AM WPF 2
loading
Tags: SfDataGrid
James Randle
Asked On December 20, 2015 07:24 PM

Hi,
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!
James.

Attachment: TestApp_2f0a28b5.rar

James Randle
Replied On December 20, 2015 07:32 PM

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 07:25 AM

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


Regards,

Sowndaiyan


CONFIRMATION

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.

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.

;