toolbar openall attribute

Is there an easy way to use the openAll attribute on a toolbar buttonselect item from within javascript? I guess I could write my own event handler, but just thought maybe this already exists since it is already in there when loading XML.

Thanks!

You may enable openAll in the 8th parameter of the addButtonSelect method:

toolbar.addButtonSelect(id, pos, text, opts, imgEnabled, imgDisabled, renderSelect, true)

Thank you for the answer.

May I ask where this is documented? I keep going back to docs.dhtmlx.com/doku.php?id=dhtm … ttonselect but the 7th and 8th values don’t exist.

Yes, these parameters were missed in the documentation. We have added them:

docs.dhtmlx.com/doku.php?id=dhtm … ttonselect