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. Image for the cookie policy date

Implementing Dynamic Filter and Ordinary Filter.

Hi,


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



Regards,
Ranjan VijayKumar.

4 Replies

RA Ranjan December 17, 2014 03:37 PM UTC

Hi,


       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.


Regards,
Ranjan VijayKumar.


MK Muthukumar Kalyanasundaram Syncfusion Team 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.

 

Regards,

Muthukumar K


Attachment: Filterbar_2d651c8a.zip


TB Thomas Beck November 29, 2015 12:59 AM UTC

Hi,

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.

Greetings,
Thomas Beck


SA Solai A L Syncfusion Team 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.
http://www.syncfusion.com/support/directtrac/incidents


Thanks,
AL.Solai.

Loader.
Live Chat Icon For mobile
Up arrow icon