PDA

View Full Version : Change content of the region



Developer1729
19 Nov 2009, 8:59 AM
Hi. I have the border layout and my center region in the viewport is defined like this:

{
region: 'center',
id: 'centerRegion',
contentEl: 'center1'
}I can get this element by

Ext.getCmp('centerRegion')The question is how can i dynamically replace content in the center region with the grid for example.