Forums

Full Version: How to adjust the background opacity and border of the default selected filter using
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to adjust the background opacity and border of the default selected filter using a script?

Use: to adjust the background opacity,border of the default selected filter.
Script area: dashboard
Script:
sdk.setAfterRenderCallBack( 'filter23',function() {
var filter_var = "#selectBoxId"+sdk.getWidget('filter23').m_objectid;
$(filter_var).css({
 "border": "0px solid transparent",
   "background-color": "rgba(0,0,0,0.05)",
"border-radius":"4px"
});
});