ing.amdangelo
14 Feb 2012, 1:16 AM
It's possible ?? in Ext js 3 is :
bbListaConv.on('afterlayout', function (tb) {
tb.el.child('.x-toolbar-right').remove();
var t = tb.el.child('.x-toolbar-left');
t.removeClass('x-toolbar-left');
t = tb.el.child('.x-toolbar-ct');
t.setStyle('width', 'auto');
t.wrap({ tag: 'center' });
}, null, { single: true });
but in extjs4 doesn't works
bbListaConv.on('afterlayout', function (tb) {
tb.el.child('.x-toolbar-right').remove();
var t = tb.el.child('.x-toolbar-left');
t.removeClass('x-toolbar-left');
t = tb.el.child('.x-toolbar-ct');
t.setStyle('width', 'auto');
t.wrap({ tag: 'center' });
}, null, { single: true });
but in extjs4 doesn't works