PDA

View Full Version : Only one item is enable in toolbar?



t800t8
8 Nov 2009, 6:19 PM
I want to have a toolbar which contains several buttons, and only one of them is enable at once. It's something like toggle toolbar. Is it possible in ExtJS 3.0 (native support from Ext.Toolbar)? Or I need to write the code?

Thanks.

mjlecomte
8 Nov 2009, 6:21 PM
You need to write it. Shouldn't be too difficult since you could just loop through the items and disable them all. Enable the one you want.