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

Overriding the Custom Filter dialog?

Thread ID:

Created:

Updated:

Platform:

Replies:

60934 May 15,2007 08:24 PM UTC May 16,2007 11:10 PM UTC WinForms 4
loading
Tags: Grouping
Jon Pope
Asked On May 15, 2007 08:24 PM UTC

Is there a way I can intercept the user's click on "(Custom)" when filtering a column within the GridGroupingControl, then display my own dialog? It would then be an easy thing to supply my own filter criteria to the grid using RecordFilters.Add(...).

Cheers, Jon

haneefm [Syncfusion]
Replied On May 15, 2007 08:49 PM UTC

Hi Jon,

You can handle the TableControlCurrentCellShowingDropDown event and display your own custom filter dialogbox whenever the filterbar "custom" option is selected. Please refer the attached sample for more details.

Sample : CustomFilterDialog.zip

Let me know if you face any issues when implementing the above.

Best Regards,
Haneef

Jon Pope
Replied On May 15, 2007 09:56 PM UTC

That did the trick. However, I've noticed that after I click the "Cancel" button on the custom filter form, the main form is not responsive to the first mouse click. Only on 2nd+ mouse clicks does the form respond. Is there a way around this? It's not apparent to me where that first mouse click is being intercepted.


Cheers, Jon

haneefm [Syncfusion]
Replied On May 16, 2007 09:41 PM UTC

Hi Jon,

Here is a link to a sample that derives the celltype and allows you to display your own dialog. Please try the sample and let me know if this helps.
GGC_FilterBar_Dlg.zip

Best regards,
Haneef

Jon Pope
Replied On May 16, 2007 11:10 PM UTC

That did the trick. Thanks!

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

;