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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

change filter icon when filter is applied

Thread ID:





128228 Jan 9,2017 06:02 PM UTC Jan 11,2017 04:01 AM UTC ASP.NET MVC 3
Tags: Grid
César Ventura
Asked On January 9, 2017 06:02 PM UTC


Estoy usando 

 .FilterSettings(filter => { filter.FilterType(FilterType.Excel); })

para el filtrado de datos dentro del grid, cuando el grid contiene los datos filtrados, el icono cambia, pero ese cambio no es muy visible y no se nota mucho,
quisiera saber si hay alguna forma de modificar los iconos por default (ya sea cambiar el icono o solo cambiarlo de color) al momento de tener filtrados los datos (para que la diferencia se note) 

de antemano muchas gracias.


Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On January 10, 2017 11:28 AM UTC

Hi Cesar, 
Thanks for contacting Syncfusion Support. 
You would like to override the color of the filtered icon of the Grid. Using the CssClass property of the Grid, you can assign a class to the Grid’s root element. Therefore, using this class, you can customize the layout of the Grid. Likewise, we have achieved your requirement using this class selector as shown in the following code example.  
              .FilterSettings(filter => { filter.FilterType(FilterType.Excel); }) 
    .e-grid.filtered .e-filteredicon { 
        color: red; 
Refer to the following API Reference of the Grid.  
Seeni Sakthi Kumar S. 

César Ventura
Replied On January 10, 2017 08:01 PM UTC

Muchas gracias por tu respuesta Seeni Sakthi Kumar Seeni Raj!!

es justo lo que necesitaba.

Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On January 11, 2017 04:01 AM UTC

Hi Cesar,  
We are happy to hear that your requirement has been achieved. Please get back to us, if you require further assistance on this. 
Seeni Sakthi Kumar 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