Forums
Multi select Combo-box filter enhancement - Printable Version

+- Forums (https://bdn.bdb.ai)
+-- Forum: BDB Knowledge Base (https://bdn.bdb.ai/forumdisplay.php?fid=13)
+--- Forum: BDB Dashboards Designer (https://bdn.bdb.ai/forumdisplay.php?fid=43)
+---- Forum: BDB Designer Q & A (https://bdn.bdb.ai/forumdisplay.php?fid=16)
+---- Thread: Multi select Combo-box filter enhancement (/showthread.php?tid=491)



Multi select Combo-box filter enhancement - Athi - 12-23-2022

Script to enhance multi-select combo-box filter

sdk.setAfterRenderCallBack( 'filter3',function() {
var id = "#textBox"+sdk.getWidget( 'filter3' ).m_objectid;
    $(id).css('padding','0px 0px 0px 16px');
$("#textBox"+sdk.getWidget( 'filter3' ).m_objectid).css("outline","none");
var b = "#simpleCombo"+sdk.getWidget( 'filter3' ).m_objectid+" div";
        $(b).css('width','40px');
});



This script provides more padding between component left and right borders, drop down icon