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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Implementing Dynamic Filter and Ordinary Filter.

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi,


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



Regards,
Ranjan VijayKumar.

Ranjan
Replied On 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.

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.

 

Regards,

Muthukumar K


Attachment: Filterbar_2d651c8a.zip

Thomas Beck
Replied On 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

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.
http://www.syncfusion.com/support/directtrac/incidents


Thanks,
AL.Solai.

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

;