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.

Implementing Dynamic Filter and Ordinary Filter.

Thread ID:

Created:

Updated:

Platform:

Replies:

117802 Dec 17,2014 09:53 AM Nov 30,2015 06:43 AM Windows Forms 4
loading
Tags: GridGroupingControl
Ranjan
Asked On December 17, 2014 09:53 AM

Hi,


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



Regards,
Ranjan VijayKumar.

Ranjan
Replied On December 17, 2014 10:37 AM

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 18, 2014 08:56 PM

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 28, 2015 07:59 PM

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 06:43 AM

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.

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.

;