Just like the example below ,
What component has it be defined in the items?
And what config parameters can I use to define the component?
there are xType, region , split .... but actually where can I find the whole set of config parameters?
new Ext.Viewport({
.....
items: [{
xtype: 'box',
region: 'north',
applyTo: 'header',
height: 30
},{
layout: 'border',
id: 'layout-browser',
region:'west',
border: false,
split:true,
margins: '2 0 5 5',
width: 275,
minSize: 100,
maxSize: 500,
items: [treePanel, detailsPanel]
},
...
});
THanks a lot !
I can't find any config param like split, region, margin in the Ext.Component API ..
Where are they being defined?
As mentioned in the previous example ,
inside the items, one of the components is defined as
{
layout: 'border',
id: 'layout-browser',
region:'west',
border: false,
split:true,
margins: '2 0 5 5',
width: 275,
minSize: 100,
maxSize: 500,
}
what kind of component does it belong to?
Thanks a lot!
http://extjs.com/deploy/ext-2.1/docs/?class=Ext.layout.BorderLayout.SplitRegion
but I still can't find the "region" config param . Where can I find it in API ?
All of the information you're looking for is in the documentation.
#If you have any other info about this subject , Please add it free.# |