Request Filter Icon Display instead of Setting Icon

Answered
Thamakorn R asked 13 hours ago

Reference to my using, I would like to request to have a filter icon instead of a setting icon. Because I can only use it as a filter. 

1 answer

Public
Maksym Diachenko Maksym Diachenko Flexmonster 9 hours ago

Hello,

Thank you for reaching out to us.

You can change the filter icon with CSS:

.fm-header i.fm-icon.fm-filter-icon::before{
  content: "\e905" !important;
}

.fm-header.fm-filtered .fm-icon.fm-filtered-icon::before{
    content: none !important;
}

Here is an example of replacing the settings icon with the filter icon: https://jsfiddle.net/flexmonster/r17x6ejv/

One thing to keep in mind is that Flexmonster also adds a separate icon to indicate that a cell currently has a filter applied. In the given example, the second rule disables this filtered-state icon. Instead, you can customize this rule to replace the default filter icon with another icon to indicate a cell with an applied filter.

Please let us know if our answer helped you.

Best regards,
Maksym

Please sign in or register to submit your answer