Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by MB on Aug 26, 2009 21:11
open dhtmlx forum
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
Answer posted by Alex (support) on Aug 27, 2009 03:01

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)
 });

Answer posted by MB on Aug 27, 2009 16:37
Thanks.