PDA

View Full Version : Change columns on a Ext.container.ButtonGroup



saubert
9 Dec 2011, 2:27 AM
Hello,
Is it possible to change on fly the numbers of columns of a Ext.container.ButtonGroup and change the view with a doLayout() ?

I try :

myContainerButtonGroup.columns = 1;
myContainerButtonGroup.doLayout();

but it doesn't work.

otherwise is there another way to change the view on the fly to passed from a horizontal to a vertical view ?

regards

mitchellsimoens
9 Dec 2011, 3:01 PM
Table layout doesn't support it which ButtonGroup uses.