12-23-2022, 10:59 AM
(This post was last modified: 12-23-2022, 10:59 AM by neeraja.pattathil@bdb.ai.)
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"
});
});
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"
});
});