Is it possible to insert a combo box in a toolbar via XML. I see examples with buttonSelect like below:
I need a way to select an item from a list and have the selected item shown (like a select or combo box does)
Is it possible to insert a combo box in a toolbar via XML. I see examples with buttonSelect like below:
I need a way to select an item from a list and have the selected item shown (like a select or combo box does)
You can olny do the next:
dhxToolbar.addText('cb', 0, '<div id="combo" style="width:200px; height:30px;">');
dhxCombo = new dhtmlXCombo("combo", "cmb", 200);
dhxCombo.loadXML("../___xml/checkbox.xml");
And to select this option in combo xml.
Worked great… thanks!
You are welcome!
can i have the format of checkbox.xml ?
This is the default xml format of the options data for the dhtmlxCombo:
https://docs.dhtmlx.com/combo__adding_options.html#fromtheserverside