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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

search box in excel filter

Thread ID:





144438 May 6,2019 05:56 PM UTC May 8,2019 06:40 AM UTC Angular - EJ 2 3
Tags: Grid
Asked On May 6, 2019 05:56 PM UTC

is there some way I can change search operator in excel filter search box to 'contains' instead of 'startswith'?

Thank you, 

Pavithra Subramaniyam [Syncfusion]
Replied On May 7, 2019 05:21 AM UTC

Thanks for contacting Syncfusion support. 
You can change the Excel searchbox operator from ‘startswith’ to ‘contains’  by using the ‘actionBegin’ event of Grid component. Please refer to the below code example, documentation link and sample link for more information. 
    selector: 'app-root', 
    template: '<ejs-grid #grid [dataSource]='data' (actionBegin)="actionBegin($event)" allowPaging='true' allowFiltering='true' [pageSettings]='pageSettings' [filterSettings]='filterSettings'> 
            .  .  . 
export class AppComponent { 
    .  .  . 
    ngOnInit(): void { 
        this.data = orderDataSource; 
        this.filterSettings = { type: 'Excel' }; 
    public actionBegin(e: any): void { 
       if(e.requestType == 'filtersearchbegin'){ 
Please get back to us if you need any further assistance on this. 
Pavithra S. 

Replied On May 7, 2019 02:11 PM UTC

works great!


Pavithra Subramaniyam [Syncfusion]
Replied On May 8, 2019 06:40 AM UTC

Hi thao,  

Thanks for your update. 

We are happy to hear that the provided solution works. 

Please contact us if you need any further assistance. As always, we will be happy to assist you.  

Pavithra S. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon