PDA

View Full Version : How to show multiple grids in one popup window



elixir1
14 Nov 2013, 1:14 AM
I am developing an application in which I have to show multiple grids in one popup windows.<br>Does anyone guide me in that. Any example/thread on the same will also help.

evant
14 Nov 2013, 1:30 AM
A grid is a subclass of panel, so here's an example with panels, you can change out panels for grids:



new Ext.window.Window({
autoShow: true,
width: 400,
height: 400,
layout: {
type: 'hbox',
align: 'stretch
},
items: [{
title: 'P1',
flex: 1
}, {
title: 'P2',
flex: 1
}]
});

elixir1
14 Nov 2013, 1:52 AM
Thanks Evant. :)