This is a migrated thread and some comments may be shown as answers.

Grid/Filter styling

2 Answers 158 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
Veteran
David asked on 24 Mar 2021, 12:05 PM

On a Grid column I have a filter icon that opens the build-in filtering dialog. On that dialog there is a blue button with 'FILTER' for a label. How can i change the color of that button?

I tried to chase it down but was not successful... where can I apply a new class or override an existing one. 

 

thanks in advance,
DavidA

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 24 Mar 2021, 02:47 PM

Hello, David,

This can be done with the following CSS rule:

    .k-columnmenu-actions > .k-primary{
      background-color: green;
      border-color: green;
    }
https://stackblitz.com/edit/react-gyday8?file=index.html

Regards,
Stefan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

zenit1
Top achievements
Rank 2
commented on 13 Apr 2022, 12:58 PM

Hey, Stefan

How i achieve this on version 5?

Thanks and nice day

0
David
Top achievements
Rank 1
Veteran
answered on 24 Mar 2021, 07:59 PM

perfect.. exactly what I was looking for.

thanks again,
DavidA

Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Veteran
Answers by
Stefan
Telerik team
David
Top achievements
Rank 1
Veteran
Share this question
or