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.

How to filter all the columns when press the enter key for last filterbar cell ?

This Knowledge base explains the way of how to filter all the columns when pressing the enter key for last filterbar-cell.

Solution

 This can be achieved using actionBegin event of ejGrid. In this event, we can get filterCollections for last column filterbar cell, so that the filtercollections value can be append based on that corresponding filterbarcell value.

The following code example demonstrates how to filter all the columns when pressing the enter key for last filterbar cell.

 

  1. Render the grid control

JS

 

RAZOR

 

C#

 

 

ASPX

 

 

ASP.NET CORE

                                                                                                                                                 

Angular

 

  1. In actionBegin event the filterCollection contains the last column filterbar cell value.

TS file

 

  1. So upon appending the filterbar cell value for each column to the filterCollection, filtering takes place based on the each value in the filter bar.

 

JS

 

C:\Users\Manisankar.durai\Desktop\sshot-1.png

Figure 1: shows filtering had done based on the given value on filterbar cell from all the columns after pressing enter key.

 

Article ID: Published Date: Last Revised Date: Platform: Control: Product Version:
8392 02/12/2018 02/12/2018 JavaScript ejGrid 13.4.0.53
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.