dhtmlxtoolbar

Hello!



I am using the toolbar2.0 and I want to know how can I use the selectbutton with select and option which was there in 1.0.I have 50+ value in the list. I also want to know the fuction which I can use to get the value once I select/choose the value from the list.



Thanks.

MB


Hello,


toolbar2.0 is different from toolbar1.0. So, it is necessary to change all code of toolbar initialization. Please see samples and documentation for details. Select in toolbar doesn’t have scroll. If you need it, it is possible to change .css in order to enable scroll.


Value (id) can be got by onClick event


toolbar.attachEvent(“onClick”, function(id){


alert(id)
});

Thanks.