DHTMLX Docs & Samples Explorer

Tips

renderSelect xml attibute, set to false to prevent list options selecting (see print button)
openAll xml attibute, set to true to open list by clicking the whole button (see print button)
Source
<script type="text/javascript" src="../../codebase/dhtmlxcommon.js"></script>
<script type="text/javascript" src="../../codebase/dhtmlxtoolbar.js"></script>
<link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxtoolbar_dhx_skyblue.css"></link>
 
<div id="toolbarObj"></div>
<div style="margin-top: 200px;"></div>
<b>renderSelect</b> xml attibute, set to <b>false</b> to prevent list options selecting (see print button)
<br>
<b>openAll</b> xml attibute, set to <b>true</b> to open list by clicking the whole button (see print button)
<script>
var sel2 = document.getElementById("sel2");
var toolbar = new dhtmlXToolbarObject("toolbarObj");
toolbar.setIconsPath("../common/imgs/");
toolbar.loadXML("../common/dhxtoolbar_buttonselect2.xml?etc=" + new Date().getTime());
</script>