A Quick and dirty way to hide the annoying but useful [] (empty) checkbox on a checkbox filter in a text area is here ,so use it at your own risk!
A clean way that requires no coding is to create a derived data table (a copy based on the existing one and add a filter row transformation to remove empties. Relate the tables and the filters and you should not see any empty values there).
A clean way that requires no coding is to create a derived data table (a copy based on the existing one and add a filter row transformation to remove empties. Relate the tables and the filters and you should not see any empty values there).
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