PDA

View Full Version : Link in layout extjs 4.1



douglasfab
6 Jun 2012, 2:33 PM
Personal'm using a layout extjs 4.1 .. (I downloaded the layout: http://dev.sencha.co...ut/complex.html) Well so far so good. I made the right a few lines to make a link that must open the page in the center .. i do not know how to do ... For example the pages are already done just need to play them inside the center when you click someone can give me an example: Below I have to put a link on the line "search" in html and open when you click open a new page layout in the center within the normal keeping the other regions ...




{
region: 'west',
stateId: 'navigation-panel',
id: 'west-panel', // see Ext.getCmp() below
title: 'Menu Principal',
split: true,
width: 200,
minWidth: 175,
maxWidth: 300,
collapsible: true,
animCollapse: true,
margins: '0 0 0 5',
layout: 'accordion',
items: [
title: 'Pesquisar',
html: '<p>Pesquisar</p>',
iconCls: 'settings'
},