Hi,
Thanks for the quick response.
I am doing exactly like you have suggested.
I have one query here:
which is faster:
Code:
container.add({
xtype: 'xyz',
// inner config
items: [{//inner items config ...}, {}]
});
or
Code:
innerContainer = container.add({
xtype: 'xyz',
//inner config
});
innerContainer.add({
xtype: 'abc',
//inner items config
});
or
Code:
innerContainer = container.add(new XYZ({
//inner config
});
innerContainer.add(new ABC({
//inner items config
});
I am taking a note on your comment about limiting the nesting of containers.
Further query is, based on your experience do you feel some layout rendering is faster than others.
Like the arrangement I can get using column layout can also be achieved using say table or hbox or vbox layouts.
What layout would you recommend if components are to be placed in some order, vertical or horizontal inside any container?
Thanks
Sachin