how to filter records while typing and not after pressing the enter button

I would like to create an instant filter In a grid, that is, the filter of the records must be performed each time the user presses the key and not after pressing the enter key?

3 Replies

RS Renjith Singh Rajendran Syncfusion Team February 21, 2020 06:54 AM UTC

Hi Walter, 

Thanks for contacting Syncfusion support. 

We suggest you to set the FilterBarMode as Immediate. Please use the code below, 

 
<EjsGrid DataSource="@Orders" AllowFiltering="true" AllowPaging="true"> 
       <GridFilterSettings Mode="FilterBarMode.Immediate" ImmediateModeDelay="0"></GridFilterSettings>     
       ... 
</EjsGrid> 


You can also set the delay for Immediate filtering mode by using the ImmediateModeDelay property(optional). 

Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran. 



WA Walter February 21, 2020 09:17 AM UTC

perfect, this is what i needed
Thank you


RS Renjith Singh Rajendran Syncfusion Team February 21, 2020 12:46 PM UTC

Hi Walter, 

Thanks for your update. 

We are glad to hear that our suggestion helped you in achieving your requirement. 

Please get back to us fi you need further assistance. 

Regards, 
Renjith Singh Rajendran. 


Loader.
Up arrow icon