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

using custom filter with grid show filter

Thread ID:

Created:

Updated:

Platform:

Replies:

100911 Sep 13,2011 06:30 PM UTC Sep 16,2011 11:23 AM UTC WPF 3
loading
Tags: GridControl
Mary Fontana
Asked On September 13, 2011 06:30 PM UTC

I attached a sample you helped me with that has a checkbox to toggle an (error check) column filtering on/off.

I have a problem using this with gridControl.ShowFilters

For example, if you do a filter on column Customer(uncheck filter FOLGA.

THen click the "check to filter freight"

I get this error: The given key was not present in the dictionary

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Syncfusion.Windows.Controls.Grid.GridDataQueryableCollectionViewWrapper.ExcelFilterPredicates(IQueryable source, Expression& predicate, ParameterExpression& paramExpression)
at Syncfusion.Windows.Controls.Grid.GridDataQueryableCollectionViewWrapper.RefreshFilters()
at Syncfusion.Windows.Data.CollectionViewAdv.ApplyFilters()
at Syncfusion.Windows.Data.CollectionViewAdv.set_FilterPredicates(ObservableCollection`1 value)
at Syncfusion.Windows.Controls.Grid.GridDataVisibleColumns.ApplyFilter(Boolean fullRefresh)



SampleWithFilters_d4f2185f.zip

Jawahar Jeevanandan J [Syncfusion]
Replied On September 14, 2011 07:22 AM UTC

Hi Mary,

Sorry for the inconvenience caused.

We are unable to reproduce the reported issue from our side with the sample posted by you in the last update. We have placed video for the same in the below link. Please have a look and let us know your view on this.

Video: http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=F100911-237480182.zip

Please let us know if you have any clarifications.

Thanks,
Jawahar.



Mary Fontana
Replied On September 14, 2011 03:10 PM UTC


In the sequence you show I would have an exception right after clicking the check box.

It exceptionm happens in
ErrorOnly_Checked(object sender, RoutedEventArgs e)

just after doing the
this.dataGrid.VisibleColumns["Freight"].Filters.Add.

Perhaps this has to do with patches I have installed.

Should I create an incident for this?




Jawahar Jeevanandan J [Syncfusion]
Replied On September 16, 2011 11:23 AM UTC

Hi Mary,

Thanks for your update.

We are able to see this issue in version 9.2.0.138 and this issue has been fixed in our latest version 9.3.0.61. We kindly recommend you to upgrade your Essential studio version to our latest version.

Please let us know if you have any queries.

Thanks,
Jawahar.



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.

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

;