Filter Icon Not Hiding

Hi forum,

I've got a table with the following settings on some columns:
image

In the designer, the filter icons are hidden:

In production the filter icons are visible:

And I can see from the CSS its specifically setting them as visible '--always', not '--never':

I didnt seem to have this issue in the past -> Is this a bug with version 8.1.43?

Extra info:

  • Setting the filter enabled to 'FALSE' removes the icons
  • No I cant use that as a solution as I'm using separate boxes to control the filters :yum:

Thanks!
Alex

One last bit of into to add -> I added a button that specifically sets the filter visibility to 'never' when pressed... just to make sure it wasnt being reset by something!
...It was an attempt that failed :smiling_face:

Perhaps try adding a selector in the stylesheet with '--never !important'?

Aside from that, I don't see in the snipit you provided where is says visible--always, I see filterable--always, which I think is what you want?

Ah very good spot! I think I breezed over the CSS in my haste so missed it was the filterable property, and not the visible :slight_smile:

Delving into the table, I cant seem to find the 'filterable visible' CSS prop being passed through. Maybe thats the issue? :slight_smile:

I've added a DOMID on the table of 'tableHideAllFilters' , and put the below in the advanced stylesheet.
Seems to do the trick, but I'd be interested to know why I have to do this in this version -> seems overkill for an available feature :slight_smile:

#tableHideAllFilters .filter-button{
	display: none;
}

Not that it will help solve your issue, but that's html, not css.

I'm also using 8.1.43 and I don't have a problem with filters.
I just tried on the table with the sample data and put one of each visibility option on the 3 columns: city: on hover, country: always, population: never
image

Works exactly as expected.
Try removing anything that could mess with this, maybe something is overriding the class and messing with it.

Also, may I ask why you're activating the filters if you don't want them to show up ? Are you using default filters configured directly in the designer ?

1 Like

Thanks Pascal, I've just done the same test, blank view, standard sample data table.
Low and behold, I get the correct HTML! (Looks down in shame at previous error)

Whats confused me more however is I've commented out the CSS to hide them, and they've now got the '--never' on the original table. Think its time to call it a day and look again in the morning :joy:

I shall do some more investigation and report back tomorrow! Thanks for the help all!

Edit: Im using separate input fields to control the filters, so just dont want the icons showing in the header.