PDA

View Full Version : Ext.Panel "Items" parameters



ssawchenko
4 Aug 2009, 9:11 AM
Hello everyone, this is a very green question, but after looking through the ext api I can't seem to find my solution.

I am working with an Ext.Panel [table layout] and I'm wondering how I can figure out what all my options are for each "item".

ie.


var tabLayoutManager = new Ext.Panel({
layout: 'table',
applyTo: tab_layoutDiv,
...
items: [
{
contentEl: tab_ChartDiv,
cls: "chart-div",
colspan: 1
// How can I find out all the things I can set here?
},
...

elishnevsky
4 Aug 2009, 9:46 AM
Layout specific config options can be found in ColumnLayout docs section (http://extjs.com/deploy/dev/docs/?class=Ext.layout.ColumnLayout).

Other config options depend on what you want your item to be. Basically it can be anything that extends Component class, so just open the desired component class in the docs and look at the config options available for that class.

ssawchenko
4 Aug 2009, 12:15 PM
Excellent - thank you for the clarification :)