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.
Syncfusion Feedback

How to customize the controls inside menu filter dialog

We can override the ejAutocomplete control in the menu filter dialog as ejDropDownList control by using create event of Grid. The following code example shows the way to override the ejAutocomplete in the filter menu.

  1. Render the Grid

JS

MVC

ASP

  1. Before override, we need to bind open event for filter dialog in the create event of Grid control then destroy the existing ejAutocomplete and render the ejDropDownList in the open event like as below.

 

The following screenshot display the default values while adding the record.

Figure 1: Dropdownlist is rendered for Filter value

Article ID: Published Date: Last Revised Date: Platform: Control:
7723 05/18/2017 05/18/2017 JavaScript ejGrid
Did you find this information helpful?
Comments
Klaus Oct 16, 2017

I'm afraid this does not work. The open function is never called on my side... any suggestions?

Reply
Prasanna Kumar Viswanathan [Syncfusion] Oct 17, 2017

Hi Klaus,

 

We checked in our sample and open function has been called when we open the filter menu. In this documentation we bind the open event only for the string Dialog. So, when we open the number dialog the open function will not be called. So, please ensure that you have open the string dialog in your sample.

 

For your convenience we have attached a sample and please download the sample from the following link.

 

Sample: http://www.syncfusion.com/downloads/support/directtrac/189496/ze/JS_Sample1304219663

 

If you still face the same issue, share the following details. 

 

1. Share the code example of a Grid.

 

2. Essential Studio Version details.

 

3. If possible, replicate the issue in the attached sample.    

 

Regards,

Prasanna Kumar N.S.V

 

Add Comment
You must log in to leave a comment

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