-<div xmlns:ext="http://www.extjs.com" class="body-wrap"><div class="inheritance res-block"><pre class="res-block-inner"><a href="output/Ext.layout.ContainerLayout.html" ext:member="" ext:cls="Ext.layout.ContainerLayout">ContainerLayout</a> <img src="resources/elbow-end.gif">TableLayout</pre></div><h1>Class <a href="source/TableLayout.html#cls-Ext.layout.TableLayout">Ext.layout.TableLayout</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext.layout</td></tr><tr><td class="label">Defined In:</td><td class="hd-info">TableLayout.js</td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/TableLayout.html#cls-Ext.layout.TableLayout">TableLayout</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info"><a href="output/Ext.layout.ContainerLayout.html" ext:cls="Ext.layout.ContainerLayout" ext:member="">ContainerLayout</a></td></tr></table><div class="description"><p>This layout allows you to easily render content into an HTML table. The total number of columns can be\r
-specified, and rowspan and colspan can be used to create complex layouts within the table.\r
-This class is intended to be extended or created via the layout:'table' <a href="output/Ext.Container.html#Ext.Container-layout" ext:member="layout" ext:cls="Ext.Container">Ext.Container.layout</a> config,\r
-and should generally not need to be created directly via the new keyword.</p>\r
-<p>Note that when creating a layout via config, the layout-specific config properties must be passed in via\r
-the <a href="output/Ext.Container.html#Ext.Container-layoutConfig" ext:member="layoutConfig" ext:cls="Ext.Container">Ext.Container.layoutConfig</a> object which will then be applied internally to the layout. In the\r
-case of TableLayout, the only valid layout config property is <a href="output/Ext.layout.TableLayout.html#Ext.layout.TableLayout-columns" ext:member="columns" ext:cls="Ext.layout.TableLayout">columns</a>. However, the items added to a\r
-TableLayout can supply the following table-specific config properties:</p>\r
-<ul>\r
-<li><b>rowspan</b> Applied to the table cell containing the item.</li>\r
-<li><b>colspan</b> Applied to the table cell containing the item.</li>\r
-<li><b>cellId</b> An id applied to the table cell containing the item.</li>\r
-<li><b>cellCls</b> A CSS class name added to the table cell containing the item.</li>\r
-</ul>\r
-<p>The basic concept of building up a TableLayout is conceptually very similar to building up a standard\r
-HTML table. You simply add each panel (or "cell") that you want to include along with any span attributes\r
-specified as the special config properties of rowspan and colspan which work exactly like their HTML counterparts.\r
-Rather than explicitly creating and nesting rows and columns as you would in HTML, you simply specify the\r
-total column count in the layoutConfig and start adding panels in their natural order from left to right,\r
-top to bottom. The layout will automatically figure out, based on the column count, rowspans and colspans,\r
-how to position each panel within the table. Just like with HTML tables, your rowspans and colspans must add\r
-up correctly in your overall layout or you'll end up with missing and/or extra cells! Example usage:</p>\r
-<pre><code><i>// This code will generate a layout table that is 3 columns by 2 rows\r</i>
-<i>// <b>with</b> some spanning included. The basic layout will be:\r</i>
-<i>// +--------+-----------------+\r</i>
-<i>// | A | B |\r</i>
-<i>// | |--------+--------|\r</i>
-<i>// | | C | D |\r</i>
-<i>// +--------+--------+--------+\r</i>
-<b>var</b> table = <b>new</b> Ext.Panel({\r
- title: <em>'Table Layout'</em>,\r
- layout:<em>'table'</em>,\r
- defaults: {\r
- <i>// applied to each contained panel\r</i>
- bodyStyle:<em>'padding:20px'</em>\r
- },\r
- layoutConfig: {\r
- <i>// The total column count must be specified here\r</i>
- columns: 3\r
- },\r
- items: [{\r
- html: <em>'<p>Cell A content</p>'</em>,\r
- rowspan: 2\r
- },{\r
- html: <em>'<p>Cell B content</p>'</em>,\r
- colspan: 2\r
- },{\r
- html: <em>'<p>Cell C content</p>'</em>,\r
- cellCls: <em>'highlight'</em>\r
- },{\r
- html: <em>'<p>Cell D content</p>'</em>\r
- }]\r
-});</code></pre></div><div class="hr"></div><a id="Ext.layout.TableLayout-configs"></a><h2>Config Options</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Config Options</th><th class="msource-header">Defined By</th></tr><tr class="config-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.layout.TableLayout-columns"></a><b><a href="source/TableLayout.html#cfg-Ext.layout.TableLayout-columns">columns</a></b> : Number<div class="mdesc"><div class="short">The total number of columns to create in the table for this layout. If not specified, all Components added to \r
-this ...</div><div class="long">The total number of columns to create in the table for this layout. If not specified, all Components added to\r
-this layout will be rendered into a single row using one column per Component.</div></div></td><td class="msource">TableLayout</td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.layout.ContainerLayout-extraCls"></a><b><a href="source/ContainerLayout.html#cfg-Ext.layout.ContainerLayout-extraCls">extraCls</a></b> : String<div class="mdesc"><div class="short">An optional extra CSS class that will be added to the container. This can be useful for adding\r
+<div class="body-wrap" xmlns:ext="http://www.extjs.com"><div class="top-tools"><a class="inner-link" href="#Ext.layout.TableLayout-props"><img src="resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.layout.TableLayout-methods"><img src="resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.layout.TableLayout-events"><img src="resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="inner-link" href="#Ext.layout.TableLayout-configs"><img src="resources/images/default/s.gif" class="item-icon icon-config">Config Options</a> <a class="bookmark" href="../docs/?class=Ext.layout.TableLayout"><img src="resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div><div class="inheritance res-block"><pre class="res-block-inner"><a href="output/Ext.layout.ContainerLayout.html" ext:member="" ext:cls="Ext.layout.ContainerLayout">ContainerLayout</a> <img src="resources/elbow-end.gif">TableLayout</pre></div><h1>Class <a href="source/TableLayout.html#cls-Ext.layout.TableLayout">Ext.layout.TableLayout</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext.layout</td></tr><tr><td class="label">Defined In:</td><td class="hd-info"><a href="source/TableLayout.html#cls-Ext.layout.TableLayout">TableLayout.js</a></td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/TableLayout.html#cls-Ext.layout.TableLayout">TableLayout</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info"><a href="output/Ext.layout.ContainerLayout.html" ext:cls="Ext.layout.ContainerLayout" ext:member="">ContainerLayout</a></td></tr></table><div class="description"><p>This layout allows you to easily render content into an HTML table. The total number of columns can be
+specified, and rowspan and colspan can be used to create complex layouts within the table.
+This class is intended to be extended or created via the layout:'table' <a href="output/Ext.Container.html#Ext.Container-layout" ext:member="layout" ext:cls="Ext.Container">Ext.Container.layout</a> config,
+and should generally not need to be created directly via the new keyword.</p>
+<p>Note that when creating a layout via config, the layout-specific config properties must be passed in via
+the <a href="output/Ext.Container.html#Ext.Container-layoutConfig" ext:member="layoutConfig" ext:cls="Ext.Container">Ext.Container.layoutConfig</a> object which will then be applied internally to the layout. In the
+case of TableLayout, the only valid layout config property is <a href="output/Ext.layout.TableLayout.html#Ext.layout.TableLayout-columns" ext:member="columns" ext:cls="Ext.layout.TableLayout">columns</a>. However, the items added to a
+TableLayout can supply the following table-specific config properties:</p>
+<ul>
+<li><b>rowspan</b> Applied to the table cell containing the item.</li>
+<li><b>colspan</b> Applied to the table cell containing the item.</li>
+<li><b>cellId</b> An id applied to the table cell containing the item.</li>
+<li><b>cellCls</b> A CSS class name added to the table cell containing the item.</li>
+</ul>
+<p>The basic concept of building up a TableLayout is conceptually very similar to building up a standard
+HTML table. You simply add each panel (or "cell") that you want to include along with any span attributes
+specified as the special config properties of rowspan and colspan which work exactly like their HTML counterparts.
+Rather than explicitly creating and nesting rows and columns as you would in HTML, you simply specify the
+total column count in the layoutConfig and start adding panels in their natural order from left to right,
+top to bottom. The layout will automatically figure out, based on the column count, rowspans and colspans,
+how to position each panel within the table. Just like with HTML tables, your rowspans and colspans must add
+up correctly in your overall layout or you'll end up with missing and/or extra cells! Example usage:</p>
+<pre><code><i>// This code will generate a layout table that is 3 columns by 2 rows</i>
+<i>// <b>with</b> some spanning included. The basic layout will be:</i>
+<i>// +--------+-----------------+</i>
+<i>// | A | B |</i>
+<i>// | |--------+--------|</i>
+<i>// | | C | D |</i>
+<i>// +--------+--------+--------+</i>
+<b>var</b> table = <b>new</b> Ext.Panel({
+ title: <em>'Table Layout'</em>,
+ layout:<em>'table'</em>,
+ defaults: {
+ <i>// applied to each contained panel</i>
+ bodyStyle:<em>'padding:20px'</em>
+ },
+ layoutConfig: {
+ <i>// The total column count must be specified here</i>
+ columns: 3
+ },
+ items: [{
+ html: <em>'<p>Cell A content</p>'</em>,
+ rowspan: 2
+ },{
+ html: <em>'<p>Cell B content</p>'</em>,
+ colspan: 2
+ },{
+ html: <em>'<p>Cell C content</p>'</em>,
+ cellCls: <em>'highlight'</em>
+ },{
+ html: <em>'<p>Cell D content</p>'</em>
+ }]
+});</code></pre></div><div class="hr"></div><a id="Ext.layout.TableLayout-configs"></a><h2>Config Options</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Config Options</th><th class="msource-header">Defined By</th></tr><tr class="config-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.layout.TableLayout-columns"></a><b><a href="source/TableLayout.html#cfg-Ext.layout.TableLayout-columns">columns</a></b> : Number<div class="mdesc"><div class="short">The total number of columns to create in the table for this layout. If not specified, all Components added to
+this l...</div><div class="long">The total number of columns to create in the table for this layout. If not specified, all Components added to
+this layout will be rendered into a single row using one column per Component.</div></div></td><td class="msource">TableLayout</td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.layout.ContainerLayout-extraCls"></a><b><a href="source/ContainerLayout.html#cfg-Ext.layout.ContainerLayout-extraCls">extraCls</a></b> : String<div class="mdesc"><div class="short">An optional extra CSS class that will be added to the container. This can be useful for adding