How to apply custom css to columnControl icon when filter is applied in server-side mode.
How to apply custom css to columnControl icon when filter is applied in server-side mode.
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem: How to apply custom css to columnControl icon when filter is applied in server-side processing mode. In client-side mode, I just only need add button.dtcc-button.dtcc-button_dropdown.dtcc-button_active svg {
color: red !important;
}
But it's not working in server-side processing mode.
This question has accepted answers - jump to:
Answers
Hi, hope this helps: https://datatables.net/forums/discussion/81546/server-side-with-columncontrol-active-state-css-and-button-clear-search-not-working
Have a look at this thread. There is an error in the current release that means
dtcc-button_activeisn't correctly applied when server-side processing is enabled. The nightly build has the fix and I'll look at tagging the release soon.Allan