Make whole selectButton in Toolbar display the dropdown menu

Hi, i was wondering if there is an easy way to have the “whole” select button in a toolbar display the pulldown menu with the selectable options, not only if you click the little arrow next to it.



best


Hello,


we have modified the dhtmlxtoolbar.js so that select opens as you described.


05.zip (39.8 KB)

Hi all !

This feature is highly recommended from my side too,
unfortunately the latest version has not this feature.

Would it be possible to get a “patched version” of the latest dhtmlxtoolbar.js that implements that feature ?

Regards

Me


Hello,


we have attached the modified version of latest toolbar.js


dhtmlxtoolbar.zip (11.5 KB)

Dear Alex,

I tried the attached file, are you sure this reflects the latest version ?
It doesn’t work at my side.
I’ve checked the code, it seems to be a very old version, it doesn’t even has the setSkin function built in.

Regards

Me

Sorry… the old toolbar.js was attached by mistake. Try to the new one
dhtmlxtoolbar.zip (12.5 KB)

Works like a charm !

Thanks a lot !

Me

Me again :slight_smile:

I would suggest that you add this feature to your next release.

Rgds
Me

Thank you for suggestion. We’ll think over this idea.

I used this dhtmlxtoolbar.js replaced current version 2.5, but it does not work for me. The selectButton drop list appears, but when I click on selected drop button, it does not work. I have onclick event function, other flat button work, none of drop button works.

Did you download the latest file from this topic ?

We’ve tested it - works correctly.