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

Implementing Dynamic Filter and Ordinary Filter.

Thread ID:





117802 Dec 17,2014 02:53 PM UTC Nov 30,2015 11:43 AM UTC WinForms 4
Tags: GridGroupingControl
Asked On December 17, 2014 02:53 PM UTC


      Kindly provide the samples for implementing Dynamic Filter and Ordinary Filter.

Ranjan VijayKumar.

Replied On December 17, 2014 03:37 PM UTC


       I am facing problem in implementing Dynamic Filter and Ordinary Filter and when i type the text  application displays error message "Object reference not set to an instance of object".So kindly suggest how to proceed further.

Ranjan VijayKumar.

Muthukumar Kalyanasundaram [Syncfusion]
Replied On December 19, 2014 01:56 AM UTC

Hi Ranjan,


Thank you for your interest in Syncfusion products.


We have created a simple sample with dynamic filter and ordinary filter in GridGroupingControl. The GridDynamicFilter class is used to wire a custom filter bar to the Grid Grouping control by replacing the default filter bar. Please refer the attached sample.



Muthukumar K

Attachment: Filterbar_2d651c8a.zip

Thomas Beck
Replied On November 29, 2015 12:59 AM UTC


the NullReferenceEception happens, if there are cells with empty text.

I changed line 38 of Form1.cs of your example to

dr[j] = (i == 3) ? "" : string.Format("row{0} col{1}", i, j);

Now when pressing the filter symbol does nothing. Clicking in the text area of the filter cell raises the exeption.

Thomas Beck

Solai A L [Syncfusion]
Replied On November 30, 2015 11:43 AM UTC

Hi Thomas,

Thank you for your interest in Syncfusion products.

We could able to reproduce the reported issue at our end. For prompt response and easy follow ups, please login our Direct- Trac.



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