Change filter Icon

Hello, I'm using Data Grid and I want to change the Filter Icon on Header of each Column.

I search for this solution, but everything is linked to Syncfusion Doc, but the page doesn't have anything

I need to change this little icon:



Can someone help me? Thank


1 Reply

SK Sujith Kumar Rajkumar Syncfusion Team March 14, 2022 10:41 AM UTC

Hi Lucas, 

Greetings from Syncfusion support. 

You can achieve your requirement of customizing the default Grid filter icon by overriding its class and setting your required icon content there. 

This is demonstrated in the below code snippet where we have modified the default filter icon with an icon from the ej2 icon library, 

.e-grid .e-icon-filter::before { 
    content: '\e736'; 
} 

We have prepared a sample based on this for your reference. You can find it below, 
 

More details on the EJ2 icon library can be checked in the below documentation link, 


Please get back to us if you require any further assistance. 

Regards, 
Sujith R 


Loader.
Up arrow icon