highlight active filters on a grid

Hi,
I would like to highlight the column (or header) of a grid , on which a filter is applied.
Do you have suggestions ?

best regards

There is no ready-to-use solution.
You can catch onBeforeFilter event of a grid to detect which filters are selected. Unfortunately, there is no API to modify styles of a header, your code will need to make a direct HTML manipulations.

Thanks a lot for your reply, I’ll try this.
I think this will work. I’m testing

grid_1.attachEvent("onFilterStart", function(indexes,values){ for (var vindex in values) { if(values[vindex]>'') document.getElementsByClassName("hdrcell")[vindex].style.color='red'; else document.getElementsByClassName("hdrcell")[vindex].style.color='black'; } });