A Quick and dirty way to hide the annoying but useful [] (empty) checkbox on a checkbox filter in a text area:
html
<div id=filter onmouseover=hideEmpty()>
<SpotfireControl id="7daf87b0152b448a8fa82353af350875" />
</div>
js
var hideEmpty = function(){
document.querySelectorAll("#filter .sf-element.sf-element-filter-item:last-child")[0].style.display='none'
}
if(this['ps']) clearInterval(ps)
ps = setInterval(hideEmpty,100)
1 comment:
Thank you so much for so many tips.
I am trying to use it with Spotfire 10.3.3, but it doesn't work for some reason.
Post a Comment