Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.grid.column.Template.html
1 <!DOCTYPE html><html><head><title>Ext.grid.column.Template | Ext JS 4.0 Documentation</title><script type="text/javascript" src="../ext-all.js"></script><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../scrollbars.css" type="text/css"><link rel="stylesheet" href="../docs.css" type="text/css"><link id="styleCss" rel="stylesheet" href="../style.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script><link rel="stylesheet" href="../prettify.css" type="text/css"><!-- link(rel: 'stylesheet', href: req.baseURL + '/css/ext4.css', type: 'text/css')--><link rel="shortcut icon" type="image/ico" href="../favicon.ico"><!--[if IE]>
2 <style type="text/css">.head-band { display: none; }
3 .header { border: 0; top: 0; left: 0px; background: url(../header.gif) repeat-x; }
4 .doc-tab .members .member a.more { background-color: #efefef; }
5 </style><link rel="stylesheet" href="/new/css/ie.css" type="text/css"><![endif]-->
6 </head><body id="ext-body" class="iScroll"><div id="notice" class="notice">For up to date documentation and features, visit 
7 <a href="http://docs.sencha.com/ext-js/4-0">http://docs.sencha.com/ext-js/4-0</a></div><div class="wrapper"><div class="head-band"></div><div class="header"><h2><a href="../index.html">Sencha Documentation</a></h2></div><div id="search"><form><input type="text" placeholder="Search" id="search-field" autocomplete="off" name="q"></form><div id="search-box"></div></div><div id="treePanel"></div><div id="container"><script type="text/javascript">
8
9     req = {
10         liveURL: '.',
11         standAloneMode: true,
12         origDocClass: 'Ext.grid.column.Template',
13         docClass: 'Ext.grid.column.Template',
14         docReq: 'Ext.grid.column.Template',
15         version: '4.0',
16         baseURL: '.',
17         baseDocURL: '.',
18         baseProdURL: '.'
19     };
20
21     clsInfo = {};
22
23
24
25 </script>
26
27 <script type="text/javascript" src="../search.js"></script>
28 <!--script type="text/javascript" src="/new/javascripts/app/examples.js"></script-->
29 <script type="text/javascript" src="../class_tree.js"></script>
30 <script type="text/javascript" src="../class_doc.js"></script>
31 <script type="text/javascript">
32     req.source = 'Template.html#Ext-grid.column.Template';
33     clsInfo = {"methods":["Template","add","addClass","addCls","addClsWithUI","addEvents","addListener","addManagedListener","addStateEvents","afterComponentLayout","alignTo","animate","applyState","beforeComponentLayout","beforeLayout","bubble","capture","cascade","center","child","clearListeners","clearManagedListeners","cloneConfig","destroy","disable","doAutoRender","doComponentLayout","doConstrain","doLayout","down","enable","enableBubble","findLayoutController","findParentBy","findParentByType","fireEvent","focus","getActiveAnimation","getBox","getBubbleTarget","getChildByElement","getColumnCount","getColumnMenu","getComponent","getEditor","getEl","getFullWidth","getGridColumns","getHeaderAtIndex","getHeaderIndex","getHeight","getId","getIndex","getInsertPosition","getLayout","getLoader","getMenuItems","getPlugin","getPosition","getSize","getSortParam","getState","getStateId","getVisibleGridColumns","getWidth","getXType","getXTypes","hasListener","hasUICls","hide","insert","is","isDescendantOf","isDisabled","isDraggable","isDroppable","isFloating","isHidden","isVisible","isXType","move","nextNode","nextSibling","observe","on","prepareData","previousNode","previousSibling","query","relayEvents","releaseCapture","remove","removeAll","removeCls","removeClsWithUI","removeListener","removeManagedListener","resumeEvents","sequenceFx","setActive","setAutoScroll","setDisabled","setDocked","setEditor","setHeight","setLoading","setPagePosition","setPosition","setSize","setUI","setVisible","setWidth","show","stopAnimation","suspendEvents","syncFx","toBack","toFront","un","up","update","updateBox"],"cfgs":["activeItem","align","autoDestroy","autoEl","autoRender","autoScroll","autoShow","baseCls","border","bubbleEvents","cls","columns","componentCls","componentLayout","contentEl","data","dataIndex","defaultType","defaultWidth","defaults","disabled","disabledCls","draggable","floating","focusOnToFront","frame","groupable","height","hidden","hideMode","hideable","html","id","itemId","items","layout","listeners","loader","maintainFlex","margin","maxHeight","maxWidth","menuDisabled","minHeight","minWidth","overCls","padding","plugins","renderSelectors","renderTo","renderTpl","renderer","resizable","resizeHandles","saveBuffer","shadow","sortable","stateEvents","stateId","stateful","style","styleHtmlCls","styleHtmlContent","suspendLayout","tdCls","text","toFrontOnShow","tpl","tplWriteMode","ui","weight","width"],"properties":["draggable","floatParent","frameSize","hasActiveFx","isGroupHeader","items","maskOnDisable","ownerCt","rendered","stopFx","textEl","triggerEl","zIndexManager"],"events":["activate","add","added","afterlayout","afterrender","beforeactivate","beforeadd","beforecardswitch","beforedeactivate","beforedestroy","beforehide","beforeremove","beforerender","beforeshow","beforestaterestore","beforestatesave","cardswitch","columnhide","columnmove","columnresize","columnshow","deactivate","destroy","disable","enable","headerclick","headertriggerclick","hide","menucreate","move","remove","removed","render","resize","show","sortchange","staterestore","statesave"],"subclasses":[]};
34     Ext.onReady(function() {
35         Ext.create('Docs.classPanel');
36     });
37 </script><div id="top-block" class="top-block"><h1 id="clsTitle" class="comp"><a href="../source/Template.html#Ext-grid.column.Template" target="_blank">Ext.grid.column.Template</a><span>xtype: templatecolumn</span></h1></div><div id="docContent"><div id="doc-overview-content"><div class="lft"><pre class="subclasses"><h4>Hierarchy</h4><div class="subclass f"><a href="Ext.AbstractComponent.html" rel="Ext.AbstractComponent" class="cls docClass">Ext.AbstractComponent</a><div class="subclass"><a href="Ext.Component.html" rel="Ext.Component" class="cls docClass">Ext.Component</a><div class="subclass"><a href="Ext.container.AbstractContainer.html" rel="Ext.container.AbstractContainer" class="cls docClass">Ext.container.AbstractContainer</a><div class="subclass"><a href="Ext.container.Container.html" rel="Ext.container.Container" class="cls docClass">Ext.container.Container</a><div class="subclass"><a href="Ext.grid.header.Container.html" rel="Ext.grid.header.Container" class="cls docClass">Ext.grid.header.Container</a><div class="subclass"><a href="Ext.grid.column.Column.html" rel="Ext.grid.column.Column" class="cls docClass">Ext.grid.column.Column</a><div class="subclass"><strong>Ext.grid.column.Template</strong></div></div></div></div></div></div></div><h4>Mixins</h4><div class="mixin"><a href="Ext.util.Observable.html" rel="Ext.util.Observable" class="cls docClass">Ext.util.Observable</a></div><div class="mixin"><a href="Ext.util.Animate.html" rel="Ext.util.Animate" class="cls docClass">Ext.util.Animate</a></div><div class="mixin"><a href="Ext.state.Stateful.html" rel="Ext.state.Stateful" class="cls docClass">Ext.state.Stateful</a></div><div class="mixin"><a href="Ext.util.Floating.html" rel="Ext.util.Floating" class="cls docClass">Ext.util.Floating</a></div></pre><p>A Column definition class which renders a value by processing a <a href="Ext.data.Model.html" rel="Ext.data.Model" class="docClass">Model</a>'s
38 <a href="Ext.data.Model.html#data" rel="Ext.data.Model#data" class="docClass">data</a> using a <a href="Ext.grid.column.Template.html#tpl" rel="Ext.grid.column.Template#tpl" class="docClass">configured</a> <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">XTemplate</a>.</p>
39
40 <p> <img class="screenshot" src="../Ext.grid.column.Template.png" alt="Ext.grid.column.Template grid column" /></p>
41
42 <h2>Code</h2>
43
44 <pre class="prettyprint"><code>Ext.create('Ext.data.Store', {
45     storeId:'employeeStore',
46     fields:['firstname', 'lastname', 'senority', 'department'],
47     groupField: 'department',
48     data:[
49         {firstname:"Michael", lastname:"Scott", senority:7, department:"Manangement"},
50         {firstname:"Dwight", lastname:"Schrute", senority:2, department:"Sales"},
51         {firstname:"Jim", lastname:"Halpert", senority:3, department:"Sales"},
52         {firstname:"Kevin", lastname:"Malone", senority:4, department:"Accounting"},
53         {firstname:"Angela", lastname:"Martin", senority:5, department:"Accounting"}                        
54     ]
55 });
56
57 Ext.create('Ext.grid.Panel', {
58     title: 'Column Template Demo',
59     store: Ext.data.StoreManager.lookup('employeeStore'),
60     columns: [
61         {text: 'Full Name',  xtype:'templatecolumn', tpl:'{firstname} {lastname}', flex:1},
62         {text: 'Deparment (Yrs)', xtype:'templatecolumn', tpl:'{department} ({senority})'}
63     ],
64     height: 200,
65     width: 300,
66     renderTo: Ext.getBody()
67 });
68 </code></pre>
69 <div class="members"><div class="m-cfgs"><div class="definedBy">Defined By</div><a name="configs"></a><h3 class="cfg p">Config Options</h3><h4 class="cfgGroup">CSS Class configs</h4><div id="config-baseCls" class="member f inherited"><a href="Ext.grid.column.Template.html#config-baseCls" rel="config-baseCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.grid.column.Template.html#" rel="config-baseCls" class="cls expand">baseCls</a><span> : String</span></div><div class="description"><div class="short">The base CSS class to apply to this components's element. This will also be prepended to
70 elements within this compone...</div><div class="long"><p>The base CSS class to apply to this components's element. This will also be prepended to
71 elements within this component like Panel's body will get a class x-panel-body. This means
72 that if you create a subclass of Panel, and you want it to get all the Panels styling for the
73 element and the body, you leave the baseCls x-panel and use componentCls to add specific styling for this
74 component.</p>
75 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.grid.column.Template.html#config-cls" rel="config-cls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-cls" class="viewSource">view source</a></div><a name="cls"></a><a name="config-cls"></a><a href="Ext.grid.column.Template.html#" rel="config-cls" class="cls expand">cls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
76 useful for ...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
77 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
78 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.grid.column.Template.html#config-componentCls" rel="config-componentCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-componentCls" class="viewSource">view source</a></div><a name="componentCls"></a><a name="config-componentCls"></a><a href="Ext.grid.column.Template.html#" rel="config-componentCls" class="cls expand">componentCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS Class to be added to a components root level element to give distinction to it
79 via styling.</p>
80 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
81 via styling.</p>
82 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.grid.column.Template.html#config-disabledCls" rel="config-disabledCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-disabledCls" class="viewSource">view source</a></div><a name="disabledCls"></a><a name="config-disabledCls"></a><a href="Ext.grid.column.Template.html#" rel="config-disabledCls" class="cls expand">disabledCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
83 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
84 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.grid.column.Template.html#config-overCls" rel="config-overCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-overCls" class="viewSource">view source</a></div><a name="overCls"></a><a name="config-overCls"></a><a href="Ext.grid.column.Template.html#" rel="config-overCls" class="cls expand">overCls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves
85 over the Element, and...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element when the mouse moves
86 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
87 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
88 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.grid.column.Template.html#config-styleHtmlCls" rel="config-styleHtmlCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlCls" class="viewSource">view source</a></div><a name="styleHtmlCls"></a><a name="config-styleHtmlCls"></a><a href="Ext.grid.column.Template.html#" rel="config-styleHtmlCls" class="cls expand">styleHtmlCls</a><span> : String</span></div><div class="description"><div class="short"><p>The class that is added to the content target when you set styleHtmlContent to true.
89 Defaults to 'x-html'</p>
90 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
91 Defaults to 'x-html'</p>
92 </div></div></div><div id="config-tdCls" class="member inherited"><a href="Ext.grid.column.Template.html#config-tdCls" rel="config-tdCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-cfg-tdCls" class="viewSource">view source</a></div><a name="tdCls"></a><a name="config-tdCls"></a><a href="Ext.grid.column.Template.html#" rel="config-tdCls" class="cls expand">tdCls</a><span> : String</span></div><div class="description"><div class="short"><p>Optional. A CSS class names to apply to the table cells for this column.</p>
93
94 </div><div class="long"><p>Optional. A CSS class names to apply to the table cells for this column.</p>
95
96 </div></div></div><h4 class="cfgGroup">Other Configs</h4><div id="config-activeItem" class="member f inherited"><a href="Ext.grid.column.Template.html#config-activeItem" rel="config-activeItem" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-activeItem" class="viewSource">view source</a></div><a name="activeItem"></a><a name="config-activeItem"></a><a href="Ext.grid.column.Template.html#" rel="config-activeItem" class="cls expand">activeItem</a><span> : String/Number</span></div><div class="description"><div class="short">A string component id or the numeric index of the component that should be initially activated within the
97 container's...</div><div class="long"><p>A string component id or the numeric index of the component that should be initially activated within the
98 container's layout on render.  For example, activeItem: 'item-1' or activeItem: 0 (index 0 = the first
99 item in the container's collection).  activeItem only applies to layout styles that can display
100 items one at a time (like <a href="Ext.layout.container.Card.html" rel="Ext.layout.container.Card" class="docClass">Ext.layout.container.Card</a> and <a href="Ext.layout.container.Fit.html" rel="Ext.layout.container.Fit" class="docClass">Ext.layout.container.Fit</a>).</p>
101 </div></div></div><div id="config-align" class="member inherited"><a href="Ext.grid.column.Template.html#config-align" rel="config-align" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-cfg-align" class="viewSource">view source</a></div><a name="align"></a><a name="config-align"></a><a href="Ext.grid.column.Template.html#" rel="config-align" class="cls expand">align</a><span> : String</span></div><div class="description"><div class="short"><p>Sets the alignment of the header and rendered columns.
102 Defaults to 'left'.</p>
103 </div><div class="long"><p>Sets the alignment of the header and rendered columns.
104 Defaults to 'left'.</p>
105 </div></div></div><div id="config-autoDestroy" class="member inherited"><a href="Ext.grid.column.Template.html#config-autoDestroy" rel="config-autoDestroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-autoDestroy" class="viewSource">view source</a></div><a name="autoDestroy"></a><a name="config-autoDestroy"></a><a href="Ext.grid.column.Template.html#" rel="config-autoDestroy" class="cls expand">autoDestroy</a><span> : Boolean</span></div><div class="description"><div class="short">If true the container will automatically destroy any contained component that is removed from it, else
106 destruction mu...</div><div class="long"><p>If true the container will automatically destroy any contained component that is removed from it, else
107 destruction must be handled manually.
108 Defaults to true.</p>
109 </div></div></div><div id="config-autoEl" class="member inherited"><a href="Ext.grid.column.Template.html#config-autoEl" rel="config-autoEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-autoEl" class="viewSource">view source</a></div><a name="autoEl"></a><a name="config-autoEl"></a><a href="Ext.grid.column.Template.html#" rel="config-autoEl" class="cls expand">autoEl</a><span> : Mixed</span></div><div class="description"><div class="short">A tag name or DomHelper spec used to create the Element which will
110 encapsulate this Component.
111
112
113 You do not normally ...</div><div class="long"><p>A tag name or <a href="Ext.core.DomHelper.html" rel="Ext.core.DomHelper" class="docClass">DomHelper</a> spec used to create the <a href="Ext.grid.column.Template.html#getEl" rel="Ext.grid.column.Template#getEl" class="docClass">Element</a> which will
114 encapsulate this Component.</p>
115
116
117 <p>You do not normally need to specify this. For the base classes <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> and <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Ext.container.Container</a>,
118 this defaults to <b><tt>'div'</tt></b>. The more complex Sencha classes use a more complex
119 DOM structure specified by their own <a href="Ext.grid.column.Template.html#renderTpl" rel="Ext.grid.column.Template#renderTpl" class="docClass">renderTpl</a>s.</p>
120
121
122 <p>This is intended to allow the developer to create application-specific utility Components encapsulated by
123 different DOM elements. Example usage:</p>
124
125
126 <pre><code>{
127     xtype: 'component',
128     autoEl: {
129         tag: 'img',
130         src: 'http://www.example.com/example.jpg'
131     }
132 }, {
133     xtype: 'component',
134     autoEl: {
135         tag: 'blockquote',
136         html: 'autoEl is cool!'
137     }
138 }, {
139     xtype: 'container',
140     autoEl: 'ul',
141     cls: 'ux-unordered-list',
142     items: {
143         xtype: 'component',
144         autoEl: 'li',
145         html: 'First list item'
146     }
147 }
148 </code></pre>
149
150 </div></div></div><div id="config-autoRender" class="member inherited"><a href="Ext.grid.column.Template.html#config-autoRender" rel="config-autoRender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-autoRender" class="viewSource">view source</a></div><a name="autoRender"></a><a name="config-autoRender"></a><a href="Ext.grid.column.Template.html#" rel="config-autoRender" class="cls expand">autoRender</a><span> : Mixed</span></div><div class="description"><div class="short">This config is intended mainly for floating Components which may or may not be shown. Instead
151 of using renderTo in th...</div><div class="long"><p>This config is intended mainly for <a href="Ext.grid.column.Template.html#floating" rel="Ext.grid.column.Template#floating" class="docClass">floating</a> Components which may or may not be shown. Instead
152 of using <a href="Ext.grid.column.Template.html#renderTo" rel="Ext.grid.column.Template#renderTo" class="docClass">renderTo</a> in the configuration, and rendering upon construction, this allows a Component
153 to render itself upon first <i><a href="Ext.grid.column.Template.html#show" rel="Ext.grid.column.Template#show" class="docClass">show</a></i>.</p>
154
155
156 <p>Specify as <code>true</code> to have this Component render to the document body upon first show.</p>
157
158
159 <p>Specify as an element, or the ID of an element to have this Component render to a specific element upon first show.</p>
160
161
162 <p><b>This defaults to <code>true</code> for the <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a> class.</b></p>
163
164 </div></div></div><div id="config-autoScroll" class="member inherited"><a href="Ext.grid.column.Template.html#config-autoScroll" rel="config-autoScroll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-autoScroll" class="viewSource">view source</a></div><a name="autoScroll"></a><a name="config-autoScroll"></a><a href="Ext.grid.column.Template.html#" rel="config-autoScroll" class="cls expand">autoScroll</a><span> : Boolean</span></div><div class="description"><div class="short">true to use overflow:'auto' on the components layout element and show scroll bars automatically when
165 necessary, false...</div><div class="long"><p><code>true</code> to use overflow:'auto' on the components layout element and show scroll bars automatically when
166 necessary, <code>false</code> to clip any overflowing content (defaults to <code>false</code>).</p>
167 </div></div></div><div id="config-autoShow" class="member inherited"><a href="Ext.grid.column.Template.html#config-autoShow" rel="config-autoShow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-autoShow" class="viewSource">view source</a></div><a name="autoShow"></a><a name="config-autoShow"></a><a href="Ext.grid.column.Template.html#" rel="config-autoShow" class="cls expand">autoShow</a><span> : Boolean</span></div><div class="description"><div class="short">True to automatically show the component upon creation.
168 This config option may only be used for floating components o...</div><div class="long"><p>True to automatically show the component upon creation.
169 This config option may only be used for <a href="Ext.grid.column.Template.html#floating" rel="Ext.grid.column.Template#floating" class="docClass">floating</a> components or components
170 that use <a href="Ext.grid.column.Template.html#autoRender" rel="Ext.grid.column.Template#autoRender" class="docClass">autoRender</a>. Defaults to <tt>false</tt>.</p>
171 </div></div></div><div id="config-baseCls" class="member inherited"><a href="Ext.grid.column.Template.html#config-baseCls" rel="config-baseCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.grid.column.Template.html#" rel="config-baseCls" class="cls expand">baseCls</a><span> : String</span></div><div class="description"><div class="short">The base CSS class to apply to this components's element. This will also be prepended to
172 elements within this compone...</div><div class="long"><p>The base CSS class to apply to this components's element. This will also be prepended to
173 elements within this component like Panel's body will get a class x-panel-body. This means
174 that if you create a subclass of Panel, and you want it to get all the Panels styling for the
175 element and the body, you leave the baseCls x-panel and use componentCls to add specific styling for this
176 component.</p>
177 </div></div></div><div id="config-border" class="member inherited"><a href="Ext.grid.column.Template.html#config-border" rel="config-border" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-border" class="viewSource">view source</a></div><a name="border"></a><a name="config-border"></a><a href="Ext.grid.column.Template.html#" rel="config-border" class="cls expand">border</a><span> : Number/String</span></div><div class="description"><div class="short">Specifies the border for this component. The border can be a single numeric value to apply to all sides or
178 it can be ...</div><div class="long"><p>Specifies the border for this component. The border can be a single numeric value to apply to all sides or
179 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
180 </div></div></div><div id="config-bubbleEvents" class="member inherited"><a href="Ext.grid.column.Template.html#config-bubbleEvents" rel="config-bubbleEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-bubbleEvents" class="viewSource">view source</a></div><a name="bubbleEvents"></a><a name="config-bubbleEvents"></a><a href="Ext.grid.column.Template.html#" rel="config-bubbleEvents" class="cls expand">bubbleEvents</a><span> : Array</span></div><div class="description"><div class="short">An array of events that, when fired, should be bubbled to any parent container.
181 See Ext.util.Observable.enableBubble....</div><div class="long"><p>An array of events that, when fired, should be bubbled to any parent container.
182 See <a href="Ext.util.Observable.html#enableBubble" rel="Ext.util.Observable#enableBubble" class="docClass">Ext.util.Observable.enableBubble</a>.
183 Defaults to <code>['add', 'remove']</code>.
184
185 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.grid.column.Template.html#config-cls" rel="config-cls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-cls" class="viewSource">view source</a></div><a name="cls"></a><a name="config-cls"></a><a href="Ext.grid.column.Template.html#" rel="config-cls" class="cls expand">cls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
186 useful for ...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element (defaults to '').  This can be
187 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
188 </div></div></div><div id="config-columns" class="member inherited"><a href="Ext.grid.column.Template.html#config-columns" rel="config-columns" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-cfg-columns" class="viewSource">view source</a></div><a name="columns"></a><a name="config-columns"></a><a href="Ext.grid.column.Template.html#" rel="config-columns" class="cls expand">columns</a><span> : Array</span></div><div class="description"><div class="short">An optional array of sub-column definitions. This column becomes a group, and houses the columns defined in the colum...</div><div class="long"><p>An optional array of sub-column definitions. This column becomes a group, and houses the columns defined in the <code>columns</code> config.</p>
189
190
191 <p>Group columns may not be sortable. But they may be hideable and moveable. And you may move headers into and out of a group. Note that
192 if all sub columns are dragged out of a group, the group is destroyed.
193
194 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.grid.column.Template.html#config-componentCls" rel="config-componentCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-componentCls" class="viewSource">view source</a></div><a name="componentCls"></a><a name="config-componentCls"></a><a href="Ext.grid.column.Template.html#" rel="config-componentCls" class="cls expand">componentCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS Class to be added to a components root level element to give distinction to it
195 via styling.</p>
196 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
197 via styling.</p>
198 </div></div></div><div id="config-componentLayout" class="member inherited"><a href="Ext.grid.column.Template.html#config-componentLayout" rel="config-componentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-componentLayout" class="viewSource">view source</a></div><a name="componentLayout"></a><a name="config-componentLayout"></a><a href="Ext.grid.column.Template.html#" rel="config-componentLayout" class="cls expand">componentLayout</a><span> : String/Object</span></div><div class="description"><div class="short">The sizing and positioning of a Component's internal Elements is the responsibility of
199 the Component's layout manager...</div><div class="long"><p>The sizing and positioning of a Component's internal Elements is the responsibility of
200 the Component's layout manager which sizes a Component's internal structure in response to the Component being sized.</p>
201
202
203 <p>Generally, developers will not use this configuration as all provided Components which need their internal
204 elements sizing (Such as <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">input fields</a>) come with their own componentLayout managers.</p>
205
206
207 <p>The <a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">default layout manager</a> will be used on instances of the base <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> class
208 which simply sizes the Component's encapsulating element to the height and width specified in the <a href="Ext.grid.column.Template.html#setSize" rel="Ext.grid.column.Template#setSize" class="docClass">setSize</a> method.</p>
209
210 </div></div></div><div id="config-contentEl" class="member inherited"><a href="Ext.grid.column.Template.html#config-contentEl" rel="config-contentEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-contentEl" class="viewSource">view source</a></div><a name="contentEl"></a><a name="config-contentEl"></a><a href="Ext.grid.column.Template.html#" rel="config-contentEl" class="cls expand">contentEl</a><span> : String</span></div><div class="description"><div class="short">Optional. Specify an existing HTML element, or the id of an existing HTML element to use as the content
211 for this comp...</div><div class="long"><p>Optional. Specify an existing HTML element, or the <code>id</code> of an existing HTML element to use as the content
212 for this component.</p>
213
214
215 <ul>
216 <li><b>Description</b> :
217 <div class="sub-desc">This config option is used to take an existing HTML element and place it in the layout element
218 of a new component (it simply moves the specified DOM element <i>after the Component is rendered</i> to use as the content.</div></li>
219 <li><b>Notes</b> :
220 <div class="sub-desc">The specified HTML element is appended to the layout element of the component <i>after any configured
221 <a href="Ext.grid.column.Template.html#html" rel="Ext.grid.column.Template#html" class="docClass">HTML</a> has been inserted</i>, and so the document will not contain this element at the time the <a href="Ext.grid.column.Template.html#render" rel="Ext.grid.column.Template#render" class="docClass">render</a> event is fired.</div>
222 <div class="sub-desc">The specified HTML element used will not participate in any <code><b><a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout</a></b></code>
223 scheme that the Component may use. It is just HTML. Layouts operate on child <code><b><a href="Ext.container.Container.html#items" rel="Ext.container.Container#items" class="docClass">items</a></b></code>.</div>
224 <div class="sub-desc">Add either the <code>x-hidden</code> or the <code>x-hide-display</code> CSS class to
225 prevent a brief flicker of the content before it is rendered to the panel.</div></li>
226 </ul>
227
228 </div></div></div><div id="config-data" class="member inherited"><a href="Ext.grid.column.Template.html#config-data" rel="config-data" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-data" class="viewSource">view source</a></div><a name="data"></a><a name="config-data"></a><a href="Ext.grid.column.Template.html#" rel="config-data" class="cls expand">data</a><span> : Mixed</span></div><div class="description"><div class="short"><p>The initial set of data to apply to the <code><a href="Ext.grid.column.Template.html#tpl" rel="Ext.grid.column.Template#tpl" class="docClass">tpl</a></code> to
229 update the content area of the Component.</p>
230 </div><div class="long"><p>The initial set of data to apply to the <code><a href="Ext.grid.column.Template.html#tpl" rel="Ext.grid.column.Template#tpl" class="docClass">tpl</a></code> to
231 update the content area of the Component.</p>
232 </div></div></div><div id="config-dataIndex" class="member inherited"><a href="Ext.grid.column.Template.html#config-dataIndex" rel="config-dataIndex" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-cfg-dataIndex" class="viewSource">view source</a></div><a name="dataIndex"></a><a name="config-dataIndex"></a><a href="Ext.grid.column.Template.html#" rel="config-dataIndex" class="cls expand">dataIndex</a><span> : String</span></div><div class="description"><div class="short">Required. The name of the field in the
233 grid's Ext.data.Store's Ext.data.Model definition from
234 which to draw the colum...</div><div class="long"><p><b>Required</b>. The name of the field in the
235 grid's <a href="Ext.data.Store.html" rel="Ext.data.Store" class="docClass">Ext.data.Store</a>'s <a href="Ext.data.Model.html" rel="Ext.data.Model" class="docClass">Ext.data.Model</a> definition from
236 which to draw the column's value.</p>
237
238 </div></div></div><div id="config-defaultType" class="member inherited"><a href="Ext.grid.column.Template.html#config-defaultType" rel="config-defaultType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-defaultType" class="viewSource">view source</a></div><a name="defaultType"></a><a name="config-defaultType"></a><a href="Ext.grid.column.Template.html#" rel="config-defaultType" class="cls expand">defaultType</a><span> : String</span></div><div class="description"><div class="short">The default xtype of child Components to create in this Container when
239 a child item is specified as a raw configurati...</div><div class="long"><p>The default <a href="Ext.Component.html" rel="Ext.Component" class="docClass">xtype</a> of child Components to create in this Container when
240 a child item is specified as a raw configuration object, rather than as an instantiated Component.</p>
241
242
243 <p>Defaults to <code>'panel'</code>.</p>
244
245 </div></div></div><div id="config-defaultWidth" class="member inherited"><a href="Ext.grid.column.Template.html#config-defaultWidth" rel="config-defaultWidth" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-cfg-defaultWidth" class="viewSource">view source</a></div><a name="defaultWidth"></a><a name="config-defaultWidth"></a><a href="Ext.grid.column.Template.html#" rel="config-defaultWidth" class="cls expand">defaultWidth</a><span> : Number</span></div><div class="description"><div class="short"><p>Width of the header if no width or flex is specified. Defaults to 100.</p>
246 </div><div class="long"><p>Width of the header if no width or flex is specified. Defaults to 100.</p>
247 </div></div></div><div id="config-defaults" class="member inherited"><a href="Ext.grid.column.Template.html#config-defaults" rel="config-defaults" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-defaults" class="viewSource">view source</a></div><a name="defaults"></a><a name="config-defaults"></a><a href="Ext.grid.column.Template.html#" rel="config-defaults" class="cls expand">defaults</a><span> : Object|Function</span></div><div class="description"><div class="short">This option is a means of applying default settings to all added items whether added through the items
248 config or via ...</div><div class="long"><p>This option is a means of applying default settings to all added items whether added through the <a href="Ext.grid.column.Template.html#items" rel="Ext.grid.column.Template#items" class="docClass">items</a>
249 config or via the <a href="Ext.grid.column.Template.html#add" rel="Ext.grid.column.Template#add" class="docClass">add</a> or <a href="Ext.grid.column.Template.html#insert" rel="Ext.grid.column.Template#insert" class="docClass">insert</a> methods.</p>
250
251
252 <p>If an added item is a config object, and <b>not</b> an instantiated Component, then the default properties are
253 unconditionally applied. If the added item <b>is</b> an instantiated Component, then the default properties are
254 applied conditionally so as not to override existing properties in the item.</p>
255
256
257 <p>If the defaults option is specified as a function, then the function will be called using this Container as the
258 scope (<code>this</code> reference) and passing the added item as the first parameter. Any resulting object
259 from that call is then applied to the item as default properties.</p>
260
261
262 <p>For example, to automatically apply padding to the body of each of a set of
263 contained <a href="Ext.panel.Panel.html" rel="Ext.panel.Panel" class="docClass">Ext.panel.Panel</a> items, you could pass: <code>defaults: {bodyStyle:'padding:15px'}</code>.</p>
264
265
266 <p>Usage:</p>
267
268
269 <pre><code>defaults: {               // defaults are applied to items, not the container
270     autoScroll:true
271 },
272 items: [
273     {
274         xtype: 'panel',   // defaults <b>do not</b> have precedence over
275         id: 'panel1',     // options in config objects, so the defaults
276         autoScroll: false // will not be applied here, panel1 will be autoScroll:false
277     },
278     new Ext.panel.Panel({       // defaults <b>do</b> have precedence over options
279         id: 'panel2',     // options in components, so the defaults
280         autoScroll: false // will be applied here, panel2 will be autoScroll:true.
281     })
282 ]</code></pre>
283
284 </div></div></div><div id="config-disabled" class="member inherited"><a href="Ext.grid.column.Template.html#config-disabled" rel="config-disabled" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-disabled" class="viewSource">view source</a></div><a name="disabled"></a><a name="config-disabled"></a><a href="Ext.grid.column.Template.html#" rel="config-disabled" class="cls expand">disabled</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to false.</p>
285 </div><div class="long"><p>Defaults to false.</p>
286 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.grid.column.Template.html#config-disabledCls" rel="config-disabledCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-disabledCls" class="viewSource">view source</a></div><a name="disabledCls"></a><a name="config-disabledCls"></a><a href="Ext.grid.column.Template.html#" rel="config-disabledCls" class="cls expand">disabledCls</a><span> : String</span></div><div class="description"><div class="short"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
287 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
288 </div></div></div><div id="config-draggable" class="member inherited"><a href="Ext.grid.column.Template.html#config-draggable" rel="config-draggable" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-cfg-draggable" class="viewSource">view source</a></div><a name="draggable"></a><a name="config-draggable"></a><a href="Ext.grid.column.Template.html#" rel="config-draggable" class="cls expand">draggable</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Indicates whether or not the header can be drag and drop re-ordered.
289 Defaults to true.</p>
290 </div><div class="long"><p>Indicates whether or not the header can be drag and drop re-ordered.
291 Defaults to true.</p>
292 </div></div></div><div id="config-floating" class="member inherited"><a href="Ext.grid.column.Template.html#config-floating" rel="config-floating" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-floating" class="viewSource">view source</a></div><a name="floating"></a><a name="config-floating"></a><a href="Ext.grid.column.Template.html#" rel="config-floating" class="cls expand">floating</a><span> : Boolean</span></div><div class="description"><div class="short">Specify as true to float the Component outside of the document flow using CSS absolute positioning.
293
294
295 Components such...</div><div class="long"><p>Specify as true to float the Component outside of the document flow using CSS absolute positioning.</p>
296
297
298 <p>Components such as <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s and <a href="Ext.menu.Menu.html" rel="Ext.menu.Menu" class="docClass">Menu</a>s are floating
299 by default.</p>
300
301
302 <p>Floating Components that are programatically <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a> will register themselves with the global
303 <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a></p>
304
305
306 <h3 class="pa">Floating Components as child items of a Container</h3>
307
308
309 <p>A floating Component may be used as a child item of a Container. This just allows the floating Component to seek a ZIndexManager by
310 examining the ownerCt chain.</p>
311
312
313 <p>When configured as floating, Components acquire, at render time, a <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a> which manages a stack
314 of related floating Components. The ZIndexManager brings a single floating Component to the top of its stack when
315 the Component's <a href="Ext.grid.column.Template.html#toFront" rel="Ext.grid.column.Template#toFront" class="docClass">toFront</a> method is called.</p>
316
317
318 <p>The ZIndexManager is found by traversing up the <a href="Ext.grid.column.Template.html#ownerCt" rel="Ext.grid.column.Template#ownerCt" class="docClass">ownerCt</a> chain to find an ancestor which itself is floating. This is so that
319 descendant floating Components of floating <i>Containers</i> (Such as a ComboBox dropdown within a Window) can have its zIndex managed relative
320 to any siblings, but always <b>above</b> that floating ancestor Container.</p>
321
322
323 <p>If no floating ancestor is found, a floating Component registers itself with the default <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a>.</p>
324
325
326 <p>Floating components <i>do not participate in the Container's layout</i>. Because of this, they are not rendered until you explicitly
327 <a href="Ext.grid.column.Template.html#show" rel="Ext.grid.column.Template#show" class="docClass">show</a> them.</p>
328
329
330 <p>After rendering, the ownerCt reference is deleted, and the <a href="Ext.grid.column.Template.html#floatParent" rel="Ext.grid.column.Template#floatParent" class="docClass">floatParent</a> property is set to the found floating ancestor Container.
331 If no floating ancestor Container was found the <a href="Ext.grid.column.Template.html#floatParent" rel="Ext.grid.column.Template#floatParent" class="docClass">floatParent</a> property will not be set.</p>
332
333 </div></div></div><div id="config-focusOnToFront" class="member inherited"><a href="Ext.grid.column.Template.html#config-focusOnToFront" rel="config-focusOnToFront" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-cfg-focusOnToFront" class="viewSource">view source</a></div><a name="focusOnToFront"></a><a name="config-focusOnToFront"></a><a href="Ext.grid.column.Template.html#" rel="config-focusOnToFront" class="cls expand">focusOnToFront</a><span> : Boolean</span></div><div class="description"><div class="short">Specifies whether the floated component should be automatically focused when it is
334 brought to the front. Defaults to ...</div><div class="long"><p>Specifies whether the floated component should be automatically <a href="Ext.grid.column.Template.html#focus" rel="Ext.grid.column.Template#focus" class="docClass">focused</a> when it is
335 <a href="Ext.grid.column.Template.html#toFront" rel="Ext.grid.column.Template#toFront" class="docClass">brought to the front</a>. Defaults to true.</p>
336 </div></div></div><div id="config-frame" class="member inherited"><a href="Ext.grid.column.Template.html#config-frame" rel="config-frame" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-frame" class="viewSource">view source</a></div><a name="frame"></a><a name="config-frame"></a><a href="Ext.grid.column.Template.html#" rel="config-frame" class="cls expand">frame</a><span> : Boolean</span></div><div class="description"><div class="short">Specify as true to have the Component inject framing elements within the Component at render time to
337 provide a graphi...</div><div class="long"><p>Specify as <code>true</code> to have the Component inject framing elements within the Component at render time to
338 provide a graphical rounded frame around the Component content.</p>
339
340
341 <p>This is only necessary when running on outdated, or non standard-compliant browsers such as Microsoft's Internet Explorer
342 prior to version 9 which do not support rounded corners natively.</p>
343
344
345 <p>The extra space taken up by this framing is available from the read only property <a href="Ext.grid.column.Template.html#frameSize" rel="Ext.grid.column.Template#frameSize" class="docClass">frameSize</a>.</p>
346
347 </div></div></div><div id="config-groupable" class="member inherited"><a href="Ext.grid.column.Template.html#config-groupable" rel="config-groupable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-cfg-groupable" class="viewSource">view source</a></div><a name="groupable"></a><a name="config-groupable"></a><a href="Ext.grid.column.Template.html#" rel="config-groupable" class="cls expand">groupable</a><span> : Boolean</span></div><div class="description"><div class="short">Optional. If the grid uses a Ext.grid.feature.Grouping, this option
348 may be used to disable the header menu item to gr...</div><div class="long"><p>Optional. If the grid uses a <a href="Ext.grid.feature.Grouping.html" rel="Ext.grid.feature.Grouping" class="docClass">Ext.grid.feature.Grouping</a>, this option
349 may be used to disable the header menu item to group by the column selected. By default,
350 the header menu group option is enabled. Set to false to disable (but still show) the
351 group option in the header menu for the column.</p>
352 </div></div></div><div id="config-height" class="member inherited"><a href="Ext.grid.column.Template.html#config-height" rel="config-height" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-height" class="viewSource">view source</a></div><a name="height"></a><a name="config-height"></a><a href="Ext.grid.column.Template.html#" rel="config-height" class="cls expand">height</a><span> : Number</span></div><div class="description"><div class="short"><p>The height of this component in pixels.</p>
353 </div><div class="long"><p>The height of this component in pixels.</p>
354 </div></div></div><div id="config-hidden" class="member inherited"><a href="Ext.grid.column.Template.html#config-hidden" rel="config-hidden" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-hidden" class="viewSource">view source</a></div><a name="hidden"></a><a name="config-hidden"></a><a href="Ext.grid.column.Template.html#" rel="config-hidden" class="cls expand">hidden</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to false.</p>
355 </div><div class="long"><p>Defaults to false.</p>
356 </div></div></div><div id="config-hideMode" class="member inherited"><a href="Ext.grid.column.Template.html#config-hideMode" rel="config-hideMode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-hideMode" class="viewSource">view source</a></div><a name="hideMode"></a><a name="config-hideMode"></a><a href="Ext.grid.column.Template.html#" rel="config-hideMode" class="cls expand">hideMode</a><span> : String</span></div><div class="description"><div class="short">A String which specifies how this Component's encapsulating DOM element will be hidden.
357 Values may be
358 'display' : The...</div><div class="long"><p>A String which specifies how this Component's encapsulating DOM element will be hidden.
359 Values may be<div class="mdetail-params"><ul>
360 <li><code>'display'</code> : The Component will be hidden using the <code>display: none</code> style.</li>
361 <li><code>'visibility'</code> : The Component will be hidden using the <code>visibility: hidden</code> style.</li>
362 <li><code>'offsets'</code> : The Component will be hidden by absolutely positioning it out of the visible area of the document. This
363 is useful when a hidden Component must maintain measurable dimensions. Hiding using <code>display</code> results
364 in a Component having zero dimensions.</li></ul></div>
365 Defaults to <code>'display'</code>.</p>
366 </div></div></div><div id="config-hideable" class="member inherited"><a href="Ext.grid.column.Template.html#config-hideable" rel="config-hideable" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-cfg-hideable" class="viewSource">view source</a></div><a name="hideable"></a><a name="config-hideable"></a><a href="Ext.grid.column.Template.html#" rel="config-hideable" class="cls expand">hideable</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Optional. Specify as <tt>false</tt> to prevent the user from hiding this column
367 (defaults to true).</p>
368 </div><div class="long"><p>Optional. Specify as <tt>false</tt> to prevent the user from hiding this column
369 (defaults to true).</p>
370 </div></div></div><div id="config-html" class="member inherited"><a href="Ext.grid.column.Template.html#config-html" rel="config-html" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-html" class="viewSource">view source</a></div><a name="html"></a><a name="config-html"></a><a href="Ext.grid.column.Template.html#" rel="config-html" class="cls expand">html</a><span> : String/Object</span></div><div class="description"><div class="short">An HTML fragment, or a DomHelper specification to use as the layout element
371 content (defaults to ''). The HTML conten...</div><div class="long"><p>An HTML fragment, or a <a href="Ext.core.DomHelper.html" rel="Ext.core.DomHelper" class="docClass">DomHelper</a> specification to use as the layout element
372 content (defaults to ''). The HTML content is added after the component is rendered,
373 so the document will not contain this HTML at the time the <a href="Ext.grid.column.Template.html#render" rel="Ext.grid.column.Template#render" class="docClass">render</a> event is fired.
374 This content is inserted into the body <i>before</i> any configured <a href="Ext.grid.column.Template.html#contentEl" rel="Ext.grid.column.Template#contentEl" class="docClass">contentEl</a> is appended.</p>
375 </div></div></div><div id="config-id" class="member inherited"><a href="Ext.grid.column.Template.html#config-id" rel="config-id" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-id" class="viewSource">view source</a></div><a name="id"></a><a name="config-id"></a><a href="Ext.grid.column.Template.html#" rel="config-id" class="cls expand">id</a><span> : String</span></div><div class="description"><div class="short">The unique id of this component instance (defaults to an auto-assigned id).
376
377
378 It should not be necessary to use this ...</div><div class="long"><p>The <b><u>unique id of this component instance</u></b> (defaults to an <a href="Ext.grid.column.Template.html#getId" rel="Ext.grid.column.Template#getId" class="docClass">auto-assigned id</a>).</p>
379
380
381 <p>It should not be necessary to use this configuration except for singleton objects in your application.
382 Components created with an id may be accessed globally using <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp</a>.</p>
383
384
385 <p>Instead of using assigned ids, use the <a href="Ext.grid.column.Template.html#itemId" rel="Ext.grid.column.Template#itemId" class="docClass">itemId</a> config, and <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> which
386 provides selector-based searching for Sencha Components analogous to DOM querying. The <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>
387 class contains <a href="Ext.container.Container.html#down" rel="Ext.container.Container#down" class="docClass">shortcut methods</a> to query its descendant Components by selector.</p>
388
389
390 <p>Note that this id will also be used as the element id for the containing HTML element
391 that is rendered to the page for this component. This allows you to write id-based CSS
392 rules to style the specific instance of this component uniquely, and also to select
393 sub-elements using this component's id as the parent.</p>
394
395
396 <p><b>Note</b>: to avoid complications imposed by a unique <tt>id</tt> also see <code><a href="Ext.grid.column.Template.html#itemId" rel="Ext.grid.column.Template#itemId" class="docClass">itemId</a></code>.</p>
397
398
399 <p><b>Note</b>: to access the container of a Component see <code><a href="Ext.grid.column.Template.html#ownerCt" rel="Ext.grid.column.Template#ownerCt" class="docClass">ownerCt</a></code>.</p>
400
401 </div></div></div><div id="config-itemId" class="member inherited"><a href="Ext.grid.column.Template.html#config-itemId" rel="config-itemId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-itemId" class="viewSource">view source</a></div><a name="itemId"></a><a name="config-itemId"></a><a href="Ext.grid.column.Template.html#" rel="config-itemId" class="cls expand">itemId</a><span> : String</span></div><div class="description"><div class="short">An itemId can be used as an alternative way to get a reference to a component
402 when no object reference is available. ...</div><div class="long"><p>An <tt>itemId</tt> can be used as an alternative way to get a reference to a component
403 when no object reference is available.  Instead of using an <code><a href="Ext.grid.column.Template.html#id" rel="Ext.grid.column.Template#id" class="docClass">id</a></code> with
404 <a href="Ext.html" rel="Ext" class="docClass">Ext</a>.<a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">getCmp</a>, use <code>itemId</code> with
405 <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Ext.container.Container</a>.<a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">getComponent</a> which will retrieve
406 <code>itemId</code>'s or <tt><a href="Ext.grid.column.Template.html#id" rel="Ext.grid.column.Template#id" class="docClass">id</a></tt>'s. Since <code>itemId</code>'s are an index to the
407 container's internal MixedCollection, the <code>itemId</code> is scoped locally to the container --
408 avoiding potential conflicts with <a href="Ext.ComponentManager.html" rel="Ext.ComponentManager" class="docClass">Ext.ComponentManager</a> which requires a <b>unique</b>
409 <code><a href="Ext.grid.column.Template.html#id" rel="Ext.grid.column.Template#id" class="docClass">id</a></code>.</p>
410
411
412 <pre><code>var c = new Ext.panel.Panel({ //
413     <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 300,
414     <a href="Ext.grid.column.Template.html#renderTo" rel="Ext.grid.column.Template#renderTo" class="docClass">renderTo</a>: document.body,
415     <a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout</a>: 'auto',
416     <a href="Ext.container.Container.html#items" rel="Ext.container.Container#items" class="docClass">items</a>: [
417         {
418             itemId: 'p1',
419             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 1',
420             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
421         },
422         {
423             itemId: 'p2',
424             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 2',
425             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
426         }
427     ]
428 })
429 p1 = c.<a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">getComponent</a>('p1'); // not the same as <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp()</a>
430 p2 = p1.<a href="Ext.grid.column.Template.html#ownerCt" rel="Ext.grid.column.Template#ownerCt" class="docClass">ownerCt</a>.<a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">getComponent</a>('p2'); // reference via a sibling
431 </code></pre>
432
433
434 <p>Also see <tt><a href="Ext.grid.column.Template.html#id" rel="Ext.grid.column.Template#id" class="docClass">id</a></tt>, <code><a href="Ext.grid.column.Template.html#query" rel="Ext.grid.column.Template#query" class="docClass">query</a></code>, <code><a href="Ext.grid.column.Template.html#down" rel="Ext.grid.column.Template#down" class="docClass">down</a></code> and <code><a href="Ext.grid.column.Template.html#child" rel="Ext.grid.column.Template#child" class="docClass">child</a></code>.</p>
435
436
437 <p><b>Note</b>: to access the container of an item see <tt><a href="Ext.grid.column.Template.html#ownerCt" rel="Ext.grid.column.Template#ownerCt" class="docClass">ownerCt</a></tt>.</p>
438
439 </div></div></div><div id="config-items" class="member inherited"><a href="Ext.grid.column.Template.html#config-items" rel="config-items" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-items" class="viewSource">view source</a></div><a name="items"></a><a name="config-items"></a><a href="Ext.grid.column.Template.html#" rel="config-items" class="cls expand">items</a><span> : Object/Array</span></div><div class="description"><div class="short">A single item, or an array of child Components to be added to this container
440
441
442 Unless configured with a layout, a Con...</div><div class="long"><p>A single item, or an array of child Components to be added to this container</p>
443
444
445 <p><b>Unless configured with a <a href="Ext.grid.column.Template.html#layout" rel="Ext.grid.column.Template#layout" class="docClass">layout</a>, a Container simply renders child Components serially into
446 its encapsulating element and performs no sizing or positioning upon them.</b><p>
447 <p>Example:</p>
448 <pre><code>// specifying a single item
449 items: {...},
450 layout: 'fit',    // The single items is sized to fit
451
452 // specifying multiple items
453 items: [{...}, {...}],
454 layout: 'hbox', // The items are arranged horizontally
455        </code></pre>
456 <p>Each item may be:</p>
457 <ul>
458 <li>A <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></li>
459 <li>A Component configuration object</li>
460 </ul>
461 <p>If a configuration object is specified, the actual type of Component to be
462 instantiated my be indicated by using the <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a> option.</p>
463 <p>Every Component class has its own <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a>.</p>
464 <p>If an <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a> is not explicitly
465 specified, the <a href="Ext.grid.column.Template.html#defaultType" rel="Ext.grid.column.Template#defaultType" class="docClass">defaultType</a> for the Container is used, which by default is usually <code>panel</code>.</p>
466 <p><b>Notes</b>:</p>
467 <p>Ext uses lazy rendering. Child Components will only be rendered
468 should it become necessary. Items are automatically laid out when they are first
469 shown (no sizing is done while hidden), or in response to a <a href="Ext.grid.column.Template.html#doLayout" rel="Ext.grid.column.Template#doLayout" class="docClass">doLayout</a> call.</p>
470 <p>Do not specify <code><a href="Ext.panel.Panel.html#contentEl" rel="Ext.panel.Panel#contentEl" class="docClass">contentEl</a></code> or 
471 <code><a href="Ext.panel.Panel.html#html" rel="Ext.panel.Panel#html" class="docClass">html</a></code> with <code>items</code>.</p>
472
473 </div></div></div><div id="config-layout" class="member inherited"><a href="Ext.grid.column.Template.html#config-layout" rel="config-layout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-layout" class="viewSource">view source</a></div><a name="layout"></a><a name="config-layout"></a><a href="Ext.grid.column.Template.html#" rel="config-layout" class="cls expand">layout</a><span> : String/Object</span></div><div class="description"><div class="short">*Important: In order for child items to be correctly sized and
474 positioned, typically a layout manager must be specifi...</div><div class="long"><p><b>*Important</b>: In order for child items to be correctly sized and
475 positioned, typically a layout manager <b>must</b> be specified through
476 the <code>layout</code> configuration option.</p>
477
478
479 <br><p>The sizing and positioning of child <a href="Ext.grid.column.Template.html#items" rel="Ext.grid.column.Template#items" class="docClass">items</a> is the responsibility of
480
481
482 <p>the Container's layout manager which creates and manages the type of layout
483 you have in mind.  For example:</p></p>
484
485 <p>If the <a href="Ext.grid.column.Template.html#layout" rel="Ext.grid.column.Template#layout" class="docClass">layout</a> configuration is not explicitly specified for
486 a general purpose container (e.g. Container or Panel) the
487 <a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">default layout manager</a> will be used
488 which does nothing but render child components sequentially into the
489 Container (no sizing or positioning will be performed in this situation).</p>
490
491
492 <br><p><b><code>layout</code></b> may be specified as either as an Object or
493
494
495 <p>as a String:</p><div><ul class="mdetail-params"></p>
496
497 <p><li><u>Specify as an Object</u></li></p>
498
499 <div><ul class="mdetail-params">
500 <li>Example usage:</li>
501 <pre><code>layout: {
502     type: 'vbox',
503     align: 'left'
504 }
505        </code></pre>
506
507 <li><code><b>type</b></code></li>
508 <br/><p>The layout type to be used for this container.  If not specified,
509 a default <a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">Ext.layout.container.Auto</a> will be created and used.</p>
510 <br/><p>Valid layout <code>type</code> values are:</p>
511 <div class="sub-desc"><ul class="mdetail-params">
512 <li><code><b><a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">Auto</a></b></code> &nbsp;&nbsp;&nbsp; <b>Default</b></li>
513 <li><code><b><a href="Ext.layout.container.Card.html" rel="Ext.layout.container.Card" class="docClass">card</a></b></code></li>
514 <li><code><b><a href="Ext.layout.container.Fit.html" rel="Ext.layout.container.Fit" class="docClass">fit</a></b></code></li>
515 <li><code><b><a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">hbox</a></b></code></li>
516 <li><code><b><a href="Ext.layout.container.VBox.html" rel="Ext.layout.container.VBox" class="docClass">vbox</a></b></code></li>
517 <li><code><b><a href="Ext.layout.container.Anchor.html" rel="Ext.layout.container.Anchor" class="docClass">anchor</a></b></code></li>
518 <li><code><b><a href="Ext.layout.container.Table.html" rel="Ext.layout.container.Table" class="docClass">table</a></b></code></li>
519 </ul></div>
520
521 <li>Layout specific configuration properties</li>
522 <br/><p>Additional layout specific configuration properties may also be
523 specified. For complete details regarding the valid config options for
524 each layout type, see the layout class corresponding to the <code>type</code>
525 specified.</p>
526
527 </ul></div>
528
529
530 <p><li><u>Specify as a String</u></li></p>
531
532 <div><ul class="mdetail-params">
533 <li>Example usage:</li>
534 <pre><code>layout: {
535     type: 'vbox',
536     padding: '5',
537     align: 'left'
538 }
539        </code></pre>
540 <li><code><b>layout</b></code></li>
541 <br/><p>The layout <code>type</code> to be used for this container (see list
542 of valid layout type values above).</p><br/>
543 <br/><p>Additional layout specific configuration properties. For complete
544 details regarding the valid config options for each layout type, see the
545 layout class corresponding to the <code>layout</code> specified.</p>
546 </ul></div>
547
548
549 <p></ul></div></p>
550 </div></div></div><div id="config-listeners" class="member inherited"><a href="Ext.grid.column.Template.html#config-listeners" rel="config-listeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-cfg-listeners" class="viewSource">view source</a></div><a name="listeners"></a><a name="config-listeners"></a><a href="Ext.grid.column.Template.html#" rel="config-listeners" class="cls expand">listeners</a><span> : Object</span></div><div class="description"><div class="short">(optional) A config object containing one or more event handlers to be added to this
551 object during initialization.  T...</div><div class="long"><p>(optional) <p>A config object containing one or more event handlers to be added to this
552 object during initialization.  This should be a valid listeners config object as specified in the
553 <a href="Ext.grid.column.Template.html#addListener" rel="Ext.grid.column.Template#addListener" class="docClass">addListener</a> example for attaching multiple handlers at once.</p></p>
554
555 <br><p><b><u>DOM events from ExtJs <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a></u></b></p>
556
557
558 <br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
559
560
561 <p>is usually only done when extra value can be added. For example the <a href="Ext.view.View.html" rel="Ext.view.View" class="docClass">DataView</a>'s
562 <b><code><a href="Ext.view.View.html#click" rel="Ext.view.View#click" class="docClass">click</a></code></b> event passing the node clicked on. To access DOM
563 events directly from a child element of a Component, we need to specify the <code>element</code> option to
564 identify the Component property to add a DOM listener to:</p>
565
566 <pre><code>new Ext.panel.Panel({
567     width: 400,
568     height: 200,
569     dockedItems: [{
570         xtype: 'toolbar'
571     }],
572     listeners: {
573         click: {
574             element: 'el', //bind to the underlying el property on the panel
575             fn: function(){ console.log('click el'); }
576         },
577         dblclick: {
578             element: 'body', //bind to the underlying body property on the panel
579             fn: function(){ console.log('dblclick body'); }
580         }
581     }
582 });
583 </code></pre>
584
585
586 <p></p></p>
587 </div></div></div><div id="config-loader" class="member inherited"><a href="Ext.grid.column.Template.html#config-loader" rel="config-loader" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-loader" class="viewSource">view source</a></div><a name="loader"></a><a name="config-loader"></a><a href="Ext.grid.column.Template.html#" rel="config-loader" class="cls expand">loader</a><span> : Ext.ComponentLoader/Object</span></div><div class="description"><div class="short"><p>A configuration object or an instance of a <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> to load remote
588 content for this Component.</p>
589 </div><div class="long"><p>A configuration object or an instance of a <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> to load remote
590 content for this Component.</p>
591 </div></div></div><div id="config-maintainFlex" class="member inherited"><a href="Ext.grid.column.Template.html#config-maintainFlex" rel="config-maintainFlex" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-maintainFlex" class="viewSource">view source</a></div><a name="maintainFlex"></a><a name="config-maintainFlex"></a><a href="Ext.grid.column.Template.html#" rel="config-maintainFlex" class="cls expand">maintainFlex</a><span> : Boolean</span></div><div class="description"><div class="short">Only valid when a sibling element of a Splitter within a VBox or
592 HBox layout.
593
594
595 Specifies that if an immediate siblin...</div><div class="long"><p><b>Only valid when a sibling element of a <a href="Ext.resizer.Splitter.html" rel="Ext.resizer.Splitter" class="docClass">Splitter</a> within a <a href="Ext.layout.container.VBox.html" rel="Ext.layout.container.VBox" class="docClass">VBox</a> or
596 <a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">HBox</a> layout.</b></p>
597
598
599 <p>Specifies that if an immediate sibling Splitter is moved, the Component on the <i>other</i> side is resized, and this
600 Component maintains its configured <a href="Ext.layout.container.Box.html#flex" rel="Ext.layout.container.Box#flex" class="docClass">flex</a> value.</p>
601
602 </div></div></div><div id="config-margin" class="member inherited"><a href="Ext.grid.column.Template.html#config-margin" rel="config-margin" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-margin" class="viewSource">view source</a></div><a name="margin"></a><a name="config-margin"></a><a href="Ext.grid.column.Template.html#" rel="config-margin" class="cls expand">margin</a><span> : Number/String</span></div><div class="description"><div class="short">Specifies the margin for this component. The margin can be a single numeric value to apply to all sides or
603 it can be ...</div><div class="long"><p>Specifies the margin for this component. The margin can be a single numeric value to apply to all sides or
604 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
605 </div></div></div><div id="config-maxHeight" class="member inherited"><a href="Ext.grid.column.Template.html#config-maxHeight" rel="config-maxHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-maxHeight" class="viewSource">view source</a></div><a name="maxHeight"></a><a name="config-maxHeight"></a><a href="Ext.grid.column.Template.html#" rel="config-maxHeight" class="cls expand">maxHeight</a><span> : Number</span></div><div class="description"><div class="short">The maximum value in pixels which this Component will set its height to.
606
607
608 Warning: This will override any size manag...</div><div class="long"><p>The maximum value in pixels which this Component will set its height to.</p>
609
610
611 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
612
613 </div></div></div><div id="config-maxWidth" class="member inherited"><a href="Ext.grid.column.Template.html#config-maxWidth" rel="config-maxWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-maxWidth" class="viewSource">view source</a></div><a name="maxWidth"></a><a name="config-maxWidth"></a><a href="Ext.grid.column.Template.html#" rel="config-maxWidth" class="cls expand">maxWidth</a><span> : Number</span></div><div class="description"><div class="short">The maximum value in pixels which this Component will set its width to.
614
615
616 Warning: This will override any size manage...</div><div class="long"><p>The maximum value in pixels which this Component will set its width to.</p>
617
618
619 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
620
621 </div></div></div><div id="config-menuDisabled" class="member inherited"><a href="Ext.grid.column.Template.html#config-menuDisabled" rel="config-menuDisabled" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-cfg-menuDisabled" class="viewSource">view source</a></div><a name="menuDisabled"></a><a name="config-menuDisabled"></a><a href="Ext.grid.column.Template.html#" rel="config-menuDisabled" class="cls expand">menuDisabled</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to disabled the column header menu containing sort/hide options. Defaults to false.</p>
622 </div><div class="long"><p>True to disabled the column header menu containing sort/hide options. Defaults to false.</p>
623 </div></div></div><div id="config-minHeight" class="member inherited"><a href="Ext.grid.column.Template.html#config-minHeight" rel="config-minHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-minHeight" class="viewSource">view source</a></div><a name="minHeight"></a><a name="config-minHeight"></a><a href="Ext.grid.column.Template.html#" rel="config-minHeight" class="cls expand">minHeight</a><span> : Number</span></div><div class="description"><div class="short">The minimum value in pixels which this Component will set its height to.
624
625
626 Warning: This will override any size manag...</div><div class="long"><p>The minimum value in pixels which this Component will set its height to.</p>
627
628
629 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
630
631 </div></div></div><div id="config-minWidth" class="member inherited"><a href="Ext.grid.column.Template.html#config-minWidth" rel="config-minWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-minWidth" class="viewSource">view source</a></div><a name="minWidth"></a><a name="config-minWidth"></a><a href="Ext.grid.column.Template.html#" rel="config-minWidth" class="cls expand">minWidth</a><span> : Number</span></div><div class="description"><div class="short">The minimum value in pixels which this Component will set its width to.
632
633
634 Warning: This will override any size manage...</div><div class="long"><p>The minimum value in pixels which this Component will set its width to.</p>
635
636
637 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
638
639 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.grid.column.Template.html#config-overCls" rel="config-overCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-overCls" class="viewSource">view source</a></div><a name="overCls"></a><a name="config-overCls"></a><a href="Ext.grid.column.Template.html#" rel="config-overCls" class="cls expand">overCls</a><span> : String</span></div><div class="description"><div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves
640 over the Element, and...</div><div class="long"><p>An optional extra CSS class that will be added to this component's Element when the mouse moves
641 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
642 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
643 </div></div></div><div id="config-padding" class="member inherited"><a href="Ext.grid.column.Template.html#config-padding" rel="config-padding" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-padding" class="viewSource">view source</a></div><a name="padding"></a><a name="config-padding"></a><a href="Ext.grid.column.Template.html#" rel="config-padding" class="cls expand">padding</a><span> : Number/String</span></div><div class="description"><div class="short">Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or
644 it can b...</div><div class="long"><p>Specifies the padding for this component. The padding can be a single numeric value to apply to all sides or
645 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
646 </div></div></div><div id="config-plugins" class="member inherited"><a href="Ext.grid.column.Template.html#config-plugins" rel="config-plugins" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-plugins" class="viewSource">view source</a></div><a name="plugins"></a><a name="config-plugins"></a><a href="Ext.grid.column.Template.html#" rel="config-plugins" class="cls expand">plugins</a><span> : Object/Array</span></div><div class="description"><div class="short">An object or array of objects that will provide custom functionality for this component.  The only
647 requirement for a ...</div><div class="long"><p>An object or array of objects that will provide custom functionality for this component.  The only
648 requirement for a valid plugin is that it contain an init method that accepts a reference of type <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>.
649 When a component is created, if any plugins are available, the component will call the init method on each
650 plugin, passing a reference to itself.  Each plugin can then call methods or respond to events on the
651 component as needed to provide its functionality.</p>
652 </div></div></div><div id="config-renderSelectors" class="member inherited"><a href="Ext.grid.column.Template.html#config-renderSelectors" rel="config-renderSelectors" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-renderSelectors" class="viewSource">view source</a></div><a name="renderSelectors"></a><a name="config-renderSelectors"></a><a href="Ext.grid.column.Template.html#" rel="config-renderSelectors" class="cls expand">renderSelectors</a><span> : Object</span></div><div class="description"><div class="short">An object containing properties specifying DomQuery selectors which identify child elements
653 created by the render pro...</div><div class="long"><p>An object containing properties specifying <a href="Ext.DomQuery.html" rel="Ext.DomQuery" class="docClass">DomQuery</a> selectors which identify child elements
654 created by the render process.</p>
655
656 <p>After the Component's internal structure is rendered according to the <a href="Ext.grid.column.Template.html#renderTpl" rel="Ext.grid.column.Template#renderTpl" class="docClass">renderTpl</a>, this object is iterated through,
657 and the found Elements are added as properties to the Component using the <code>renderSelector</code> property name.</p>
658
659 <p>For example, a Component which rendered an image, and description into its element might use the following properties
660 coded into its prototype:</p>
661
662 <pre><code>renderTpl: '&amp;lt;img src="{imageUrl}" class="x-image-component-img"&gt;&amp;lt;div class="x-image-component-desc"&gt;{description}&amp;gt;/div&amp;lt;',
663
664 renderSelectors: {
665     image: 'img.x-image-component-img',
666     descEl: 'div.x-image-component-desc'
667 }
668 </code></pre>
669
670 <p>After rendering, the Component would have a property <code>image</code> referencing its child <code>img</code> Element,
671 and a property <code>descEl</code> referencing the <code>div</code> Element which contains the description.</p>
672 </div></div></div><div id="config-renderTo" class="member inherited"><a href="Ext.grid.column.Template.html#config-renderTo" rel="config-renderTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-renderTo" class="viewSource">view source</a></div><a name="renderTo"></a><a name="config-renderTo"></a><a href="Ext.grid.column.Template.html#" rel="config-renderTo" class="cls expand">renderTo</a><span> : Mixed</span></div><div class="description"><div class="short">Specify the id of the element, a DOM element or an existing Element that this component
673 will be rendered into.
674
675
676
677 Not...</div><div class="long"><p>Specify the id of the element, a DOM element or an existing Element that this component
678 will be rendered into.</p>
679
680
681 <div><ul>
682 <li><b>Notes</b> : <ul>
683 <div class="sub-desc">Do <u>not</u> use this option if the Component is to be a child item of
684 a <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>. It is the responsibility of the
685 <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>'s <a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout manager</a>
686 to render and manage its child items.</div>
687 <div class="sub-desc">When using this config, a call to render() is not required.</div>
688 </ul></li>
689 </ul></div>
690
691
692 <p>See <code><a href="Ext.grid.column.Template.html#render" rel="Ext.grid.column.Template#render" class="docClass">render</a></code> also.</p>
693
694 </div></div></div><div id="config-renderTpl" class="member inherited"><a href="Ext.grid.column.Template.html#config-renderTpl" rel="config-renderTpl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-renderTpl" class="viewSource">view source</a></div><a name="renderTpl"></a><a name="config-renderTpl"></a><a href="Ext.grid.column.Template.html#" rel="config-renderTpl" class="cls expand">renderTpl</a><span> : Mixed</span></div><div class="description"><div class="short">An XTemplate used to create the internal structure inside this Component's
695 encapsulating Element.
696
697
698 You do not normal...</div><div class="long"><p>An <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">XTemplate</a> used to create the internal structure inside this Component's
699 encapsulating <a href="Ext.grid.column.Template.html#getEl" rel="Ext.grid.column.Template#getEl" class="docClass">Element</a>.</p>
700
701
702 <p>You do not normally need to specify this. For the base classes <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>
703 and <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Ext.container.Container</a>, this defaults to <b><code>null</code></b> which means that they will be initially rendered
704 with no internal structure; they render their <a href="Ext.grid.column.Template.html#getEl" rel="Ext.grid.column.Template#getEl" class="docClass">Element</a> empty. The more specialized ExtJS and Touch classes
705 which use a more complex DOM structure, provide their own template definitions.</p>
706
707
708 <p>This is intended to allow the developer to create application-specific utility Components with customized
709 internal structure.</p>
710
711
712 <p>Upon rendering, any created child elements may be automatically imported into object properties using the
713 <a href="Ext.grid.column.Template.html#renderSelectors" rel="Ext.grid.column.Template#renderSelectors" class="docClass">renderSelectors</a> option.</p>
714
715 </div></div></div><div id="config-renderer" class="member inherited"><a href="Ext.grid.column.Template.html#config-renderer" rel="config-renderer" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-cfg-renderer" class="viewSource">view source</a></div><a name="renderer"></a><a name="config-renderer"></a><a href="Ext.grid.column.Template.html#" rel="config-renderer" class="cls expand">renderer</a><span> : Function</span></div><div class="description"><div class="short">A renderer is an 'interceptor' method which can be used transform data (value, appearance, etc.) before it
716 is rendere...</div><div class="long"><p>A renderer is an 'interceptor' method which can be used transform data (value, appearance, etc.) before it
717 is rendered. Example:</p>
718
719
720 <pre><code>{
721     renderer: function(value){
722         if (value === 1) {
723             return '1 person';
724         }
725         return value + ' people';
726     }
727 }
728 </code></pre>
729
730 </div></div></div><div id="config-resizable" class="member inherited"><a href="Ext.grid.column.Template.html#config-resizable" rel="config-resizable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-resizable" class="viewSource">view source</a></div><a name="resizable"></a><a name="config-resizable"></a><a href="Ext.grid.column.Template.html#" rel="config-resizable" class="cls expand">resizable</a><span> : Mixed</span></div><div class="description"><div class="short">Specify as true to apply a Resizer to this Component
731 after rendering.
732
733
734 May also be specified as a config object to b...</div><div class="long"><p>Specify as <code>true</code> to apply a <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Resizer</a> to this Component
735 after rendering.</p>
736
737
738 <p>May also be specified as a config object to be passed to the constructor of <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Resizer</a>
739 to override any defaults. By default the Component passes its minimum and maximum size, and uses
740 <code><a href="Ext.resizer.Resizer.html#dynamic" rel="Ext.resizer.Resizer#dynamic" class="docClass">Ext.resizer.Resizer.dynamic</a>: false</code></p>
741
742 </div></div></div><div id="config-resizeHandles" class="member inherited"><a href="Ext.grid.column.Template.html#config-resizeHandles" rel="config-resizeHandles" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-resizeHandles" class="viewSource">view source</a></div><a name="resizeHandles"></a><a name="config-resizeHandles"></a><a href="Ext.grid.column.Template.html#" rel="config-resizeHandles" class="cls expand">resizeHandles</a><span> : String</span></div><div class="description"><div class="short"><p>A valid <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Ext.resizer.Resizer</a> handles config string (defaults to 'all').  Only applies when resizable = true.</p>
743 </div><div class="long"><p>A valid <a href="Ext.resizer.Resizer.html" rel="Ext.resizer.Resizer" class="docClass">Ext.resizer.Resizer</a> handles config string (defaults to 'all').  Only applies when resizable = true.</p>
744 </div></div></div><div id="config-saveBuffer" class="member inherited"><a href="Ext.grid.column.Template.html#config-saveBuffer" rel="config-saveBuffer" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-saveBuffer" class="viewSource">view source</a></div><a name="saveBuffer"></a><a name="config-saveBuffer"></a><a href="Ext.grid.column.Template.html#" rel="config-saveBuffer" class="cls expand">saveBuffer</a><span> : Number</span></div><div class="description"><div class="short"><p>A buffer to be applied if many state events are fired within
745 a short period. Defaults to 100.</p>
746 </div><div class="long"><p>A buffer to be applied if many state events are fired within
747 a short period. Defaults to 100.</p>
748 </div></div></div><div id="config-shadow" class="member inherited"><a href="Ext.grid.column.Template.html#config-shadow" rel="config-shadow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-cfg-shadow" class="viewSource">view source</a></div><a name="shadow"></a><a name="config-shadow"></a><a href="Ext.grid.column.Template.html#" rel="config-shadow" class="cls expand">shadow</a><span> : String/Boolean</span></div><div class="description"><div class="short">Specifies whether the floating component should be given a shadow. Set to
749 true to automatically create an Ext.Shadow,...</div><div class="long"><p>Specifies whether the floating component should be given a shadow. Set to
750 <tt>true</tt> to automatically create an <a href="Ext.Shadow.html" rel="Ext.Shadow" class="docClass">Ext.Shadow</a>, or a string indicating the
751 shadow's display <a href="Ext.Shadow.html#mode" rel="Ext.Shadow#mode" class="docClass">Ext.Shadow.mode</a>. Set to <tt>false</tt> to disable the shadow.
752 (Defaults to <tt>'sides'</tt>.)</p>
753 </div></div></div><div id="config-sortable" class="member inherited"><a href="Ext.grid.column.Template.html#config-sortable" rel="config-sortable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-cfg-sortable" class="viewSource">view source</a></div><a name="sortable"></a><a name="config-sortable"></a><a href="Ext.grid.column.Template.html#" rel="config-sortable" class="cls expand">sortable</a><span> : Boolean</span></div><div class="description"><div class="short">Optional. true if sorting is to be allowed on this column.
754 Whether local/remote sorting is used is specified in Ext.d...</div><div class="long"><p>Optional. <tt>true</tt> if sorting is to be allowed on this column.
755 Whether local/remote sorting is used is specified in <code><a href="Ext.data.Store.html#remoteSort" rel="Ext.data.Store#remoteSort" class="docClass">Ext.data.Store.remoteSort</a></code>.</p>
756 </div></div></div><div id="config-stateEvents" class="member inherited"><a href="Ext.grid.column.Template.html#config-stateEvents" rel="config-stateEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-stateEvents" class="viewSource">view source</a></div><a name="stateEvents"></a><a name="config-stateEvents"></a><a href="Ext.grid.column.Template.html#" rel="config-stateEvents" class="cls expand">stateEvents</a><span> : Array</span></div><div class="description"><div class="short">An array of events that, when fired, should trigger this object to
757 save its state (defaults to none). stateEvents may...</div><div class="long"><p>An array of events that, when fired, should trigger this object to
758 save its state (defaults to none). <code>stateEvents</code> may be any type
759 of event supported by this object, including browser or custom events
760 (e.g., <tt>['click', 'customerchange']</tt>).</p>
761
762
763 <p>See <code><a href="Ext.grid.column.Template.html#stateful" rel="Ext.grid.column.Template#stateful" class="docClass">stateful</a></code> for an explanation of saving and
764 restoring object state.</p>
765
766 </div></div></div><div id="config-stateId" class="member inherited"><a href="Ext.grid.column.Template.html#config-stateId" rel="config-stateId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-stateId" class="viewSource">view source</a></div><a name="stateId"></a><a name="config-stateId"></a><a href="Ext.grid.column.Template.html#" rel="config-stateId" class="cls expand">stateId</a><span> : String</span></div><div class="description"><div class="short">The unique id for this object to use for state management purposes.
767
768 See stateful for an explanation of saving and re...</div><div class="long"><p>The unique id for this object to use for state management purposes.</p>
769
770 <p>See <a href="Ext.grid.column.Template.html#stateful" rel="Ext.grid.column.Template#stateful" class="docClass">stateful</a> for an explanation of saving and restoring state.</p>
771
772 </div></div></div><div id="config-stateful" class="member inherited"><a href="Ext.grid.column.Template.html#config-stateful" rel="config-stateful" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-cfg-stateful" class="viewSource">view source</a></div><a name="stateful"></a><a name="config-stateful"></a><a href="Ext.grid.column.Template.html#" rel="config-stateful" class="cls expand">stateful</a><span> : Boolean</span></div><div class="description"><div class="short">A flag which causes the object to attempt to restore the state of
773 internal properties from a saved state on startup. ...</div><div class="long"><p>A flag which causes the object to attempt to restore the state of
774 internal properties from a saved state on startup. The object must have
775 a <code><a href="Ext.grid.column.Template.html#stateId" rel="Ext.grid.column.Template#stateId" class="docClass">stateId</a></code> for state to be managed. 
776 Auto-generated ids are not guaranteed to be stable across page loads and 
777 cannot be relied upon to save and restore the same state for a object.<p>
778 <p>For state saving to work, the state manager's provider must have been
779 set to an implementation of <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> which overrides the
780 <a href="Ext.state.Provider.html#set" rel="Ext.state.Provider#set" class="docClass">set</a> and <a href="Ext.state.Provider.html#get" rel="Ext.state.Provider#get" class="docClass">get</a>
781 methods to save and recall name/value pairs. A built-in implementation,
782 <a href="Ext.state.CookieProvider.html" rel="Ext.state.CookieProvider" class="docClass">Ext.state.CookieProvider</a> is available.</p>
783 <p>To set the state provider for the current page:</p>
784 <pre><code>Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
785     expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now
786 }));
787 </code></pre>
788 <p>A stateful object attempts to save state when one of the events
789 listed in the <code><a href="Ext.grid.column.Template.html#stateEvents" rel="Ext.grid.column.Template#stateEvents" class="docClass">stateEvents</a></code> configuration fires.</p>
790 <p>To save state, a stateful object first serializes its state by
791 calling <b><code><a href="Ext.grid.column.Template.html#getState" rel="Ext.grid.column.Template#getState" class="docClass">getState</a></code></b>. By default, this function does
792 nothing. The developer must provide an implementation which returns an
793 object hash which represents the restorable state of the object.</p>
794 <p>The value yielded by getState is passed to <a href="Ext.state.Manager.html#set" rel="Ext.state.Manager#set" class="docClass">Ext.state.Manager.set</a>
795 which uses the configured <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> to save the object
796 keyed by the <code><a href="stateId.html" rel="stateId" class="docClass">stateId</a></code></p>.
797 <p>During construction, a stateful object attempts to <i>restore</i>
798 its state by calling <a href="Ext.state.Manager.html#get" rel="Ext.state.Manager#get" class="docClass">Ext.state.Manager.get</a> passing the
799 <code><a href="Ext.grid.column.Template.html#stateId" rel="Ext.grid.column.Template#stateId" class="docClass">stateId</a></code></p>
800 <p>The resulting object is passed to <b><code><a href="Ext.grid.column.Template.html#applyState" rel="Ext.grid.column.Template#applyState" class="docClass">applyState</a></code></b>.
801 The default implementation of <code><a href="Ext.grid.column.Template.html#applyState" rel="Ext.grid.column.Template#applyState" class="docClass">applyState</a></code> simply copies
802 properties into the object, but a developer may override this to support
803 more behaviour.</p>
804 <p>You can perform extra processing on state save and restore by attaching
805 handlers to the <a href="Ext.grid.column.Template.html#beforestaterestore" rel="Ext.grid.column.Template#beforestaterestore" class="docClass">beforestaterestore</a>, <a href="Ext.grid.column.Template.html#staterestore" rel="Ext.grid.column.Template#staterestore" class="docClass">staterestore</a>,
806 <a href="Ext.grid.column.Template.html#beforestatesave" rel="Ext.grid.column.Template#beforestatesave" class="docClass">beforestatesave</a> and <a href="Ext.grid.column.Template.html#statesave" rel="Ext.grid.column.Template#statesave" class="docClass">statesave</a> events.</p>
807
808 </div></div></div><div id="config-style" class="member inherited"><a href="Ext.grid.column.Template.html#config-style" rel="config-style" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-style" class="viewSource">view source</a></div><a name="style"></a><a name="config-style"></a><a href="Ext.grid.column.Template.html#" rel="config-style" class="cls expand">style</a><span> : String</span></div><div class="description"><div class="short">A custom style specification to be applied to this component's Element.  Should be a valid argument to
809 Ext.core.Eleme...</div><div class="long"><p>A custom style specification to be applied to this component's Element.  Should be a valid argument to
810 <a href="Ext.core.Element.html#applyStyles" rel="Ext.core.Element#applyStyles" class="docClass">Ext.core.Element.applyStyles</a>.</p>
811
812 <pre><code>        new Ext.panel.Panel({
813             title: 'Some Title',
814             renderTo: Ext.getBody(),
815             width: 400, height: 300,
816             layout: 'form',
817             items: [{
818                 xtype: 'textarea',
819                 style: {
820                     width: '95%',
821                     marginBottom: '10px'
822                 }
823             },
824             new Ext.button.Button({
825                 text: 'Send',
826                 minWidth: '100',
827                 style: {
828                     marginBottom: '10px'
829                 }
830             })
831             ]
832         });
833      </code></pre>
834
835 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.grid.column.Template.html#config-styleHtmlCls" rel="config-styleHtmlCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlCls" class="viewSource">view source</a></div><a name="styleHtmlCls"></a><a name="config-styleHtmlCls"></a><a href="Ext.grid.column.Template.html#" rel="config-styleHtmlCls" class="cls expand">styleHtmlCls</a><span> : String</span></div><div class="description"><div class="short"><p>The class that is added to the content target when you set styleHtmlContent to true.
836 Defaults to 'x-html'</p>
837 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
838 Defaults to 'x-html'</p>
839 </div></div></div><div id="config-styleHtmlContent" class="member inherited"><a href="Ext.grid.column.Template.html#config-styleHtmlContent" rel="config-styleHtmlContent" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-styleHtmlContent" class="viewSource">view source</a></div><a name="styleHtmlContent"></a><a name="config-styleHtmlContent"></a><a href="Ext.grid.column.Template.html#" rel="config-styleHtmlContent" class="cls expand">styleHtmlContent</a><span> : String</span></div><div class="description"><div class="short"><p>True to automatically style the html inside the content target of this component (body for panels).
840 Defaults to false.</p>
841 </div><div class="long"><p>True to automatically style the html inside the content target of this component (body for panels).
842 Defaults to false.</p>
843 </div></div></div><div id="config-suspendLayout" class="member inherited"><a href="Ext.grid.column.Template.html#config-suspendLayout" rel="config-suspendLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-cfg-suspendLayout" class="viewSource">view source</a></div><a name="suspendLayout"></a><a name="config-suspendLayout"></a><a href="Ext.grid.column.Template.html#" rel="config-suspendLayout" class="cls expand">suspendLayout</a><span> : Boolean</span></div><div class="description"><div class="short">If true, suspend calls to doLayout.  Useful when batching multiple adds to a container and not passing them
844 as multip...</div><div class="long"><p>If true, suspend calls to doLayout.  Useful when batching multiple adds to a container and not passing them
845 as multiple arguments or an array.</p>
846 </div></div></div><div id="config-tdCls" class="member inherited"><a href="Ext.grid.column.Template.html#config-tdCls" rel="config-tdCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-cfg-tdCls" class="viewSource">view source</a></div><a name="tdCls"></a><a name="config-tdCls"></a><a href="Ext.grid.column.Template.html#" rel="config-tdCls" class="cls expand">tdCls</a><span> : String</span></div><div class="description"><div class="short"><p>Optional. A CSS class names to apply to the table cells for this column.</p>
847
848 </div><div class="long"><p>Optional. A CSS class names to apply to the table cells for this column.</p>
849
850 </div></div></div><div id="config-text" class="member inherited"><a href="Ext.grid.column.Template.html#config-text" rel="config-text" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-cfg-text" class="viewSource">view source</a></div><a name="text"></a><a name="config-text"></a><a href="Ext.grid.column.Template.html#" rel="config-text" class="cls expand">text</a><span> : String</span></div><div class="description"><div class="short">Optional. The header text to be used as innerHTML
851 (html tags are accepted) to display in the Grid.  Note: to
852 have a c...</div><div class="long"><p>Optional. The header text to be used as innerHTML
853 (html tags are accepted) to display in the Grid.  <b>Note</b>: to
854 have a clickable header with no text displayed you can use the
855 default of <tt>'&#160;'</tt>.</p>
856 </div></div></div><div id="config-toFrontOnShow" class="member inherited"><a href="Ext.grid.column.Template.html#config-toFrontOnShow" rel="config-toFrontOnShow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-cfg-toFrontOnShow" class="viewSource">view source</a></div><a name="toFrontOnShow"></a><a name="config-toFrontOnShow"></a><a href="Ext.grid.column.Template.html#" rel="config-toFrontOnShow" class="cls expand">toFrontOnShow</a><span> : Boolean</span></div><div class="description"><div class="short">True to automatically call toFront when the show method is called
857 on an already visible, floating component (default ...</div><div class="long"><p>True to automatically call <a href="Ext.grid.column.Template.html#toFront" rel="Ext.grid.column.Template#toFront" class="docClass">toFront</a> when the <a href="Ext.grid.column.Template.html#show" rel="Ext.grid.column.Template#show" class="docClass">show</a> method is called
858 on an already visible, floating component (default is <code>true</code>).</p>
859
860 </div></div></div><div id="config-tpl" class="member ni"><a href="Ext.grid.column.Template.html#config-tpl" rel="config-tpl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Template.html" class="definedIn docClass">Ext.grid.column.Template</a><br/><a href="../source/Template.html#Ext-grid.column.Template-cfg-tpl" class="viewSource">view source</a></div><a name="tpl"></a><a name="config-tpl"></a><a href="Ext.grid.column.Template.html#" rel="config-tpl" class="cls expand">tpl</a><span> : String/XTemplate</span></div><div class="description"><div class="short"><p>An <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">XTemplate</a>, or an XTemplate <i>definition string</i> to use to process a
861 <a href="Ext.data.Model.html" rel="Ext.data.Model" class="docClass">Model</a>'s <a href="Ext.data.Model.html#data" rel="Ext.data.Model#data" class="docClass">data</a> to produce a column's rendered value.</p>
862 </div><div class="long"><p>An <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">XTemplate</a>, or an XTemplate <i>definition string</i> to use to process a
863 <a href="Ext.data.Model.html" rel="Ext.data.Model" class="docClass">Model</a>'s <a href="Ext.data.Model.html#data" rel="Ext.data.Model#data" class="docClass">data</a> to produce a column's rendered value.</p>
864 </div></div></div><div id="config-tplWriteMode" class="member inherited"><a href="Ext.grid.column.Template.html#config-tplWriteMode" rel="config-tplWriteMode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-tplWriteMode" class="viewSource">view source</a></div><a name="tplWriteMode"></a><a name="config-tplWriteMode"></a><a href="Ext.grid.column.Template.html#" rel="config-tplWriteMode" class="cls expand">tplWriteMode</a><span> : String</span></div><div class="description"><div class="short">The Ext.(X)Template method to use when
865 updating the content area of the Component. Defaults to 'overwrite'
866 (see Ext.X...</div><div class="long"><p>The Ext.(X)Template method to use when
867 updating the content area of the Component. Defaults to <code>'overwrite'</code>
868 (see <code><a href="Ext.XTemplate.html#overwrite" rel="Ext.XTemplate#overwrite" class="docClass">Ext.XTemplate.overwrite</a></code>).</p>
869 </div></div></div><div id="config-ui" class="member inherited"><a href="Ext.grid.column.Template.html#config-ui" rel="config-ui" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-ui" class="viewSource">view source</a></div><a name="ui"></a><a name="config-ui"></a><a href="Ext.grid.column.Template.html#" rel="config-ui" class="cls expand">ui</a><span> : String/Array</span></div><div class="description"><div class="short"><p>A set style for a component. Can be a string or an Array of multiple strings (UIs)</p>
870 </div><div class="long"><p>A set style for a component. Can be a string or an Array of multiple strings (UIs)</p>
871 </div></div></div><div id="config-weight" class="member inherited"><a href="Ext.grid.column.Template.html#config-weight" rel="config-weight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-cfg-weight" class="viewSource">view source</a></div><a name="weight"></a><a name="config-weight"></a><a href="Ext.grid.column.Template.html#" rel="config-weight" class="cls expand">weight</a><span> : Number</span></div><div class="description"><div class="short">HeaderContainer overrides the default weight of 0 for all docked items to 100.
872 This is so that it has more priority o...</div><div class="long"><p>HeaderContainer overrides the default weight of 0 for all docked items to 100.
873 This is so that it has more priority over things like toolbars.</p>
874 </div></div></div><div id="config-width" class="member inherited"><a href="Ext.grid.column.Template.html#config-width" rel="config-width" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-cfg-width" class="viewSource">view source</a></div><a name="width"></a><a name="config-width"></a><a href="Ext.grid.column.Template.html#" rel="config-width" class="cls expand">width</a><span> : Number</span></div><div class="description"><div class="short"><p>The width of this component in pixels.</p>
875 </div><div class="long"><p>The width of this component in pixels.</p>
876 </div></div></div></div><div class="m-properties"><a name="properties"></a><div class="definedBy">Defined By</div><h3 class="prp p">Properties</h3><div id="property-draggable" class="member f inherited"><a href="Ext.grid.column.Template.html#property-draggable" rel="property-draggable" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-draggable" class="viewSource">view source</a></div><a name="draggable"></a><a name="property-draggable"></a><a href="Ext.grid.column.Template.html#" rel="property-draggable" class="cls expand">draggable</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Read-only property indicating whether or not the component can be dragged</p>
877 </div><div class="long"><p>Read-only property indicating whether or not the component can be dragged</p>
878 </div></div></div><div id="property-floatParent" class="member inherited"><a href="Ext.grid.column.Template.html#property-floatParent" rel="property-floatParent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-property-floatParent" class="viewSource">view source</a></div><a name="floatParent"></a><a name="property-floatParent"></a><a href="Ext.grid.column.Template.html#" rel="property-floatParent" class="cls expand">floatParent</a><span> : Ext.Container</span></div><div class="description"><div class="short">Optional. Only present for floating Components which were inserted as descendant items of floating Containers.
879
880
881 Floa...</div><div class="long"><p>Optional. Only present for <a href="Ext.grid.column.Template.html#floating" rel="Ext.grid.column.Template#floating" class="docClass">floating</a> Components which were inserted as descendant items of floating Containers.</p>
882
883
884 <p>Floating Components that are programatically <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a> will not have a <code>floatParent</code> property.</p>
885
886
887 <p>For <a href="Ext.grid.column.Template.html#floating" rel="Ext.grid.column.Template#floating" class="docClass">floating</a> Components which are child items of a Container, the floatParent will be the floating ancestor Container which is
888 responsible for the base z-index value of all its floating descendants. It provides a <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a> which provides
889 z-indexing services for all its descendant floating Components.</p>
890
891
892 <p>For example, the dropdown <a href="Ext.view.BoundList.html" rel="Ext.view.BoundList" class="docClass">BoundList</a> of a ComboBox which is in a Window will have the Window as its
893 <code>floatParent</code></p>
894
895
896 <p>See <a href="Ext.grid.column.Template.html#floating" rel="Ext.grid.column.Template#floating" class="docClass">floating</a> and <a href="Ext.grid.column.Template.html#zIndexManager" rel="Ext.grid.column.Template#zIndexManager" class="docClass">zIndexManager</a></p>
897
898 </div></div></div><div id="property-frameSize" class="member inherited"><a href="Ext.grid.column.Template.html#property-frameSize" rel="property-frameSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-frameSize" class="viewSource">view source</a></div><a name="frameSize"></a><a name="property-frameSize"></a><a href="Ext.grid.column.Template.html#" rel="property-frameSize" class="cls expand">frameSize</a><span> : Object</span></div><div class="description"><div class="short">Read-only property indicating the width of any framing elements which were added within the encapsulating element
899 to ...</div><div class="long"><p>Read-only property indicating the width of any framing elements which were added within the encapsulating element
900 to provide graphical, rounded borders. See the <a href="Ext.grid.column.Template.html#frame" rel="Ext.grid.column.Template#frame" class="docClass">frame</a> config.</p>
901
902
903 <p> This is an object containing the frame width in pixels for all four sides of the Component containing
904 the following properties:</p>
905
906
907 <div class="mdetail-params"><ul>
908 <li><code>top</code> The width of the top framing element in pixels.</li>
909 <li><code>right</code> The width of the right framing element in pixels.</li>
910 <li><code>bottom</code> The width of the bottom framing element in pixels.</li>
911 <li><code>left</code> The width of the left framing element in pixels.</li>
912 </ul></div>
913
914 </div></div></div><div id="property-hasActiveFx" class="member inherited"><a href="Ext.grid.column.Template.html#property-hasActiveFx" rel="property-hasActiveFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-property-hasActiveFx" class="viewSource">view source</a></div><a name="hasActiveFx"></a><a name="property-hasActiveFx"></a><a href="Ext.grid.column.Template.html#" rel="property-hasActiveFx" class="cls expand">hasActiveFx</a><span> : Object</span></div><div class="description"><div class="short">@deprecated 4.0 Replaced by getActiveAnimation
915 Returns thq current animation if this object has any effects actively ...</div><div class="long"><p>@deprecated 4.0 Replaced by <a href="Ext.grid.column.Template.html#getActiveAnimation" rel="Ext.grid.column.Template#getActiveAnimation" class="docClass">getActiveAnimation</a>
916 Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
917 </div></div></div><div id="property-isGroupHeader" class="member inherited"><a href="Ext.grid.column.Template.html#property-isGroupHeader" rel="property-isGroupHeader" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-property-isGroupHeader" class="viewSource">view source</a></div><a name="isGroupHeader"></a><a name="property-isGroupHeader"></a><a href="Ext.grid.column.Template.html#" rel="property-isGroupHeader" class="cls expand">isGroupHeader</a><span> : Boolean</span></div><div class="description"><div class="short"><p><code>true</code> if this HeaderContainer is in fact a group header which contains sub headers.</p>
918 </div><div class="long"><p><code>true</code> if this HeaderContainer is in fact a group header which contains sub headers.</p>
919 </div></div></div><div id="property-items" class="member inherited"><a href="Ext.grid.column.Template.html#property-items" rel="property-items" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-property-items" class="viewSource">view source</a></div><a name="items"></a><a name="property-items"></a><a href="Ext.grid.column.Template.html#" rel="property-items" class="cls expand">items</a><span> : Ext.util.MixedCollection</span></div><div class="description"><div class="short"><p>The MixedCollection containing all the child items of this container.</p>
920 </div><div class="long"><p>The MixedCollection containing all the child items of this container.</p>
921 </div></div></div><div id="property-maskOnDisable" class="member inherited"><a href="Ext.grid.column.Template.html#property-maskOnDisable" rel="property-maskOnDisable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-maskOnDisable" class="viewSource">view source</a></div><a name="maskOnDisable"></a><a name="property-maskOnDisable"></a><a href="Ext.grid.column.Template.html#" rel="property-maskOnDisable" class="cls expand">maskOnDisable</a><span> : Boolean</span></div><div class="description"><div class="short">This is an internal flag that you use when creating custom components.
922 By default this is set to true which means tha...</div><div class="long"><p>This is an internal flag that you use when creating custom components.
923 By default this is set to true which means that every component gets a mask when its disabled.
924 Components like FieldContainer, FieldSet, Field, Button, Tab override this property to false
925 since they want to implement custom disable logic.</p>
926 </div></div></div><div id="property-ownerCt" class="member inherited"><a href="Ext.grid.column.Template.html#property-ownerCt" rel="property-ownerCt" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-ownerCt" class="viewSource">view source</a></div><a name="ownerCt"></a><a name="property-ownerCt"></a><a href="Ext.grid.column.Template.html#" rel="property-ownerCt" class="cls expand">ownerCt</a><span> : Ext.Container</span></div><div class="description"><div class="short">This Component's owner Container (defaults to undefined, and is set automatically when
927 this Component is added to a C...</div><div class="long"><p>This Component's owner <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a> (defaults to undefined, and is set automatically when
928 this Component is added to a Container).  Read-only.</p>
929
930 <p><b>Note</b>: to access items within the Container see <tt><a href="Ext.grid.column.Template.html#itemId" rel="Ext.grid.column.Template#itemId" class="docClass">itemId</a></tt>.</p>
931
932 </div></div></div><div id="property-rendered" class="member inherited"><a href="Ext.grid.column.Template.html#property-rendered" rel="property-rendered" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-property-rendered" class="viewSource">view source</a></div><a name="rendered"></a><a name="property-rendered"></a><a href="Ext.grid.column.Template.html#" rel="property-rendered" class="cls expand">rendered</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Read-only property indicating whether or not the component has been rendered.</p>
933 </div><div class="long"><p>Read-only property indicating whether or not the component has been rendered.</p>
934 </div></div></div><div id="property-stopFx" class="member inherited"><a href="Ext.grid.column.Template.html#property-stopFx" rel="property-stopFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-property-stopFx" class="viewSource">view source</a></div><a name="stopFx"></a><a name="property-stopFx"></a><a href="Ext.grid.column.Template.html#" rel="property-stopFx" class="cls expand">stopFx</a><span> : Object</span></div><div class="description"><div class="short">Stops any running effects and clears this object's internal effects queue if it contains
935 any additional effects that ...</div><div class="long"><p>Stops any running effects and clears this object's internal effects queue if it contains
936 any additional effects that haven't started yet.</p>
937 </div></div></div><div id="property-textEl" class="member inherited"><a href="Ext.grid.column.Template.html#property-textEl" rel="property-textEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-property-textEl" class="viewSource">view source</a></div><a name="textEl"></a><a name="property-textEl"></a><a href="Ext.grid.column.Template.html#" rel="property-textEl" class="cls expand">textEl</a><span> : Ext.core.Element</span></div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
938 </div></div></div><div id="property-triggerEl" class="member inherited"><a href="Ext.grid.column.Template.html#property-triggerEl" rel="property-triggerEl" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-property-triggerEl" class="viewSource">view source</a></div><a name="triggerEl"></a><a name="property-triggerEl"></a><a href="Ext.grid.column.Template.html#" rel="property-triggerEl" class="cls expand">triggerEl</a><span> : Ext.core.Element</span></div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
939 </div></div></div><div id="property-zIndexManager" class="member inherited"><a href="Ext.grid.column.Template.html#property-zIndexManager" rel="property-zIndexManager" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-property-zIndexManager" class="viewSource">view source</a></div><a name="zIndexManager"></a><a name="property-zIndexManager"></a><a href="Ext.grid.column.Template.html#" rel="property-zIndexManager" class="cls expand">zIndexManager</a><span> : Ext.ZIndexManager</span></div><div class="description"><div class="short">Optional. Only present for floating Components after they have been rendered.
940
941
942 A reference to the ZIndexManager whic...</div><div class="long"><p>Optional. Only present for <a href="Ext.grid.column.Template.html#floating" rel="Ext.grid.column.Template#floating" class="docClass">floating</a> Components after they have been rendered.</p>
943
944
945 <p>A reference to the ZIndexManager which is managing this Component's z-index.</p>
946
947
948 <p>The <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a> maintains a stack of floating Component z-indices, and also provides a single modal
949 mask which is insert just beneath the topmost visible modal floating Component.</p>
950
951
952 <p>Floating Components may be <a href="Ext.grid.column.Template.html#toFront" rel="Ext.grid.column.Template#toFront" class="docClass">brought to the front</a> or <a href="Ext.grid.column.Template.html#toBack" rel="Ext.grid.column.Template#toBack" class="docClass">sent to the back</a> of the z-index stack.</p>
953
954
955 <p>This defaults to the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> for floating Components that are programatically
956 <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a>.</p>
957
958
959 <p>For <a href="Ext.grid.column.Template.html#floating" rel="Ext.grid.column.Template#floating" class="docClass">floating</a> Components which are added to a Container, the ZIndexManager is acquired from the first ancestor Container found
960 which is floating, or if not found the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> is used.</p>
961
962
963 <p>See <a href="Ext.grid.column.Template.html#floating" rel="Ext.grid.column.Template#floating" class="docClass">floating</a> and <a href="Ext.grid.column.Template.html#floatParent" rel="Ext.grid.column.Template#floatParent" class="docClass">floatParent</a></p>
964
965 </div></div></div></div><div class="m-methods"><a name="methods"></a><div class="definedBy">Defined By</div><h3 class="mth p">Methods</h3><div id="method-Template" class="member f inherited"><a href="Ext.grid.column.Template.html#method-Template" rel="method-Template" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-constructor" class="viewSource">view source</a></div><a name="Template"></a><a name="method-Template"></a><a href="Ext.grid.column.Template.html#" rel="method-Template" class="cls expand">Template</a>(
966 <span class="pre">Ext.core.Element/String/Object config</span>)
967  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
968 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Ext.core.Element/String/Object<div class="sub-desc"><p>The configuration options may be specified as either:</p>
969
970 <div class="mdetail-params"><ul>
971 <li><b>an element</b> :
972 <p class="sub-desc">it is set as the internal element and its id used as the component id</p></li>
973 <li><b>a string</b> :
974 <p class="sub-desc">it is assumed to be the id of an existing element and is used as the component id</p></li>
975 <li><b>anything else</b> :
976 <p class="sub-desc">it is assumed to be a standard config object and is applied to the component</p></li>
977 </ul></div>
978
979 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
980 </li></ul></div></div></div><div id="method-add" class="member inherited"><a href="Ext.grid.column.Template.html#method-add" rel="method-add" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-add" class="viewSource">view source</a></div><a name="add"></a><a name="method-add"></a><a href="Ext.grid.column.Template.html#" rel="method-add" class="cls expand">add</a>(
981 <span class="pre">...Object/Array Component</span>)
982  : Ext.Component/Array</div><div class="description"><div class="short">Adds Component(s) to this Container.
983
984 Description:
985
986
987 Fires the beforeadd event before adding.
988 The Container's default...</div><div class="long"><p>Adds <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a>(s) to this Container.</p>
989
990 <h2>Description:</h2>
991
992 <ul>
993 <li>Fires the <a href="Ext.grid.column.Template.html#beforeadd" rel="Ext.grid.column.Template#beforeadd" class="docClass">beforeadd</a> event before adding.</li>
994 <li>The Container's <a href="Ext.grid.column.Template.html#defaults" rel="Ext.grid.column.Template#defaults" class="docClass">default config values</a> will be applied
995 accordingly (see <code><a href="Ext.grid.column.Template.html#defaults" rel="Ext.grid.column.Template#defaults" class="docClass">defaults</a></code> for details).</li>
996 <li>Fires the <code><a href="Ext.grid.column.Template.html#add" rel="Ext.grid.column.Template#add" class="docClass">add</a></code> event after the component has been added.</li>
997 </ul>
998
999
1000 <h2>Notes:</h2>
1001
1002 <p>If the Container is <strong>already rendered</strong> when <code>add</code>
1003 is called, it will render the newly added Component into its content area.</p>
1004
1005 <p><strong><strong>If</strong></strong> the Container was configured with a size-managing <a href="Ext.grid.column.Template.html#layout" rel="Ext.grid.column.Template#layout" class="docClass">layout</a> manager, the Container
1006 will recalculate its internal layout at this time too.</p>
1007
1008 <p>Note that the default layout manager simply renders child Components sequentially into the content area and thereafter performs no sizing.</p>
1009
1010 <p>If adding multiple new child Components, pass them as an array to the <code>add</code> method, so that only one layout recalculation is performed.</p>
1011
1012 <pre><code>tb = new <a href="Ext.toolbar.Toolbar.html" rel="Ext.toolbar.Toolbar" class="docClass">Ext.toolbar.Toolbar</a>({
1013     renderTo: document.body
1014 });  // toolbar is rendered
1015 tb.add([{text:'Button 1'}, {text:'Button 2'}]); // add multiple items. (<a href="Ext.grid.column.Template.html#defaultType" rel="Ext.grid.column.Template#defaultType" class="docClass">defaultType</a> for <a href="Ext.toolbar.Toolbar.html" rel="Ext.toolbar.Toolbar" class="docClass">Toolbar</a> is 'button')
1016 </code></pre>
1017
1018 <h2>Warning:##</h2>
1019
1020 <p>Components directly managed by the BorderLayout layout manager
1021 may not be removed or added.  See the Notes for <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">BorderLayout</a>
1022 for more details.</p>
1023 <h3 class="pa">Parameters</h3><ul><li><span class="pre">Component</span> : ...Object/Array<div class="sub-desc"><p>Either one or more Components to add or an Array of Components to add.
1024 See <code><a href="Ext.grid.column.Template.html#items" rel="Ext.grid.column.Template#items" class="docClass">items</a></code> for additional information.</p>
1025 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component/Array</span>&nbsp; &nbsp;<p>The Components that were added.</p>
1026 </li></ul></div></div></div><div id="method-addClass" class="member inherited"><a href="Ext.grid.column.Template.html#method-addClass" rel="method-addClass" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-addClass" class="viewSource">view source</a></div><a name="addClass"></a><a name="method-addClass"></a><a href="Ext.grid.column.Template.html#" rel="method-addClass" class="cls expand">addClass</a>(
1027 <span class="pre">String cls</span>)
1028  : Ext.Component</div><div class="description"><div class="short"><p>@deprecated 4.0 Replaced by {link:#addCls}
1029 Adds a CSS class to the top level element representing this component.</p>
1030 </div><div class="long"><p>@deprecated 4.0 Replaced by {link:#addCls}
1031 Adds a CSS class to the top level element representing this component.</p>
1032 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The CSS class name to add</p>
1033 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>Returns the Component to allow method chaining.</p>
1034 </li></ul></div></div></div><div id="method-addCls" class="member inherited"><a href="Ext.grid.column.Template.html#method-addCls" rel="method-addCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-addCls" class="viewSource">view source</a></div><a name="addCls"></a><a name="method-addCls"></a><a href="Ext.grid.column.Template.html#" rel="method-addCls" class="cls expand">addCls</a>(
1035 <span class="pre">String cls</span>)
1036  : Ext.Component</div><div class="description"><div class="short"><p>Adds a CSS class to the top level element representing this component.</p>
1037 </div><div class="long"><p>Adds a CSS class to the top level element representing this component.</p>
1038 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The CSS class name to add</p>
1039 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>Returns the Component to allow method chaining.</p>
1040 </li></ul></div></div></div><div id="method-addClsWithUI" class="member inherited"><a href="Ext.grid.column.Template.html#method-addClsWithUI" rel="method-addClsWithUI" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-addClsWithUI" class="viewSource">view source</a></div><a name="addClsWithUI"></a><a name="method-addClsWithUI"></a><a href="Ext.grid.column.Template.html#" rel="method-addClsWithUI" class="cls expand">addClsWithUI</a>(
1041 <span class="pre">String/Array cls</span>)
1042  : void</div><div class="description"><div class="short"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.grid.column.Template.html#addUIClsToElement" rel="Ext.grid.column.Template#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
1043 to all elements of this component.</p>
1044 </div><div class="long"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.grid.column.Template.html#addUIClsToElement" rel="Ext.grid.column.Template#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
1045 to all elements of this component.</p>
1046 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String/Array<div class="sub-desc"><p>A string or an array of strings to add to the uiCls</p>
1047 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1048 </li></ul></div></div></div><div id="method-addEvents" class="member inherited"><a href="Ext.grid.column.Template.html#method-addEvents" rel="method-addEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addEvents" class="viewSource">view source</a></div><a name="addEvents"></a><a name="method-addEvents"></a><a href="Ext.grid.column.Template.html#" rel="method-addEvents" class="cls expand">addEvents</a>(
1049 <span class="pre">Object/String o, String </span>)
1050  : void</div><div class="description"><div class="short"><p>Adds the specified events to the list of events which this Observable may fire.</p>
1051 </div><div class="long"><p>Adds the specified events to the list of events which this Observable may fire.</p>
1052 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Object/String<div class="sub-desc"><p>Either an object with event names as properties with a value of <code>true</code>
1053 or the first event name string if multiple event names are being passed as separate parameters.</p>
1054 </div></li><li><span class="pre"></span> : String<div class="sub-desc"><p>[additional] Optional additional event names if multiple event names are being passed as separate parameters.
1055 Usage:</p>
1056
1057 <pre><code>this.addEvents('storeloaded', 'storecleared');
1058 </code></pre>
1059
1060 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1061 </li></ul></div></div></div><div id="method-addListener" class="member inherited"><a href="Ext.grid.column.Template.html#method-addListener" rel="method-addListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addListener" class="viewSource">view source</a></div><a name="addListener"></a><a name="method-addListener"></a><a href="Ext.grid.column.Template.html#" rel="method-addListener" class="cls expand">addListener</a>(
1062 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
1063  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object.</p>
1064 </div><div class="long"><p>Appends an event handler to this object.</p>
1065 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to listen for. May also be an object who's property names are event names. See</p>
1066 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes.</p>
1067 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
1068 <b>If omitted, defaults to the object which fired the event.</b></p>
1069 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.
1070 properties. This may contain any of the following properties:<ul>
1071 <li><b>scope</b> : Object<div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
1072 <b>If omitted, defaults to the object which fired the event.</b></div></li>
1073 <li><b>delay</b> : Number<div class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>
1074 <li><b>single</b> : Boolean<div class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>
1075 <li><b>buffer</b> : Number<div class="sub-desc">Causes the handler to be scheduled to run in an <a href="Ext.util.DelayedTask.html" rel="Ext.util.DelayedTask" class="docClass">Ext.util.DelayedTask</a> delayed
1076 by the specified number of milliseconds. If the event fires again within that time, the original
1077 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
1078 <li><b>target</b> : Observable<div class="sub-desc">Only call the handler if the event was fired on the target Observable, <i>not</i>
1079 if the event was bubbled up from a child Observable.</div></li>
1080 <li><b>element</b> : String<div class="sub-desc"><b>This option is only valid for listeners bound to <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a>.</b>
1081 The name of a Component property which references an element to add a listener to.</p>
1082
1083 <p>This option is useful during Component construction to add DOM event listeners to elements of <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a> which
1084 will exist only after the Component is rendered. For example, to add a click listener to a Panel's body:
1085 <pre><code>new Ext.panel.Panel({
1086     title: 'The title',
1087     listeners: {
1088         click: this.handlePanelClick,
1089         element: 'body'
1090     }
1091 });
1092 </code></pre></p>
1093
1094
1095 <p>When added in this way, the options available are the options applicable to <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">Ext.core.Element.addListener</a></p>
1096
1097
1098 <p></div></li>
1099 </ul><br></p>
1100
1101 <p>
1102 <b>Combining Options</b><br>
1103 Using the options argument, it is possible to combine different types of listeners:<br>
1104 <br>
1105 A delayed, one-time listener.
1106 <pre><code>myPanel.on('hide', this.handleClick, this, {
1107 single: true,
1108 delay: 100
1109 });</code></pre>
1110 <p>
1111 <b>Attaching multiple handlers in 1 call</b><br>
1112 The method also allows for a single argument to be passed which is a config object containing properties
1113 which specify multiple events. For example:
1114 <pre><code>myGridPanel.on({
1115     cellClick: this.onCellClick,
1116     mouseover: this.onMouseOver,
1117     mouseout: this.onMouseOut,
1118     scope: this // Important. Ensure "this" is correct during handler execution
1119 });
1120 </code></pre>.
1121 <p>
1122
1123 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1124 </li></ul></div></div></div><div id="method-addManagedListener" class="member inherited"><a href="Ext.grid.column.Template.html#method-addManagedListener" rel="method-addManagedListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addManagedListener" class="viewSource">view source</a></div><a name="addManagedListener"></a><a name="method-addManagedListener"></a><a href="Ext.grid.column.Template.html#" rel="method-addManagedListener" class="cls expand">addManagedListener</a>(
1125 <span class="pre">Observable/Element item, Object/String ename, Function fn, Object scope, Object opt</span>)
1126  : void</div><div class="description"><div class="short"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
1127 is destroyed.
1128
1129 </div><div class="long"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
1130 is destroyed.
1131
1132 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Observable/Element<div class="sub-desc"><p>The item to which to add a listener/listeners.</p>
1133 </div></li><li><span class="pre">ename</span> : Object/String<div class="sub-desc"><p>The event name, or an object containing event name properties.</p>
1134 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1135 is the handler function.</p>
1136 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1137 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
1138 </div></li><li><span class="pre">opt</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1139 is the <a href="Ext.util.Observable.html#addListener" rel="Ext.util.Observable#addListener" class="docClass">addListener</a> options.</p>
1140 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1141 </li></ul></div></div></div><div id="method-addStateEvents" class="member inherited"><a href="Ext.grid.column.Template.html#method-addStateEvents" rel="method-addStateEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-addStateEvents" class="viewSource">view source</a></div><a name="addStateEvents"></a><a name="method-addStateEvents"></a><a href="Ext.grid.column.Template.html#" rel="method-addStateEvents" class="cls expand">addStateEvents</a>(
1142 <span class="pre">String/Array events</span>)
1143  : void</div><div class="description"><div class="short"><p>Add events that will trigger the state to be saved.</p>
1144 </div><div class="long"><p>Add events that will trigger the state to be saved.</p>
1145 <h3 class="pa">Parameters</h3><ul><li><span class="pre">events</span> : String/Array<div class="sub-desc"><p>The event name or an array of event names.</p>
1146 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1147 </li></ul></div></div></div><div id="method-afterComponentLayout" class="member inherited"><a href="Ext.grid.column.Template.html#method-afterComponentLayout" rel="method-afterComponentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-afterComponentLayout" class="viewSource">view source</a></div><a name="afterComponentLayout"></a><a name="method-afterComponentLayout"></a><a href="Ext.grid.column.Template.html#" rel="method-afterComponentLayout" class="cls expand">afterComponentLayout</a>(
1148 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1149  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
1150 <h3 class="pa">Parameters</h3><ul><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
1151 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1152 </div></li><li><span class="pre">isSetSize</span> : Boolean<div class="sub-desc"><p>Whether or not the height/width are stored on the component permanently</p>
1153 </div></li><li><span class="pre">layoutOwner</span> : Ext.Component<div class="sub-desc"><p>Component which sent the layout. Only used when isSetSize is false.</p>
1154 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1155 </li></ul></div></div></div><div id="method-alignTo" class="member inherited"><a href="Ext.grid.column.Template.html#method-alignTo" rel="method-alignTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-alignTo" class="viewSource">view source</a></div><a name="alignTo"></a><a name="method-alignTo"></a><a href="Ext.grid.column.Template.html#" rel="method-alignTo" class="cls expand">alignTo</a>(
1156 <span class="pre">Mixed element, String position, [Array offsets]</span>)
1157  : Component</div><div class="description"><div class="short"><p>Aligns this floating Component to the specified element</p>
1158 </div><div class="long"><p>Aligns this floating Component to the specified element</p>
1159 <h3 class="pa">Parameters</h3><ul><li><span class="pre">element</span> : Mixed<div class="sub-desc"><p>The element or <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> to align to. If passing a component, it must
1160 be a omponent instance. If a string id is passed, it will be used as an element id.</p>
1161 </div></li><li><span class="pre">position</span> : String<div class="sub-desc"><p>(optional, defaults to "tl-bl?") The position to align to (see <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">Ext.core.Element.alignTo</a> for more details).</p>
1162 </div></li><li><span class="pre">offsets</span> : Array<div class="sub-desc"><p>(optional) Offset the positioning by [x, y]</p>
1163 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1164 </li></ul></div></div></div><div id="method-animate" class="member inherited"><a href="Ext.grid.column.Template.html#method-animate" rel="method-animate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-animate" class="viewSource">view source</a></div><a name="animate"></a><a name="method-animate"></a><a href="Ext.grid.column.Template.html#" rel="method-animate" class="cls expand">animate</a>(
1165 <span class="pre">Object config</span>)
1166  : Object</div><div class="description"><div class="short">Perform custom animation on this object.
1167 This method is applicable to both the the Component class and the Element cl...</div><div class="long"><p>Perform custom animation on this object.<p>
1168 <p>This method is applicable to both the the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a> class and the <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a> class.
1169 It performs animated transitions of certain properties of this object over a specified timeline.</p>
1170 <p>The sole parameter is an object which specifies start property values, end property values, and properties which
1171 describe the timeline. Of the properties listed below, only <b><code>to</code></b> is mandatory.</p>
1172 <p>Properties include<ul>
1173 <li><code>from</code> <div class="sub-desc">An object which specifies start values for the properties being animated.
1174 If not supplied, properties are animated from current settings. The actual properties which may be animated depend upon
1175 ths object being animated. See the sections below on Element and Component animation.<div></li>
1176 <li><code>to</code> <div class="sub-desc">An object which specifies end values for the properties being animated.</div></li>
1177 <li><code>duration</code><div class="sub-desc">The duration <b>in milliseconds</b> for which the animation will run.</div></li>
1178 <li><code>easing</code> <div class="sub-desc">A string value describing an easing type to modify the rate of change from the default linear to non-linear. Values may be one of:<code><ul>
1179 <li>ease</li>
1180 <li>easeIn</li>
1181 <li>easeOut</li>
1182 <li>easeInOut</li>
1183 <li>backIn</li>
1184 <li>backOut</li>
1185 <li>elasticIn</li>
1186 <li>elasticOut</li>
1187 <li>bounceIn</li>
1188 <li>bounceOut</li>
1189 </ul></code></div></li>
1190 <li><code>keyframes</code> <div class="sub-desc">This is an object which describes the state of animated properties at certain points along the timeline.
1191 it is an object containing properties who's names are the percentage along the timeline being described and who's values specify the animation state at that point.</div></li>
1192 <li><code>listeners</code> <div class="sub-desc">This is a standard <a href="Ext.util.Observable.html#listeners" rel="Ext.util.Observable#listeners" class="docClass">listeners</a> configuration object which may be used
1193 to inject behaviour at either the <code>beforeanimate</code> event or the <code>afteranimate</code> event.</div></li>
1194 </ul></p>
1195 <h3>Animating an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a></h3>
1196 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1197 <li><code>x</code> <div class="sub-desc">The page X position in pixels.</div></li>
1198 <li><code>y</code> <div class="sub-desc">The page Y position in pixels</div></li>
1199 <li><code>left</code> <div class="sub-desc">The element's CSS <code>left</code> value. Units must be supplied.</div></li>
1200 <li><code>top</code> <div class="sub-desc">The element's CSS <code>top</code> value. Units must be supplied.</div></li>
1201 <li><code>width</code> <div class="sub-desc">The element's CSS <code>width</code> value. Units must be supplied.</div></li>
1202 <li><code>height</code> <div class="sub-desc">The element's CSS <code>height</code> value. Units must be supplied.</div></li>
1203 <li><code>scrollLeft</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1204 <li><code>scrollTop</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1205 <li><code>opacity</code> <div class="sub-desc">The element's <code>opacity</code> value. This must be a value between <code>0</code> and <code>1</code>.</div></li>
1206 </ul>
1207 <p><b>Be aware than animating an Element which is being used by an <a href="Ext.html" rel="Ext" class="docClass">Ext</a> Component without in some way informing the Component about the changed element state
1208 will result in incorrect Component behaviour. This is because the Component will be using the old state of the element. To avoid this problem, it is now possible to
1209 directly animate certain properties of Components.</b></p>
1210 <h3>Animating a <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></h3>
1211 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1212 <li><code>x</code> <div class="sub-desc">The Component's page X position in pixels.</div></li>
1213 <li><code>y</code> <div class="sub-desc">The Component's page Y position in pixels</div></li>
1214 <li><code>left</code> <div class="sub-desc">The Component's <code>left</code> value in pixels.</div></li>
1215 <li><code>top</code> <div class="sub-desc">The Component's <code>top</code> value in pixels.</div></li>
1216 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1217 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1218 <li><code>dynamic</code> <div class="sub-desc">Specify as true to update the Component's layout (if it is a Container) at every frame
1219 of the animation. <i>Use sparingly as laying out on every intermediate size change is an expensive operation</i>.</div></li>
1220 </ul>
1221 <p>For example, to animate a Window to a new size, ensuring that its internal layout, and any shadow is correct:</p>
1222 <pre><code>myWindow = Ext.create('Ext.window.Window', {
1223     title: 'Test Component animation',
1224     width: 500,
1225     height: 300,
1226     layout: {
1227         type: 'hbox',
1228         align: 'stretch'
1229     },
1230     items: [{
1231         title: 'Left: 33%',
1232         margins: '5 0 5 5',
1233         flex: 1
1234     }, {
1235         title: 'Left: 66%',
1236         margins: '5 5 5 5',
1237         flex: 2
1238     }]
1239 });
1240 myWindow.show();
1241 myWindow.header.el.on('click', function() {
1242     myWindow.animate({
1243         to: {
1244             width: (myWindow.getWidth() == 500) ? 700 : 500,
1245             height: (myWindow.getHeight() == 300) ? 400 : 300,
1246         }
1247     });
1248 });
1249 </code></pre>
1250 <p>For performance reasons, by default, the internal layout is only updated when the Window reaches its final <code>"to"</code> size. If dynamic updating of the Window's child
1251 Components is required, then configure the animation with <code>dynamic: true</code> and the two child items will maintain their proportions during the animation.</p>
1252
1253 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>An object containing properties which describe the animation's start and end states, and the timeline of the animation.</p>
1254 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>this</p>
1255 </li></ul></div></div></div><div id="method-applyState" class="member inherited"><a href="Ext.grid.column.Template.html#method-applyState" rel="method-applyState" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-applyState" class="viewSource">view source</a></div><a name="applyState"></a><a name="method-applyState"></a><a href="Ext.grid.column.Template.html#" rel="method-applyState" class="cls expand">applyState</a>(
1256 <span class="pre">Object state</span>)
1257  : void</div><div class="description"><div class="short">Applies the state to the object. This should be overridden in subclasses to do
1258 more complex state operations. By defa...</div><div class="long"><p>Applies the state to the object. This should be overridden in subclasses to do
1259 more complex state operations. By default it applies the state properties onto
1260 the current object.</p>
1261 <h3 class="pa">Parameters</h3><ul><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The state</p>
1262 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1263 </li></ul></div></div></div><div id="method-beforeComponentLayout" class="member inherited"><a href="Ext.grid.column.Template.html#method-beforeComponentLayout" rel="method-beforeComponentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-beforeComponentLayout" class="viewSource">view source</a></div><a name="beforeComponentLayout"></a><a name="method-beforeComponentLayout"></a><a href="Ext.grid.column.Template.html#" rel="method-beforeComponentLayout" class="cls expand">beforeComponentLayout</a>(
1264 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1265  : void</div><div class="description"><div class="short">Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1266 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1267 from being executed.</p>
1268 <h3 class="pa">Parameters</h3><ul><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
1269 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1270 </div></li><li><span class="pre">isSetSize</span> : Boolean<div class="sub-desc"><p>Whether or not the height/width are stored on the component permanently</p>
1271 </div></li><li><span class="pre">layoutOwner</span> : Ext.Component<div class="sub-desc"><p>Component which sent the layout. Only used when isSetSize is false.</p>
1272 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1273 </li></ul></div></div></div><div id="method-beforeLayout" class="member inherited"><a href="Ext.grid.column.Template.html#method-beforeLayout" rel="method-beforeLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-beforeLayout" class="viewSource">view source</a></div><a name="beforeLayout"></a><a name="method-beforeLayout"></a><a href="Ext.grid.column.Template.html#" rel="method-beforeLayout" class="cls expand">beforeLayout</a> : void</div><div class="description"><div class="short">Occurs before componentLayout is run. Returning false from this method will prevent the containerLayout
1274 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the containerLayout
1275 from being executed.</p>
1276 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1277 </li></ul></div></div></div><div id="method-bubble" class="member inherited"><a href="Ext.grid.column.Template.html#method-bubble" rel="method-bubble" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-bubble" class="viewSource">view source</a></div><a name="bubble"></a><a name="method-bubble"></a><a href="Ext.grid.column.Template.html#" rel="method-bubble" class="cls expand">bubble</a>(
1278 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1279  : Ext.Component</div><div class="description"><div class="short">Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of...</div><div class="long"><p>Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (<i>this</i>) of
1280 function call will be the scope provided or the current component. The arguments to the function
1281 will be the args provided or the current component. If the function returns false at any point,
1282 the bubble is stopped.</p>
1283 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1284 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope of the function (defaults to current node)</p>
1285 </div></li><li><span class="pre">args</span> : Array<div class="sub-desc"><p>(optional) The args to call the function with (default to passing the current component)</p>
1286 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1287 </li></ul></div></div></div><div id="method-capture" class="member inherited"><a href="Ext.grid.column.Template.html#method-capture" rel="method-capture" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-capture" class="viewSource">view source</a></div><a name="capture"></a><a name="method-capture"></a><a href="Ext.grid.column.Template.html#" rel="method-capture" class="cls expand">capture</a>(
1288 <span class="pre">Observable o, Function fn, [Object scope]</span>)
1289  : void</div><div class="description"><div class="short">Starts capture on the specified Observable. All events will be passed
1290 to the supplied function with the event name + ...</div><div class="long"><p>Starts capture on the specified Observable. All events will be passed
1291 to the supplied function with the event name + standard signature of the event
1292 <b>before</b> the event is fired. If the supplied function returns false,
1293 the event will not fire.</p>
1294 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to capture events from.</p>
1295 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call when an event is fired.</p>
1296 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Observable firing the event.</p>
1297 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1298 </li></ul></div></div></div><div id="method-cascade" class="member inherited"><a href="Ext.grid.column.Template.html#method-cascade" rel="method-cascade" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-cascade" class="viewSource">view source</a></div><a name="cascade"></a><a name="method-cascade"></a><a href="Ext.grid.column.Template.html#" rel="method-cascade" class="cls expand">cascade</a>(
1299 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1300  : Ext.Container</div><div class="description"><div class="short">Cascades down the component/container heirarchy from this component (passed in the first call), calling the specified...</div><div class="long"><p>Cascades down the component/container heirarchy from this component (passed in the first call), calling the specified function with
1301 each component. The scope (<code>this</code> reference) of the
1302 function call will be the scope provided or the current component. The arguments to the function
1303 will be the args provided or the current component. If the function returns false at any point,
1304 the cascade is stopped on that branch.</p>
1305 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1306 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope of the function (defaults to current component)</p>
1307 </div></li><li><span class="pre">args</span> : Array<div class="sub-desc"><p>(optional) The args to call the function with. The current component always passed as the last argument.</p>
1308 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Container</span>&nbsp; &nbsp;<p>this</p>
1309 </li></ul></div></div></div><div id="method-center" class="member inherited"><a href="Ext.grid.column.Template.html#method-center" rel="method-center" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-center" class="viewSource">view source</a></div><a name="center"></a><a name="method-center"></a><a href="Ext.grid.column.Template.html#" rel="method-center" class="cls expand">center</a> : Component</div><div class="description"><div class="short"><p>Center this Component in its container.</p>
1310 </div><div class="long"><p>Center this Component in its container.</p>
1311 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1312 </li></ul></div></div></div><div id="method-child" class="member inherited"><a href="Ext.grid.column.Template.html#method-child" rel="method-child" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-child" class="viewSource">view source</a></div><a name="child"></a><a name="method-child"></a><a href="Ext.grid.column.Template.html#" rel="method-child" class="cls expand">child</a>(
1313 <span class="pre">String selector</span>)
1314  : void</div><div class="description"><div class="short">Retrieves the first direct child of this container which matches the passed selector.
1315 The passed in selector must com...</div><div class="long"><p>Retrieves the first direct child of this container which matches the passed selector.
1316 The passed in selector must comply with an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector.</p>
1317 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>An <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector</p>
1318 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component</p>
1319 </li></ul></div></div></div><div id="method-clearListeners" class="member inherited"><a href="Ext.grid.column.Template.html#method-clearListeners" rel="method-clearListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-clearListeners" class="viewSource">view source</a></div><a name="clearListeners"></a><a name="method-clearListeners"></a><a href="Ext.grid.column.Template.html#" rel="method-clearListeners" class="cls expand">clearListeners</a> : void</div><div class="description"><div class="short"><p>Removes all listeners for this object including the managed listeners</p>
1320 </div><div class="long"><p>Removes all listeners for this object including the managed listeners</p>
1321 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1322 </li></ul></div></div></div><div id="method-clearManagedListeners" class="member inherited"><a href="Ext.grid.column.Template.html#method-clearManagedListeners" rel="method-clearManagedListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-clearManagedListeners" class="viewSource">view source</a></div><a name="clearManagedListeners"></a><a name="method-clearManagedListeners"></a><a href="Ext.grid.column.Template.html#" rel="method-clearManagedListeners" class="cls expand">clearManagedListeners</a> : void</div><div class="description"><div class="short"><p>Removes all managed listeners for this object.</p>
1323 </div><div class="long"><p>Removes all managed listeners for this object.</p>
1324 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1325 </li></ul></div></div></div><div id="method-cloneConfig" class="member inherited"><a href="Ext.grid.column.Template.html#method-cloneConfig" rel="method-cloneConfig" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-cloneConfig" class="viewSource">view source</a></div><a name="cloneConfig"></a><a name="method-cloneConfig"></a><a href="Ext.grid.column.Template.html#" rel="method-cloneConfig" class="cls expand">cloneConfig</a>(
1326 <span class="pre">Object overrides</span>)
1327  : Ext.Component</div><div class="description"><div class="short"><p>Clone the current component using the original config values passed into this instance by default.</p>
1328 </div><div class="long"><p>Clone the current component using the original config values passed into this instance by default.</p>
1329 <h3 class="pa">Parameters</h3><ul><li><span class="pre">overrides</span> : Object<div class="sub-desc"><p>A new config containing any properties to override in the cloned version.
1330 An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</p>
1331 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>clone The cloned copy of this component</p>
1332 </li></ul></div></div></div><div id="method-destroy" class="member inherited"><a href="Ext.grid.column.Template.html#method-destroy" rel="method-destroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-destroy" class="viewSource">view source</a></div><a name="destroy"></a><a name="method-destroy"></a><a href="Ext.grid.column.Template.html#" rel="method-destroy" class="cls expand">destroy</a> : void</div><div class="description"><div class="short"><p>Destroys this stateful object.</p>
1333 </div><div class="long"><p>Destroys this stateful object.</p>
1334 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1335 </li></ul></div></div></div><div id="method-disable" class="member inherited"><a href="Ext.grid.column.Template.html#method-disable" rel="method-disable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-disable" class="viewSource">view source</a></div><a name="disable"></a><a name="method-disable"></a><a href="Ext.grid.column.Template.html#" rel="method-disable" class="cls expand">disable</a>(
1336 <span class="pre">Boolean silent</span>)
1337  : void</div><div class="description"><div class="short"><p>Disable the component.</p>
1338 </div><div class="long"><p>Disable the component.</p>
1339 <h3 class="pa">Parameters</h3><ul><li><span class="pre">silent</span> : Boolean<div class="sub-desc"><p>Passing true, will supress the 'disable' event from being fired.</p>
1340 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1341 </li></ul></div></div></div><div id="method-doAutoRender" class="member inherited"><a href="Ext.grid.column.Template.html#method-doAutoRender" rel="method-doAutoRender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-doAutoRender" class="viewSource">view source</a></div><a name="doAutoRender"></a><a name="method-doAutoRender"></a><a href="Ext.grid.column.Template.html#" rel="method-doAutoRender" class="cls expand">doAutoRender</a> : void</div><div class="description"><div class="short">Handles autoRender.
1342 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them wit...</div><div class="long"><p>Handles autoRender.
1343 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them within that
1344 ownerCt, and have their z-index managed locally. Floating Components are always rendered to document.body</p>
1345 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1346 </li></ul></div></div></div><div id="method-doComponentLayout" class="member inherited"><a href="Ext.grid.column.Template.html#method-doComponentLayout" rel="method-doComponentLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-doComponentLayout" class="viewSource">view source</a></div><a name="doComponentLayout"></a><a name="method-doComponentLayout"></a><a href="Ext.grid.column.Template.html#" rel="method-doComponentLayout" class="cls expand">doComponentLayout</a>(
1347 <span class="pre">Object width, Object height, Object isSetSize, Object ownerCt</span>)
1348  : Ext.container.Container</div><div class="description"><div class="short">This method needs to be called whenever you change something on this component that requires the Component's
1349 layout t...</div><div class="long"><p>This method needs to be called whenever you change something on this component that requires the Component's
1350 layout to be recalculated.</p>
1351 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Object<div class="sub-desc">
1352 </div></li><li><span class="pre">height</span> : Object<div class="sub-desc">
1353 </div></li><li><span class="pre">isSetSize</span> : Object<div class="sub-desc">
1354 </div></li><li><span class="pre">ownerCt</span> : Object<div class="sub-desc">
1355 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
1356 </li></ul></div></div></div><div id="method-doConstrain" class="member inherited"><a href="Ext.grid.column.Template.html#method-doConstrain" rel="method-doConstrain" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-doConstrain" class="viewSource">view source</a></div><a name="doConstrain"></a><a name="method-doConstrain"></a><a href="Ext.grid.column.Template.html#" rel="method-doConstrain" class="cls expand">doConstrain</a>(
1357 <span class="pre">Mixed constrainTo</span>)
1358  : void</div><div class="description"><div class="short">Moves this floating Component into a constrain region.
1359
1360
1361 By default, this Component is constrained to be within the c...</div><div class="long"><p>Moves this floating Component into a constrain region.</p>
1362
1363
1364 <p>By default, this Component is constrained to be within the container it was added to, or the element
1365 it was rendered to.</p>
1366
1367
1368 <p>An alternative constraint may be passed.</p>
1369
1370 <h3 class="pa">Parameters</h3><ul><li><span class="pre">constrainTo</span> : Mixed<div class="sub-desc"><p>Optional. The Element or <a href="Ext.util.Region.html" rel="Ext.util.Region" class="docClass">Region</a> into which this Component is to be constrained.</p>
1371 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1372 </li></ul></div></div></div><div id="method-doLayout" class="member inherited"><a href="Ext.grid.column.Template.html#method-doLayout" rel="method-doLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-doLayout" class="viewSource">view source</a></div><a name="doLayout"></a><a name="method-doLayout"></a><a href="Ext.grid.column.Template.html#" rel="method-doLayout" class="cls expand">doLayout</a> : Ext.container.Container</div><div class="description"><div class="short">Manually force this container's layout to be recalculated.  The framwork uses this internally to refresh layouts
1373 form...</div><div class="long"><p>Manually force this container's layout to be recalculated.  The framwork uses this internally to refresh layouts
1374 form most cases.</p>
1375 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
1376 </li></ul></div></div></div><div id="method-down" class="member inherited"><a href="Ext.grid.column.Template.html#method-down" rel="method-down" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-down" class="viewSource">view source</a></div><a name="down"></a><a name="method-down"></a><a href="Ext.grid.column.Template.html#" rel="method-down" class="cls expand">down</a>(
1377 <span class="pre">String selector</span>)
1378  : void</div><div class="description"><div class="short">Retrieves the first descendant of this container which matches the passed selector.
1379 The passed in selector must compl...</div><div class="long"><p>Retrieves the first descendant of this container which matches the passed selector.
1380 The passed in selector must comply with an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector.</p>
1381 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>An <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector</p>
1382 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component</p>
1383 </li></ul></div></div></div><div id="method-enable" class="member inherited"><a href="Ext.grid.column.Template.html#method-enable" rel="method-enable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-enable" class="viewSource">view source</a></div><a name="enable"></a><a name="method-enable"></a><a href="Ext.grid.column.Template.html#" rel="method-enable" class="cls expand">enable</a>(
1384 <span class="pre">Boolean silent</span>)
1385  : void</div><div class="description"><div class="short"><p>Enable the component</p>
1386 </div><div class="long"><p>Enable the component</p>
1387 <h3 class="pa">Parameters</h3><ul><li><span class="pre">silent</span> : Boolean<div class="sub-desc"><p>Passing false will supress the 'enable' event from being fired.</p>
1388 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1389 </li></ul></div></div></div><div id="method-enableBubble" class="member inherited"><a href="Ext.grid.column.Template.html#method-enableBubble" rel="method-enableBubble" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-enableBubble" class="viewSource">view source</a></div><a name="enableBubble"></a><a name="method-enableBubble"></a><a href="Ext.grid.column.Template.html#" rel="method-enableBubble" class="cls expand">enableBubble</a>(
1390 <span class="pre">String/Array events</span>)
1391  : void</div><div class="description"><div class="short">Enables events fired by this Observable to bubble up an owner hierarchy by calling
1392 this.getBubbleTarget() if present....</div><div class="long"><p>Enables events fired by this Observable to bubble up an owner hierarchy by calling
1393 <code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>
1394
1395
1396 <p>This is commonly used by Ext.Components to bubble events to owner Containers. See <a href="Ext.Component.html#getBubbleTarget" rel="Ext.Component#getBubbleTarget" class="docClass">Ext.Component.getBubbleTarget</a>. The default
1397 implementation in <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> returns the Component's immediate owner. But if a known target is required, this can be overridden to
1398 access the required target more quickly.</p>
1399
1400
1401 <p>Example:</p>
1402
1403
1404 <pre><code>Ext.override(Ext.form.field.Base, {
1405 //  Add functionality to Field&#39;s initComponent to enable the change event to bubble
1406 initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {
1407     this.enableBubble('change');
1408 }),
1409
1410 //  We know that we want Field&#39;s events to bubble directly to the FormPanel.
1411 getBubbleTarget : function() {
1412     if (!this.formPanel) {
1413         this.formPanel = this.findParentByType('form');
1414     }
1415     return this.formPanel;
1416 }
1417 });
1418
1419 var myForm = new Ext.formPanel({
1420 title: 'User Details',
1421 items: [{
1422     ...
1423 }],
1424 listeners: {
1425     change: function() {
1426         // Title goes red if form has been modified.
1427         myForm.header.setStyle('color', 'red');
1428     }
1429 }
1430 });
1431 </code></pre>
1432
1433 <h3 class="pa">Parameters</h3><ul><li><span class="pre">events</span> : String/Array<div class="sub-desc"><p>The event name to bubble, or an Array of event names.</p>
1434 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1435 </li></ul></div></div></div><div id="method-findLayoutController" class="member inherited"><a href="Ext.grid.column.Template.html#method-findLayoutController" rel="method-findLayoutController" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-findLayoutController" class="viewSource">view source</a></div><a name="findLayoutController"></a><a name="method-findLayoutController"></a><a href="Ext.grid.column.Template.html#" rel="method-findLayoutController" class="cls expand">findLayoutController</a> : void</div><div class="description"><div class="short">This method finds the topmost active layout who's processing will eventually determine the size and position of this
1436 ...</div><div class="long"><p>This method finds the topmost active layout who's processing will eventually determine the size and position of this
1437 Component.<p>
1438 <p>This method is useful when dynamically adding Components into Containers, and some processing must take place after the
1439 final sizing and positioning of the Component has been performed.</p>
1440
1441 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1442 </li></ul></div></div></div><div id="method-findParentBy" class="member inherited"><a href="Ext.grid.column.Template.html#method-findParentBy" rel="method-findParentBy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-findParentBy" class="viewSource">view source</a></div><a name="findParentBy"></a><a name="method-findParentBy"></a><a href="Ext.grid.column.Template.html#" rel="method-findParentBy" class="cls expand">findParentBy</a>(
1443 <span class="pre">Function fn</span>)
1444  : Ext.container.Container</div><div class="description"><div class="short">Find a container above this component at any level by a custom function. If the passed function returns
1445 true, the con...</div><div class="long"><p>Find a container above this component at any level by a custom function. If the passed function returns
1446 true, the container will be returned.</p>
1447 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The custom function to call with the arguments (container, this component).</p>
1448 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>The first Container for which the custom function returns true</p>
1449 </li></ul></div></div></div><div id="method-findParentByType" class="member inherited"><a href="Ext.grid.column.Template.html#method-findParentByType" rel="method-findParentByType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-findParentByType" class="viewSource">view source</a></div><a name="findParentByType"></a><a name="method-findParentByType"></a><a href="Ext.grid.column.Template.html#" rel="method-findParentByType" class="cls expand">findParentByType</a>(
1450 <span class="pre">String/Class xtype</span>)
1451  : Ext.container.Container</div><div class="description"><div class="short"><p>Find a container above this component at any level by xtype or class</p>
1452
1453
1454 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1455
1456 </div><div class="long"><p>Find a container above this component at any level by xtype or class</p>
1457
1458
1459 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
1460
1461 <h3 class="pa">Parameters</h3><ul><li><span class="pre">xtype</span> : String/Class<div class="sub-desc"><p>The xtype string for a component, or the class of the component directly</p>
1462 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>The first Container which matches the given xtype or class</p>
1463 </li></ul></div></div></div><div id="method-fireEvent" class="member inherited"><a href="Ext.grid.column.Template.html#method-fireEvent" rel="method-fireEvent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-fireEvent" class="viewSource">view source</a></div><a name="fireEvent"></a><a name="method-fireEvent"></a><a href="Ext.grid.column.Template.html#" rel="method-fireEvent" class="cls expand">fireEvent</a>(
1464 <span class="pre">String eventName, Object... args</span>)
1465  : Boolean</div><div class="description"><div class="short">Fires the specified event with the passed parameters (minus the event name).
1466
1467
1468 An event may be set to bubble up an Ob...</div><div class="long"><p>Fires the specified event with the passed parameters (minus the event name).</p>
1469
1470
1471 <p>An event may be set to bubble up an Observable parent hierarchy (See <a href="Ext.Component.html#getBubbleTarget" rel="Ext.Component#getBubbleTarget" class="docClass">Ext.Component.getBubbleTarget</a>)
1472 by calling <a href="Ext.grid.column.Template.html#enableBubble" rel="Ext.grid.column.Template#enableBubble" class="docClass">enableBubble</a>.</p>
1473
1474 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to fire.</p>
1475 </div></li><li><span class="pre">args</span> : Object...<div class="sub-desc"><p>Variable number of parameters are passed to handlers.</p>
1476 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>returns false if any of the handlers return false otherwise it returns true.</p>
1477 </li></ul></div></div></div><div id="method-focus" class="member inherited"><a href="Ext.grid.column.Template.html#method-focus" rel="method-focus" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-focus" class="viewSource">view source</a></div><a name="focus"></a><a name="method-focus"></a><a href="Ext.grid.column.Template.html#" rel="method-focus" class="cls expand">focus</a>(
1478 <span class="pre">[Boolean selectText], [Boolean/Number delay]</span>)
1479  : Ext.Component</div><div class="description"><div class="short"><p>Try to focus this component.</p>
1480 </div><div class="long"><p>Try to focus this component.</p>
1481 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selectText</span> : Boolean<div class="sub-desc"><p>(optional) If applicable, true to also select the text in this component</p>
1482 </div></li><li><span class="pre">delay</span> : Boolean/Number<div class="sub-desc"><p>(optional) Delay the focus this number of milliseconds (true for 10 milliseconds).</p>
1483 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1484 </li></ul></div></div></div><div id="method-getActiveAnimation" class="member inherited"><a href="Ext.grid.column.Template.html#method-getActiveAnimation" rel="method-getActiveAnimation" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-getActiveAnimation" class="viewSource">view source</a></div><a name="getActiveAnimation"></a><a name="method-getActiveAnimation"></a><a href="Ext.grid.column.Template.html#" rel="method-getActiveAnimation" class="cls expand">getActiveAnimation</a> : Mixed</div><div class="description"><div class="short"><p>Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1485 </div><div class="long"><p>Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1486 <h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>anim if element has active effects, else false</p>
1487 </li></ul></div></div></div><div id="method-getBox" class="member inherited"><a href="Ext.grid.column.Template.html#method-getBox" rel="method-getBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-getBox" class="viewSource">view source</a></div><a name="getBox"></a><a name="method-getBox"></a><a href="Ext.grid.column.Template.html#" rel="method-getBox" class="cls expand">getBox</a>(
1488 <span class="pre">[Boolean local]</span>)
1489  : Object</div><div class="description"><div class="short"><p>Gets the current box measurements of the component's underlying element.</p>
1490 </div><div class="long"><p>Gets the current box measurements of the component's underlying element.</p>
1491 <h3 class="pa">Parameters</h3><ul><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</p>
1492 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>box An object in the format {x, y, width, height}</p>
1493 </li></ul></div></div></div><div id="method-getBubbleTarget" class="member inherited"><a href="Ext.grid.column.Template.html#method-getBubbleTarget" rel="method-getBubbleTarget" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getBubbleTarget" class="viewSource">view source</a></div><a name="getBubbleTarget"></a><a name="method-getBubbleTarget"></a><a href="Ext.grid.column.Template.html#" rel="method-getBubbleTarget" class="cls expand">getBubbleTarget</a> : Ext.container.Container</div><div class="description"><div class="short"><p>Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.</p>
1494 </div><div class="long"><p>Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.</p>
1495 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>the Container which owns this Component.</p>
1496 </li></ul></div></div></div><div id="method-getChildByElement" class="member inherited"><a href="Ext.grid.column.Template.html#method-getChildByElement" rel="method-getChildByElement" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.Container.html" class="definedIn docClass">Ext.container.Container</a><br/><a href="../source/Container.html#Ext-container.Container-method-getChildByElement" class="viewSource">view source</a></div><a name="getChildByElement"></a><a name="method-getChildByElement"></a><a href="Ext.grid.column.Template.html#" rel="method-getChildByElement" class="cls expand">getChildByElement</a>(
1497 <span class="pre">Object el</span>)
1498  : Component</div><div class="description"><div class="short"><p>Return the immediate child Component in which the passed element is located.</p>
1499 </div><div class="long"><p>Return the immediate child Component in which the passed element is located.</p>
1500 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Object<div class="sub-desc"><p>The element to test.</p>
1501 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>The child item which contains the passed element.</p>
1502 </li></ul></div></div></div><div id="method-getColumnCount" class="member inherited"><a href="Ext.grid.column.Template.html#method-getColumnCount" rel="method-getColumnCount" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-method-getColumnCount" class="viewSource">view source</a></div><a name="getColumnCount"></a><a name="method-getColumnCount"></a><a href="Ext.grid.column.Template.html#" rel="method-getColumnCount" class="cls expand">getColumnCount</a> : void</div><div class="description"><div class="short">Returns the number of grid columns descended from this HeaderContainer.
1503 Group Columns are HeaderContainers. All grid ...</div><div class="long"><p>Returns the number of <b>grid columns</b> descended from this HeaderContainer.
1504 Group Columns are HeaderContainers. All grid columns are returned, including hidden ones.</p>
1505 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1506 </li></ul></div></div></div><div id="method-getColumnMenu" class="member inherited"><a href="Ext.grid.column.Template.html#method-getColumnMenu" rel="method-getColumnMenu" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-method-getColumnMenu" class="viewSource">view source</a></div><a name="getColumnMenu"></a><a name="method-getColumnMenu"></a><a href="Ext.grid.column.Template.html#" rel="method-getColumnMenu" class="cls expand">getColumnMenu</a>(
1507 <span class="pre">Object headerContainer</span>)
1508  : void</div><div class="description"><div class="short">Returns an array of menu CheckItems corresponding to all immediate children of the passed Container which have been c...</div><div class="long"><p>Returns an array of menu CheckItems corresponding to all immediate children of the passed Container which have been configured as hideable.</p>
1509 <h3 class="pa">Parameters</h3><ul><li><span class="pre">headerContainer</span> : Object<div class="sub-desc">
1510 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1511 </li></ul></div></div></div><div id="method-getComponent" class="member inherited"><a href="Ext.grid.column.Template.html#method-getComponent" rel="method-getComponent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-getComponent" class="viewSource">view source</a></div><a name="getComponent"></a><a name="method-getComponent"></a><a href="Ext.grid.column.Template.html#" rel="method-getComponent" class="cls expand">getComponent</a>(
1512 <span class="pre">String/Number comp</span>)
1513  : void</div><div class="description"><div class="short"><p>Examines this container's <code><a href="Ext.grid.column.Template.html#items" rel="Ext.grid.column.Template#items" class="docClass">items</a></code> <b>property</b>
1514 and gets a direct child component of this container.</p>
1515 </div><div class="long"><p>Examines this container's <code><a href="Ext.grid.column.Template.html#items" rel="Ext.grid.column.Template#items" class="docClass">items</a></code> <b>property</b>
1516 and gets a direct child component of this container.</p>
1517 <h3 class="pa">Parameters</h3><ul><li><span class="pre">comp</span> : String/Number<div class="sub-desc"><p>This parameter may be any of the following:</p>
1518
1519 <div><ul class="mdetail-params">
1520 <li>a <b><code>String</code></b> : representing the <code><a href="Ext.Component.html#itemId" rel="Ext.Component#itemId" class="docClass">itemId</a></code>
1521 or <code><a href="Ext.Component.html#id" rel="Ext.Component#id" class="docClass">id</a></code> of the child component </li>
1522 <li>a <b><code>Number</code></b> : representing the position of the child component
1523 within the <code><a href="Ext.grid.column.Template.html#items" rel="Ext.grid.column.Template#items" class="docClass">items</a></code> <b>property</b></li>
1524 </ul></div>
1525
1526
1527 <p>For additional information see <a href="Ext.util.MixedCollection.html#get" rel="Ext.util.MixedCollection#get" class="docClass">Ext.util.MixedCollection.get</a>.
1528
1529 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component The component (if found).</p>
1530 </li></ul></div></div></div><div id="method-getEditor" class="member inherited"><a href="Ext.grid.column.Template.html#method-getEditor" rel="method-getEditor" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-method-getEditor" class="viewSource">view source</a></div><a name="getEditor"></a><a name="method-getEditor"></a><a href="Ext.grid.column.Template.html#" rel="method-getEditor" class="cls expand">getEditor</a>(
1531 <span class="pre">Object record, Mixed defaultField</span>)
1532  : Ext.form.field.Field</div><div class="description"><div class="short">Retrieves the editing field for editing associated with this header. Returns false if there
1533 is no field associated wi...</div><div class="long"><p>Retrieves the editing field for editing associated with this header. Returns false if there
1534 is no field associated with the Header the method will return false. If the
1535 field has not been instantiated it will be created. Note: These methods only has an implementation
1536 if a Editing plugin has been enabled on the grid.</p>
1537 <h3 class="pa">Parameters</h3><ul><li><span class="pre">record</span> : Object<div class="sub-desc"><p>The <a href="Ext.data.Model.html" rel="Ext.data.Model" class="docClass">Model</a> instance being edited.</p>
1538 </div></li><li><span class="pre">defaultField</span> : Mixed<div class="sub-desc"><p>An object representing a default field to be created</p>
1539 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.form.field.Field</span>&nbsp; &nbsp;<p>field</p>
1540 </li></ul></div></div></div><div id="method-getEl" class="member inherited"><a href="Ext.grid.column.Template.html#method-getEl" rel="method-getEl" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getEl" class="viewSource">view source</a></div><a name="getEl"></a><a name="method-getEl"></a><a href="Ext.grid.column.Template.html#" rel="method-getEl" class="cls expand">getEl</a> : void</div><div class="description"><div class="short"><p>Retrieves the top level element representing this component.</p>
1541 </div><div class="long"><p>Retrieves the top level element representing this component.</p>
1542 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1543 </li></ul></div></div></div><div id="method-getFullWidth" class="member inherited"><a href="Ext.grid.column.Template.html#method-getFullWidth" rel="method-getFullWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-method-getFullWidth" class="viewSource">view source</a></div><a name="getFullWidth"></a><a name="method-getFullWidth"></a><a href="Ext.grid.column.Template.html#" rel="method-getFullWidth" class="cls expand">getFullWidth</a>(
1544 <span class="pre">Object flushCache</span>)
1545  : void</div><div class="description"><div class="short"><p>Gets the full width of all columns that are visible.</p>
1546 </div><div class="long"><p>Gets the full width of all columns that are visible.</p>
1547 <h3 class="pa">Parameters</h3><ul><li><span class="pre">flushCache</span> : Object<div class="sub-desc">
1548 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1549 </li></ul></div></div></div><div id="method-getGridColumns" class="member inherited"><a href="Ext.grid.column.Template.html#method-getGridColumns" rel="method-getGridColumns" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-method-getGridColumns" class="viewSource">view source</a></div><a name="getGridColumns"></a><a name="method-getGridColumns"></a><a href="Ext.grid.column.Template.html#" rel="method-getGridColumns" class="cls expand">getGridColumns</a>(
1550 <span class="pre">Boolean refreshCache</span>)
1551  : Array</div><div class="description"><div class="short">Returns an array of all columns which map to Store fields. This goes down to the lowest column header
1552 level, and does...</div><div class="long"><p>Returns an array of all columns which map to Store fields. This goes down to the lowest column header
1553 level, and does not return <i>grouped</i> headers which contain sub headers.</p>
1554 <h3 class="pa">Parameters</h3><ul><li><span class="pre">refreshCache</span> : Boolean<div class="sub-desc"><p>If omitted, the cached set of columns will be returned. Pass true to refresh the cache.</p>
1555 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;
1556 </li></ul></div></div></div><div id="method-getHeaderAtIndex" class="member inherited"><a href="Ext.grid.column.Template.html#method-getHeaderAtIndex" rel="method-getHeaderAtIndex" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-method-getHeaderAtIndex" class="viewSource">view source</a></div><a name="getHeaderAtIndex"></a><a name="method-getHeaderAtIndex"></a><a href="Ext.grid.column.Template.html#" rel="method-getHeaderAtIndex" class="cls expand">getHeaderAtIndex</a>(
1557 <span class="pre">Object index</span>)
1558  : void</div><div class="description"><div class="short"><p>Get a leaf level header by index regardless of what the nesting
1559 structure is.</p>
1560 </div><div class="long"><p>Get a leaf level header by index regardless of what the nesting
1561 structure is.</p>
1562 <h3 class="pa">Parameters</h3><ul><li><span class="pre">index</span> : Object<div class="sub-desc">
1563 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1564 </li></ul></div></div></div><div id="method-getHeaderIndex" class="member inherited"><a href="Ext.grid.column.Template.html#method-getHeaderIndex" rel="method-getHeaderIndex" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-method-getHeaderIndex" class="viewSource">view source</a></div><a name="getHeaderIndex"></a><a name="method-getHeaderIndex"></a><a href="Ext.grid.column.Template.html#" rel="method-getHeaderIndex" class="cls expand">getHeaderIndex</a>(
1565 <span class="pre">Object header</span>)
1566  : void</div><div class="description"><div class="short"><p>Get the index of a leaf level header regardless of what the nesting
1567 structure is.</p>
1568 </div><div class="long"><p>Get the index of a leaf level header regardless of what the nesting
1569 structure is.</p>
1570 <h3 class="pa">Parameters</h3><ul><li><span class="pre">header</span> : Object<div class="sub-desc">
1571 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1572 </li></ul></div></div></div><div id="method-getHeight" class="member inherited"><a href="Ext.grid.column.Template.html#method-getHeight" rel="method-getHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getHeight" class="viewSource">view source</a></div><a name="getHeight"></a><a name="method-getHeight"></a><a href="Ext.grid.column.Template.html#" rel="method-getHeight" class="cls expand">getHeight</a> : Number</div><div class="description"><div class="short"><p>Gets the current height of the component's underlying element.</p>
1573 </div><div class="long"><p>Gets the current height of the component's underlying element.</p>
1574 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
1575 </li></ul></div></div></div><div id="method-getId" class="member inherited"><a href="Ext.grid.column.Template.html#method-getId" rel="method-getId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getId" class="viewSource">view source</a></div><a name="getId"></a><a name="method-getId"></a><a href="Ext.grid.column.Template.html#" rel="method-getId" class="cls expand">getId</a> : void</div><div class="description"><div class="short"><p>Retrieves the id of this component.
1576 Will autogenerate an id if one has not already been set.</p>
1577 </div><div class="long"><p>Retrieves the id of this component.
1578 Will autogenerate an id if one has not already been set.</p>
1579 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1580 </li></ul></div></div></div><div id="method-getIndex" class="member inherited"><a href="Ext.grid.column.Template.html#method-getIndex" rel="method-getIndex" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-method-getIndex" class="viewSource">view source</a></div><a name="getIndex"></a><a name="method-getIndex"></a><a href="Ext.grid.column.Template.html#" rel="method-getIndex" class="cls expand">getIndex</a> : void</div><div class="description"><div class="short">Returns the true grid column index assiciated with this Column only if this column is a base level Column.
1581 If it is a...</div><div class="long"><p>Returns the true grid column index assiciated with this Column only if this column is a base level Column.
1582 If it is a group column, it returns <code>false</code></p>
1583 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1584 </li></ul></div></div></div><div id="method-getInsertPosition" class="member inherited"><a href="Ext.grid.column.Template.html#method-getInsertPosition" rel="method-getInsertPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getInsertPosition" class="viewSource">view source</a></div><a name="getInsertPosition"></a><a name="method-getInsertPosition"></a><a href="Ext.grid.column.Template.html#" rel="method-getInsertPosition" class="cls expand">getInsertPosition</a>(
1585 <span class="pre">String/Number/Element/HTMLElement position</span>)
1586  : HTMLElement</div><div class="description"><div class="short">This function takes the position argument passed to onRender and returns a
1587 DOM element that you can use in the insert...</div><div class="long"><p>This function takes the position argument passed to onRender and returns a
1588 DOM element that you can use in the insertBefore.</p>
1589 <h3 class="pa">Parameters</h3><ul><li><span class="pre">position</span> : String/Number/Element/HTMLElement<div class="sub-desc"><p>Index, element id or element you want
1590 to put this component before.</p>
1591 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement</span>&nbsp; &nbsp;<p>DOM element that you can use in the insertBefore</p>
1592 </li></ul></div></div></div><div id="method-getLayout" class="member inherited"><a href="Ext.grid.column.Template.html#method-getLayout" rel="method-getLayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-getLayout" class="viewSource">view source</a></div><a name="getLayout"></a><a name="method-getLayout"></a><a href="Ext.grid.column.Template.html#" rel="method-getLayout" class="cls expand">getLayout</a> : Ext.layout.container.AbstractContainer</div><div class="description"><div class="short">Returns the layout instance currently associated with this Container.
1593 If a layout has not been instantiated yet, that...</div><div class="long"><p>Returns the <a href="Ext.layout.container.AbstractContainer.html" rel="Ext.layout.container.AbstractContainer" class="docClass">layout</a> instance currently associated with this Container.
1594 If a layout has not been instantiated yet, that is done first</p>
1595 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.layout.container.AbstractContainer</span>&nbsp; &nbsp;<p>The layout</p>
1596 </li></ul></div></div></div><div id="method-getLoader" class="member inherited"><a href="Ext.grid.column.Template.html#method-getLoader" rel="method-getLoader" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getLoader" class="viewSource">view source</a></div><a name="getLoader"></a><a name="method-getLoader"></a><a href="Ext.grid.column.Template.html#" rel="method-getLoader" class="cls expand">getLoader</a> : Ext.ComponentLoader</div><div class="description"><div class="short"><p>Gets the <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> for this Component.</p>
1597 </div><div class="long"><p>Gets the <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> for this Component.</p>
1598 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.ComponentLoader</span>&nbsp; &nbsp;<p>The loader instance, null if it doesn't exist.</p>
1599 </li></ul></div></div></div><div id="method-getMenuItems" class="member inherited"><a href="Ext.grid.column.Template.html#method-getMenuItems" rel="method-getMenuItems" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-method-getMenuItems" class="viewSource">view source</a></div><a name="getMenuItems"></a><a name="method-getMenuItems"></a><a href="Ext.grid.column.Template.html#" rel="method-getMenuItems" class="cls expand">getMenuItems</a> : Array</div><div class="description"><div class="short"><p>Returns an array of menu items to be placed into the shared menu
1600 across all headers in this header container.</p>
1601 </div><div class="long"><p>Returns an array of menu items to be placed into the shared menu
1602 across all headers in this header container.</p>
1603 <h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>menuItems</p>
1604 </li></ul></div></div></div><div id="method-getPlugin" class="member inherited"><a href="Ext.grid.column.Template.html#method-getPlugin" rel="method-getPlugin" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getPlugin" class="viewSource">view source</a></div><a name="getPlugin"></a><a name="method-getPlugin"></a><a href="Ext.grid.column.Template.html#" rel="method-getPlugin" class="cls expand">getPlugin</a>(
1605 <span class="pre">Object pluginId</span>)
1606  : Ext.AbstractPlugin</div><div class="description"><div class="short"><p>Retrieves a plugin by its pluginId which has been bound to this
1607 component.</p>
1608 </div><div class="long"><p>Retrieves a plugin by its pluginId which has been bound to this
1609 component.</p>
1610 <h3 class="pa">Parameters</h3><ul><li><span class="pre">pluginId</span> : Object<div class="sub-desc">
1611 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.AbstractPlugin</span>&nbsp; &nbsp;<p>pluginInstance</p>
1612 </li></ul></div></div></div><div id="method-getPosition" class="member inherited"><a href="Ext.grid.column.Template.html#method-getPosition" rel="method-getPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-getPosition" class="viewSource">view source</a></div><a name="getPosition"></a><a name="method-getPosition"></a><a href="Ext.grid.column.Template.html#" rel="method-getPosition" class="cls expand">getPosition</a>(
1613 <span class="pre">[Boolean local]</span>)
1614  : Array</div><div class="description"><div class="short"><p>Gets the current XY position of the component's underlying element.</p>
1615 </div><div class="long"><p>Gets the current XY position of the component's underlying element.</p>
1616 <h3 class="pa">Parameters</h3><ul><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>(optional) If true the element's left and top are returned instead of page XY (defaults to false)</p>
1617 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>The XY position of the element (e.g., [100, 200])</p>
1618 </li></ul></div></div></div><div id="method-getSize" class="member inherited"><a href="Ext.grid.column.Template.html#method-getSize" rel="method-getSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getSize" class="viewSource">view source</a></div><a name="getSize"></a><a name="method-getSize"></a><a href="Ext.grid.column.Template.html#" rel="method-getSize" class="cls expand">getSize</a> : Object</div><div class="description"><div class="short"><p>Gets the current size of the component's underlying element.</p>
1619 </div><div class="long"><p>Gets the current size of the component's underlying element.</p>
1620 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>An object containing the element's size {width: (element width), height: (element height)}</p>
1621 </li></ul></div></div></div><div id="method-getSortParam" class="member inherited"><a href="Ext.grid.column.Template.html#method-getSortParam" rel="method-getSortParam" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-method-getSortParam" class="viewSource">view source</a></div><a name="getSortParam"></a><a name="method-getSortParam"></a><a href="Ext.grid.column.Template.html#" rel="method-getSortParam" class="cls expand">getSortParam</a> : void</div><div class="description"><div class="short">Returns the parameter to sort upon when sorting this header. By default
1622 this returns the dataIndex and will not need ...</div><div class="long"><p>Returns the parameter to sort upon when sorting this header. By default
1623 this returns the dataIndex and will not need to be overriden in most cases.</p>
1624 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1625 </li></ul></div></div></div><div id="method-getState" class="member inherited"><a href="Ext.grid.column.Template.html#method-getState" rel="method-getState" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-getState" class="viewSource">view source</a></div><a name="getState"></a><a name="method-getState"></a><a href="Ext.grid.column.Template.html#" rel="method-getState" class="cls expand">getState</a> : Object</div><div class="description"><div class="short">Gets the current state of the object. By default this function returns null,
1626 it should be overridden in subclasses to...</div><div class="long"><p>Gets the current state of the object. By default this function returns null,
1627 it should be overridden in subclasses to implement methods for getting the state.</p>
1628 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The current state</p>
1629 </li></ul></div></div></div><div id="method-getStateId" class="member inherited"><a href="Ext.grid.column.Template.html#method-getStateId" rel="method-getStateId" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-method-getStateId" class="viewSource">view source</a></div><a name="getStateId"></a><a name="method-getStateId"></a><a href="Ext.grid.column.Template.html#" rel="method-getStateId" class="cls expand">getStateId</a> : String</div><div class="description"><div class="short"><p>Gets the state id for this object.</p>
1630 </div><div class="long"><p>Gets the state id for this object.</p>
1631 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The state id, null if not found.</p>
1632 </li></ul></div></div></div><div id="method-getVisibleGridColumns" class="member inherited"><a href="Ext.grid.column.Template.html#method-getVisibleGridColumns" rel="method-getVisibleGridColumns" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-method-getVisibleGridColumns" class="viewSource">view source</a></div><a name="getVisibleGridColumns"></a><a name="method-getVisibleGridColumns"></a><a href="Ext.grid.column.Template.html#" rel="method-getVisibleGridColumns" class="cls expand">getVisibleGridColumns</a>(
1633 <span class="pre">Boolean refreshCache</span>)
1634  : Array</div><div class="description"><div class="short">Returns an array of the visible columns in the grid. This goes down to the lowest column header
1635 level, and does not r...</div><div class="long"><p>Returns an array of the <b>visible<b> columns in the grid. This goes down to the lowest column header
1636 level, and does not return <i>grouped</i> headers which contain sub headers.</p>
1637 <h3 class="pa">Parameters</h3><ul><li><span class="pre">refreshCache</span> : Boolean<div class="sub-desc"><p>If omitted, the cached set of columns will be returned. Pass true to refresh the cache.</p>
1638 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;
1639 </li></ul></div></div></div><div id="method-getWidth" class="member inherited"><a href="Ext.grid.column.Template.html#method-getWidth" rel="method-getWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getWidth" class="viewSource">view source</a></div><a name="getWidth"></a><a name="method-getWidth"></a><a href="Ext.grid.column.Template.html#" rel="method-getWidth" class="cls expand">getWidth</a> : Number</div><div class="description"><div class="short"><p>Gets the current width of the component's underlying element.</p>
1640 </div><div class="long"><p>Gets the current width of the component's underlying element.</p>
1641 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
1642 </li></ul></div></div></div><div id="method-getXType" class="member inherited"><a href="Ext.grid.column.Template.html#method-getXType" rel="method-getXType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-getXType" class="viewSource">view source</a></div><a name="getXType"></a><a name="method-getXType"></a><a href="Ext.grid.column.Template.html#" rel="method-getXType" class="cls expand">getXType</a> : String</div><div class="description"><div class="short">Gets the xtype for this component as registered with Ext.ComponentManager. For a list of all
1643 available xtypes, see th...</div><div class="long"><p>Gets the xtype for this component as registered with <a href="Ext.ComponentManager.html" rel="Ext.ComponentManager" class="docClass">Ext.ComponentManager</a>. For a list of all
1644 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header. Example usage:</p>
1645
1646 <pre><code>var t = new Ext.form.field.Text();
1647 alert(t.getXType());  // alerts 'textfield'
1648 </code></pre>
1649
1650 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype</p>
1651 </li></ul></div></div></div><div id="method-getXTypes" class="member inherited"><a href="Ext.grid.column.Template.html#method-getXTypes" rel="method-getXTypes" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-getXTypes" class="viewSource">view source</a></div><a name="getXTypes"></a><a name="method-getXTypes"></a><a href="Ext.grid.column.Template.html#" rel="method-getXTypes" class="cls expand">getXTypes</a> : String</div><div class="description"><div class="short">Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1652 available xtypes, see the Ext...</div><div class="long"><p>Returns this Component's xtype hierarchy as a slash-delimited string. For a list of all
1653 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header.</p>
1654
1655
1656 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1657 to participate in determination of inherited xtypes.</b></p>
1658
1659
1660 <p>Example usage:</p>
1661
1662
1663 <pre><code>var t = new Ext.form.field.Text();
1664 alert(t.getXTypes());  // alerts 'component/field/textfield'
1665 </code></pre>
1666
1667 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype hierarchy string</p>
1668 </li></ul></div></div></div><div id="method-hasListener" class="member inherited"><a href="Ext.grid.column.Template.html#method-hasListener" rel="method-hasListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-hasListener" class="viewSource">view source</a></div><a name="hasListener"></a><a name="method-hasListener"></a><a href="Ext.grid.column.Template.html#" rel="method-hasListener" class="cls expand">hasListener</a>(
1669 <span class="pre">String eventName</span>)
1670  : Boolean</div><div class="description"><div class="short"><p>Checks to see if this object has any listeners for a specified event</p>
1671 </div><div class="long"><p>Checks to see if this object has any listeners for a specified event</p>
1672 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to check for</p>
1673 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if the event is being listened for, else false</p>
1674 </li></ul></div></div></div><div id="method-hasUICls" class="member inherited"><a href="Ext.grid.column.Template.html#method-hasUICls" rel="method-hasUICls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-hasUICls" class="viewSource">view source</a></div><a name="hasUICls"></a><a name="method-hasUICls"></a><a href="Ext.grid.column.Template.html#" rel="method-hasUICls" class="cls expand">hasUICls</a>(
1675 <span class="pre">String cls</span>)
1676  : void</div><div class="description"><div class="short"><p>Checks if there is currently a specified uiCls</p>
1677 </div><div class="long"><p>Checks if there is currently a specified uiCls</p>
1678 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The cls to check</p>
1679 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1680 </li></ul></div></div></div><div id="method-hide" class="member inherited"><a href="Ext.grid.column.Template.html#method-hide" rel="method-hide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-hide" class="viewSource">view source</a></div><a name="hide"></a><a name="method-hide"></a><a href="Ext.grid.column.Template.html#" rel="method-hide" class="cls expand">hide</a>(
1681 <span class="pre">String/Element/Component animateTarget, [Function callback], [Object scope]</span>)
1682  : Ext.Component</div><div class="description"><div class="short"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.grid.column.Template.html#hideMode" rel="Ext.grid.column.Template#hideMode" class="docClass">hideMode</a>.</p>
1683 </div><div class="long"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.grid.column.Template.html#hideMode" rel="Ext.grid.column.Template#hideMode" class="docClass">hideMode</a>.</p>
1684 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animateTarget</span> : String/Element/Component<div class="sub-desc"><p>Optional, and <b>only valid for <a href="Ext.grid.column.Template.html#floating" rel="Ext.grid.column.Template#floating" class="docClass">floating</a> Components such as
1685 <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s or <a href="Ext.tip.ToolTip.html" rel="Ext.tip.ToolTip" class="docClass">ToolTip</a>s, or regular Components which have been configured
1686 with <code>floating: true</code>.</b>.
1687 The target to which the Component should animate while hiding (defaults to null with no animation)</p>
1688 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) A callback function to call after the Component is hidden.</p>
1689 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this Component.</p>
1690 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1691 </li></ul></div></div></div><div id="method-insert" class="member inherited"><a href="Ext.grid.column.Template.html#method-insert" rel="method-insert" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-insert" class="viewSource">view source</a></div><a name="insert"></a><a name="method-insert"></a><a href="Ext.grid.column.Template.html#" rel="method-insert" class="cls expand">insert</a>(
1692 <span class="pre">Number index, Ext.Component component</span>)
1693  : Ext.Component</div><div class="description"><div class="short">Inserts a Component into this Container at a specified index. Fires the
1694 beforeadd event before inserting, then fires ...</div><div class="long"><p>Inserts a Component into this Container at a specified index. Fires the
1695 <a href="Ext.grid.column.Template.html#beforeadd" rel="Ext.grid.column.Template#beforeadd" class="docClass">beforeadd</a> event before inserting, then fires the <a href="Ext.grid.column.Template.html#add" rel="Ext.grid.column.Template#add" class="docClass">add</a> event after the
1696 Component has been inserted.</p>
1697 <h3 class="pa">Parameters</h3><ul><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index at which the Component will be inserted
1698 into the Container's items collection</p>
1699 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The child Component to insert.<br><br>
1700 <a href="Ext.html" rel="Ext" class="docClass">Ext</a> uses lazy rendering, and will only render the inserted Component should
1701 it become necessary.<br><br>
1702 A Component config object may be passed in order to avoid the overhead of
1703 constructing a real Component object if lazy rendering might mean that the
1704 inserted Component will not be rendered immediately. To take advantage of
1705 this 'lazy instantiation', set the <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">Ext.Component.xtype</a> config
1706 property to the registered type of the Component wanted.<br><br>
1707 For a list of all available xtypes, see <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>.</p>
1708 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>component The Component (or config object) that was
1709 inserted with the Container's default config values applied.</p>
1710 </li></ul></div></div></div><div id="method-is" class="member inherited"><a href="Ext.grid.column.Template.html#method-is" rel="method-is" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-is" class="viewSource">view source</a></div><a name="is"></a><a name="method-is"></a><a href="Ext.grid.column.Template.html#" rel="method-is" class="cls expand">is</a>(
1711 <span class="pre">String selector</span>)
1712  : Boolean</div><div class="description"><div class="short"><p>Tests whether this Component matches the selector string.</p>
1713 </div><div class="long"><p>Tests whether this Component matches the selector string.</p>
1714 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>The selector string to test against.</p>
1715 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this Component matches the selector.</p>
1716 </li></ul></div></div></div><div id="method-isDescendantOf" class="member inherited"><a href="Ext.grid.column.Template.html#method-isDescendantOf" rel="method-isDescendantOf" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDescendantOf" class="viewSource">view source</a></div><a name="isDescendantOf"></a><a name="method-isDescendantOf"></a><a href="Ext.grid.column.Template.html#" rel="method-isDescendantOf" class="cls expand">isDescendantOf</a>(
1717 <span class="pre">Ext.Container container</span>)
1718  : Boolean</div><div class="description"><div class="short"><p>Determines whether this component is the descendant of a particular container.</p>
1719 </div><div class="long"><p>Determines whether this component is the descendant of a particular container.</p>
1720 <h3 class="pa">Parameters</h3><ul><li><span class="pre">container</span> : Ext.Container<div class="sub-desc">
1721 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>isDescendant</p>
1722 </li></ul></div></div></div><div id="method-isDisabled" class="member inherited"><a href="Ext.grid.column.Template.html#method-isDisabled" rel="method-isDisabled" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDisabled" class="viewSource">view source</a></div><a name="isDisabled"></a><a name="method-isDisabled"></a><a href="Ext.grid.column.Template.html#" rel="method-isDisabled" class="cls expand">isDisabled</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is currently disabled.</p>
1723 </div><div class="long"><p>Method to determine whether this Component is currently disabled.</p>
1724 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the disabled state of this Component.</p>
1725 </li></ul></div></div></div><div id="method-isDraggable" class="member inherited"><a href="Ext.grid.column.Template.html#method-isDraggable" rel="method-isDraggable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDraggable" class="viewSource">view source</a></div><a name="isDraggable"></a><a name="method-isDraggable"></a><a href="Ext.grid.column.Template.html#" rel="method-isDraggable" class="cls expand">isDraggable</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is draggable.</p>
1726 </div><div class="long"><p>Method to determine whether this Component is draggable.</p>
1727 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the draggable state of this component.</p>
1728 </li></ul></div></div></div><div id="method-isDroppable" class="member inherited"><a href="Ext.grid.column.Template.html#method-isDroppable" rel="method-isDroppable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isDroppable" class="viewSource">view source</a></div><a name="isDroppable"></a><a name="method-isDroppable"></a><a href="Ext.grid.column.Template.html#" rel="method-isDroppable" class="cls expand">isDroppable</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is droppable.</p>
1729 </div><div class="long"><p>Method to determine whether this Component is droppable.</p>
1730 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the droppable state of this component.</p>
1731 </li></ul></div></div></div><div id="method-isFloating" class="member inherited"><a href="Ext.grid.column.Template.html#method-isFloating" rel="method-isFloating" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isFloating" class="viewSource">view source</a></div><a name="isFloating"></a><a name="method-isFloating"></a><a href="Ext.grid.column.Template.html#" rel="method-isFloating" class="cls expand">isFloating</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is floating.</p>
1732 </div><div class="long"><p>Method to determine whether this Component is floating.</p>
1733 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the floating state of this component.</p>
1734 </li></ul></div></div></div><div id="method-isHidden" class="member inherited"><a href="Ext.grid.column.Template.html#method-isHidden" rel="method-isHidden" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isHidden" class="viewSource">view source</a></div><a name="isHidden"></a><a name="method-isHidden"></a><a href="Ext.grid.column.Template.html#" rel="method-isHidden" class="cls expand">isHidden</a> : Boolean</div><div class="description"><div class="short"><p>Method to determine whether this Component is currently set to hidden.</p>
1735 </div><div class="long"><p>Method to determine whether this Component is currently set to hidden.</p>
1736 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the hidden state of this Component.</p>
1737 </li></ul></div></div></div><div id="method-isVisible" class="member inherited"><a href="Ext.grid.column.Template.html#method-isVisible" rel="method-isVisible" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isVisible" class="viewSource">view source</a></div><a name="isVisible"></a><a name="method-isVisible"></a><a href="Ext.grid.column.Template.html#" rel="method-isVisible" class="cls expand">isVisible</a>(
1738 <span class="pre">Boolean deep</span>)
1739  : Boolean</div><div class="description"><div class="short"><p>Returns true if this component is visible.</p>
1740 </div><div class="long"><p>Returns true if this component is visible.</p>
1741 <h3 class="pa">Parameters</h3><ul><li><span class="pre">deep</span> : Boolean<div class="sub-desc"><p>. <p>Optional. Pass <code>true</code> to interrogate the visibility status of all
1742 parent Containers to determine whether this Component is truly visible to the user.</p></p>
1743
1744 <p>Generally, to determine whether a Component is hidden, the no argument form is needed. For example
1745 when creating dynamically laid out UIs in a hidden Container before showing them.</p>
1746
1747 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this component is visible, false otherwise.</p>
1748 </li></ul></div></div></div><div id="method-isXType" class="member inherited"><a href="Ext.grid.column.Template.html#method-isXType" rel="method-isXType" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-isXType" class="viewSource">view source</a></div><a name="isXType"></a><a name="method-isXType"></a><a href="Ext.grid.column.Template.html#" rel="method-isXType" class="cls expand">isXType</a>(
1749 <span class="pre">String xtype, [Boolean shallow]</span>)
1750  : Boolean</div><div class="description"><div class="short">Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1751 from th...</div><div class="long"><p>Tests whether or not this Component is of a specific xtype. This can test whether this Component is descended
1752 from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
1753
1754
1755 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
1756 to participate in determination of inherited xtypes.</b></p>
1757
1758
1759 <p>For a list of all available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header.</p>
1760
1761
1762 <p>Example usage:</p>
1763
1764
1765 <pre><code>var t = new Ext.form.field.Text();
1766 var isText = t.isXType('textfield');        // true
1767 var isBoxSubclass = t.isXType('field');       // true, descended from <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">Ext.form.field.Base</a>
1768 var isBoxInstance = t.isXType('field', true); // false, not a direct <a href="Ext.form.field.Base.html" rel="Ext.form.field.Base" class="docClass">Ext.form.field.Base</a> instance
1769 </code></pre>
1770
1771 <h3 class="pa">Parameters</h3><ul><li><span class="pre">xtype</span> : String<div class="sub-desc"><p>The xtype to check for this Component</p>
1772 </div></li><li><span class="pre">shallow</span> : Boolean<div class="sub-desc"><p>(optional) False to check whether this Component is descended from the xtype (this is
1773 the default), or true to check whether this Component is directly of the specified xtype.</p>
1774 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this component descends from the specified xtype, false otherwise.</p>
1775 </li></ul></div></div></div><div id="method-move" class="member inherited"><a href="Ext.grid.column.Template.html#method-move" rel="method-move" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-move" class="viewSource">view source</a></div><a name="move"></a><a name="method-move"></a><a href="Ext.grid.column.Template.html#" rel="method-move" class="cls expand">move</a>(
1776 <span class="pre">Number fromIdx, Number toIdx</span>)
1777  : Ext.Component</div><div class="description"><div class="short"><p>Moves a Component within the Container</p>
1778 </div><div class="long"><p>Moves a Component within the Container</p>
1779 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fromIdx</span> : Number<div class="sub-desc"><p>The index the Component you wish to move is currently at.</p>
1780 </div></li><li><span class="pre">toIdx</span> : Number<div class="sub-desc"><p>The new index for the Component.</p>
1781 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>component The Component (or config object) that was moved.</p>
1782 </li></ul></div></div></div><div id="method-nextNode" class="member inherited"><a href="Ext.grid.column.Template.html#method-nextNode" rel="method-nextNode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-nextNode" class="viewSource">view source</a></div><a name="nextNode"></a><a name="method-nextNode"></a><a href="Ext.grid.column.Template.html#" rel="method-nextNode" class="cls expand">nextNode</a>(
1783 <span class="pre">String selector, Object includeSelf</span>)
1784  : void</div><div class="description"><div class="short">Returns the next node in the Component tree in tree traversal order.
1785
1786
1787 Note that this is not limited to siblings, and...</div><div class="long"><p>Returns the next node in the Component tree in tree traversal order.</p>
1788
1789
1790 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
1791 walk the tree to attempt to find a match. Contrast with <a href="Ext.grid.column.Template.html#pnextSibling" rel="Ext.grid.column.Template#pnextSibling" class="docClass">pnextSibling</a>.</p>
1792
1793 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the following nodes.</p>
1794 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
1795 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The next node (or the next node which matches the selector). Returns null if there is no matching node.</p>
1796 </li></ul></div></div></div><div id="method-nextSibling" class="member inherited"><a href="Ext.grid.column.Template.html#method-nextSibling" rel="method-nextSibling" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-nextSibling" class="viewSource">view source</a></div><a name="nextSibling"></a><a name="method-nextSibling"></a><a href="Ext.grid.column.Template.html#" rel="method-nextSibling" class="cls expand">nextSibling</a>(
1797 <span class="pre">String selector</span>)
1798  : void</div><div class="description"><div class="short">Returns the next sibling of this Component.
1799
1800
1801 Optionally selects the next sibling which matches the passed ComponentQ...</div><div class="long"><p>Returns the next sibling of this Component.</p>
1802
1803
1804 <p>Optionally selects the next sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
1805
1806
1807 <p>May also be refered to as <code><b>next()</b></code></p>
1808
1809
1810 <p>Note that this is limited to siblings, and if no siblings of the item match, <code>null</code> is returned. Contrast with <a href="Ext.grid.column.Template.html#nextNode" rel="Ext.grid.column.Template#nextNode" class="docClass">nextNode</a></p>
1811
1812 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the following items.</p>
1813 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The next sibling (or the next sibling which matches the selector). Returns null if there is no matching sibling.</p>
1814 </li></ul></div></div></div><div id="method-observe" class="member inherited"><a href="Ext.grid.column.Template.html#method-observe" rel="method-observe" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-observe" class="viewSource">view source</a></div><a name="observe"></a><a name="method-observe"></a><a href="Ext.grid.column.Template.html#" rel="method-observe" class="cls expand">observe</a>(
1815 <span class="pre">Function c, Object listeners</span>)
1816  : void</div><div class="description"><div class="short">Sets observability on the passed class constructor.
1817
1818 This makes any event fired on any instance of the passed class a...</div><div class="long"><p>Sets observability on the passed class constructor.</p>
1819
1820 <p>This makes any event fired on any instance of the passed class also fire a single event through
1821 the <strong>class</strong> allowing for central handling of events on many instances at once.</p>
1822
1823 <p>Usage:</p>
1824
1825 <pre><code>Ext.util.Observable.observe(Ext.data.Connection);
1826 Ext.data.Connection.on('beforerequest', function(con, options) {
1827     console.log('Ajax request made to ' + options.url);
1828 });
1829 </code></pre>
1830 <h3 class="pa">Parameters</h3><ul><li><span class="pre">c</span> : Function<div class="sub-desc"><p>The class constructor to make observable.</p>
1831 </div></li><li><span class="pre">listeners</span> : Object<div class="sub-desc"><p>An object containing a series of listeners to add. See <a href="Ext.grid.column.Template.html#addListener" rel="Ext.grid.column.Template#addListener" class="docClass">addListener</a>.</p>
1832 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1833 </li></ul></div></div></div><div id="method-on" class="member inherited"><a href="Ext.grid.column.Template.html#method-on" rel="method-on" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-on" class="viewSource">view source</a></div><a name="on"></a><a name="method-on"></a><a href="Ext.grid.column.Template.html#" rel="method-on" class="cls expand">on</a>(
1834 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
1835  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object (shorthand for <a href="Ext.grid.column.Template.html#addListener" rel="Ext.grid.column.Template#addListener" class="docClass">addListener</a>.)</p>
1836 </div><div class="long"><p>Appends an event handler to this object (shorthand for <a href="Ext.grid.column.Template.html#addListener" rel="Ext.grid.column.Template#addListener" class="docClass">addListener</a>.)</p>
1837 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event to listen for</p>
1838 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes</p>
1839 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
1840 <b>If omitted, defaults to the object which fired the event.</b></p>
1841 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.</p>
1842 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1843 </li></ul></div></div></div><div id="method-prepareData" class="member inherited"><a href="Ext.grid.column.Template.html#method-prepareData" rel="method-prepareData" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-method-prepareData" class="viewSource">view source</a></div><a name="prepareData"></a><a name="method-prepareData"></a><a href="Ext.grid.column.Template.html#" rel="method-prepareData" class="cls expand">prepareData</a>(
1844 <span class="pre">Object data, Object rowIdx, Object record, Object view</span>)
1845  : void</div><div class="description"><div class="short"><p>Maps the record data to base it on the header id's.
1846 This correlates to the markup/template generated by
1847 TableChunker.</p>
1848 </div><div class="long"><p>Maps the record data to base it on the header id's.
1849 This correlates to the markup/template generated by
1850 TableChunker.</p>
1851 <h3 class="pa">Parameters</h3><ul><li><span class="pre">data</span> : Object<div class="sub-desc">
1852 </div></li><li><span class="pre">rowIdx</span> : Object<div class="sub-desc">
1853 </div></li><li><span class="pre">record</span> : Object<div class="sub-desc">
1854 </div></li><li><span class="pre">view</span> : Object<div class="sub-desc">
1855 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1856 </li></ul></div></div></div><div id="method-previousNode" class="member inherited"><a href="Ext.grid.column.Template.html#method-previousNode" rel="method-previousNode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-previousNode" class="viewSource">view source</a></div><a name="previousNode"></a><a name="method-previousNode"></a><a href="Ext.grid.column.Template.html#" rel="method-previousNode" class="cls expand">previousNode</a>(
1857 <span class="pre">String selector, Object includeSelf</span>)
1858  : void</div><div class="description"><div class="short">Returns the previous node in the Component tree in tree traversal order.
1859
1860
1861 Note that this is not limited to siblings,...</div><div class="long"><p>Returns the previous node in the Component tree in tree traversal order.</p>
1862
1863
1864 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
1865 walk the tree in reverse order to attempt to find a match. Contrast with <a href="Ext.grid.column.Template.html#previousSibling" rel="Ext.grid.column.Template#previousSibling" class="docClass">previousSibling</a>.</p>
1866
1867 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional. A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the preceding nodes.</p>
1868 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
1869 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The previous node (or the previous node which matches the selector). Returns null if there is no matching node.</p>
1870 </li></ul></div></div></div><div id="method-previousSibling" class="member inherited"><a href="Ext.grid.column.Template.html#method-previousSibling" rel="method-previousSibling" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-previousSibling" class="viewSource">view source</a></div><a name="previousSibling"></a><a name="method-previousSibling"></a><a href="Ext.grid.column.Template.html#" rel="method-previousSibling" class="cls expand">previousSibling</a>(
1871 <span class="pre">String selector</span>)
1872  : void</div><div class="description"><div class="short">Returns the previous sibling of this Component.
1873
1874
1875 Optionally selects the previous sibling which matches the passed Co...</div><div class="long"><p>Returns the previous sibling of this Component.</p>
1876
1877
1878 <p>Optionally selects the previous sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
1879
1880
1881 <p>May also be refered to as <code><b>prev()</b></code></p>
1882
1883
1884 <p>Note that this is limited to siblings, and if no siblings of the item match, <code>null</code> is returned. Contrast with <a href="Ext.grid.column.Template.html#previousNode" rel="Ext.grid.column.Template#previousNode" class="docClass">previousNode</a></p>
1885
1886 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional. A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector to filter the preceding items.</p>
1887 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>The previous sibling (or the previous sibling which matches the selector). Returns null if there is no matching sibling.</p>
1888 </li></ul></div></div></div><div id="method-query" class="member inherited"><a href="Ext.grid.column.Template.html#method-query" rel="method-query" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-query" class="viewSource">view source</a></div><a name="query"></a><a name="method-query"></a><a href="Ext.grid.column.Template.html#" rel="method-query" class="cls expand">query</a>(
1889 <span class="pre">String selector</span>)
1890  : Array</div><div class="description"><div class="short">Retrieves all descendant components which match the passed selector.
1891 Executes an Ext.ComponentQuery.query using this ...</div><div class="long"><p>Retrieves all descendant components which match the passed selector.
1892 Executes an Ext.ComponentQuery.query using this container as its root.</p>
1893 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Selector complying to an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector</p>
1894 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>Ext.Component's which matched the selector</p>
1895 </li></ul></div></div></div><div id="method-relayEvents" class="member inherited"><a href="Ext.grid.column.Template.html#method-relayEvents" rel="method-relayEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-relayEvents" class="viewSource">view source</a></div><a name="relayEvents"></a><a name="method-relayEvents"></a><a href="Ext.grid.column.Template.html#" rel="method-relayEvents" class="cls expand">relayEvents</a>(
1896 <span class="pre">Object origin, Array events, Object prefix</span>)
1897  : void</div><div class="description"><div class="short"><p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>
1898 </div><div class="long"><p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>
1899 <h3 class="pa">Parameters</h3><ul><li><span class="pre">origin</span> : Object<div class="sub-desc"><p>The Observable whose events this object is to relay.</p>
1900 </div></li><li><span class="pre">events</span> : Array<div class="sub-desc"><p>Array of event names to relay.</p>
1901 </div></li><li><span class="pre">prefix</span> : Object<div class="sub-desc">
1902 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1903 </li></ul></div></div></div><div id="method-releaseCapture" class="member inherited"><a href="Ext.grid.column.Template.html#method-releaseCapture" rel="method-releaseCapture" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-releaseCapture" class="viewSource">view source</a></div><a name="releaseCapture"></a><a name="method-releaseCapture"></a><a href="Ext.grid.column.Template.html#" rel="method-releaseCapture" class="cls expand">releaseCapture</a>(
1904 <span class="pre">Observable o</span>)
1905  : void</div><div class="description"><div class="short"><p>Removes <b>all</b> added captures from the Observable.</p>
1906 </div><div class="long"><p>Removes <b>all</b> added captures from the Observable.</p>
1907 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to release</p>
1908 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1909 </li></ul></div></div></div><div id="method-remove" class="member inherited"><a href="Ext.grid.column.Template.html#method-remove" rel="method-remove" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-remove" class="viewSource">view source</a></div><a name="remove"></a><a name="method-remove"></a><a href="Ext.grid.column.Template.html#" rel="method-remove" class="cls expand">remove</a>(
1910 <span class="pre">Component/String component, [Boolean autoDestroy]</span>)
1911  : Ext.Component</div><div class="description"><div class="short">Removes a component from this container.  Fires the beforeremove event before removing, then fires
1912 the remove event a...</div><div class="long"><p>Removes a component from this container.  Fires the <a href="Ext.grid.column.Template.html#beforeremove" rel="Ext.grid.column.Template#beforeremove" class="docClass">beforeremove</a> event before removing, then fires
1913 the <a href="Ext.grid.column.Template.html#remove" rel="Ext.grid.column.Template#remove" class="docClass">remove</a> event after the component has been removed.</p>
1914 <h3 class="pa">Parameters</h3><ul><li><span class="pre">component</span> : Component/String<div class="sub-desc"><p>The component reference or id to remove.</p>
1915 </div></li><li><span class="pre">autoDestroy</span> : Boolean<div class="sub-desc"><p>(optional) True to automatically invoke the removed Component's <a href="Ext.Component.html#destroy" rel="Ext.Component#destroy" class="docClass">Ext.Component.destroy</a> function.
1916 Defaults to the value of this Container's <a href="Ext.grid.column.Template.html#autoDestroy" rel="Ext.grid.column.Template#autoDestroy" class="docClass">autoDestroy</a> config.</p>
1917 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>component The Component that was removed.</p>
1918 </li></ul></div></div></div><div id="method-removeAll" class="member inherited"><a href="Ext.grid.column.Template.html#method-removeAll" rel="method-removeAll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-method-removeAll" class="viewSource">view source</a></div><a name="removeAll"></a><a name="method-removeAll"></a><a href="Ext.grid.column.Template.html#" rel="method-removeAll" class="cls expand">removeAll</a>(
1919 <span class="pre">[Boolean autoDestroy]</span>)
1920  : Array</div><div class="description"><div class="short"><p>Removes all components from this container.</p>
1921 </div><div class="long"><p>Removes all components from this container.</p>
1922 <h3 class="pa">Parameters</h3><ul><li><span class="pre">autoDestroy</span> : Boolean<div class="sub-desc"><p>(optional) True to automatically invoke the removed Component's <a href="Ext.Component.html#destroy" rel="Ext.Component#destroy" class="docClass">Ext.Component.destroy</a> function.
1923 Defaults to the value of this Container's <a href="Ext.grid.column.Template.html#autoDestroy" rel="Ext.grid.column.Template#autoDestroy" class="docClass">autoDestroy</a> config.</p>
1924 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>Array of the destroyed components</p>
1925 </li></ul></div></div></div><div id="method-removeCls" class="member inherited"><a href="Ext.grid.column.Template.html#method-removeCls" rel="method-removeCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-removeCls" class="viewSource">view source</a></div><a name="removeCls"></a><a name="method-removeCls"></a><a href="Ext.grid.column.Template.html#" rel="method-removeCls" class="cls expand">removeCls</a>(
1926 <span class="pre">Object className</span>)
1927  : Ext.Component</div><div class="description"><div class="short"><p>Removes a CSS class from the top level element representing this component.</p>
1928 </div><div class="long"><p>Removes a CSS class from the top level element representing this component.</p>
1929 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : Object<div class="sub-desc">
1930 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>Returns the Component to allow method chaining.</p>
1931 </li></ul></div></div></div><div id="method-removeClsWithUI" class="member inherited"><a href="Ext.grid.column.Template.html#method-removeClsWithUI" rel="method-removeClsWithUI" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-removeClsWithUI" class="viewSource">view source</a></div><a name="removeClsWithUI"></a><a name="method-removeClsWithUI"></a><a href="Ext.grid.column.Template.html#" rel="method-removeClsWithUI" class="cls expand">removeClsWithUI</a>(
1932 <span class="pre">String/Array cls</span>)
1933  : void</div><div class="description"><div class="short">Removes a cls to the uiCls array, which will also call removeUIClsToElement and removes
1934 it from all elements of this ...</div><div class="long"><p>Removes a cls to the uiCls array, which will also call <a href="Ext.grid.column.Template.html#removeUIClsToElement" rel="Ext.grid.column.Template#removeUIClsToElement" class="docClass">removeUIClsToElement</a> and removes
1935 it from all elements of this component.</p>
1936 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String/Array<div class="sub-desc"><p>A string or an array of strings to remove to the uiCls</p>
1937 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1938 </li></ul></div></div></div><div id="method-removeListener" class="member inherited"><a href="Ext.grid.column.Template.html#method-removeListener" rel="method-removeListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-removeListener" class="viewSource">view source</a></div><a name="removeListener"></a><a name="method-removeListener"></a><a href="Ext.grid.column.Template.html#" rel="method-removeListener" class="cls expand">removeListener</a>(
1939 <span class="pre">String eventName, Function handler, [Object scope]</span>)
1940  : void</div><div class="description"><div class="short"><p>Removes an event handler.</p>
1941 </div><div class="long"><p>Removes an event handler.</p>
1942 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event the handler was associated with.</p>
1943 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The handler to remove. <b>This must be a reference to the function passed into the <a href="Ext.grid.column.Template.html#addListener" rel="Ext.grid.column.Template#addListener" class="docClass">addListener</a> call.</b></p>
1944 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
1945 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1946 </li></ul></div></div></div><div id="method-removeManagedListener" class="member inherited"><a href="Ext.grid.column.Template.html#method-removeManagedListener" rel="method-removeManagedListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-removeManagedListener" class="viewSource">view source</a></div><a name="removeManagedListener"></a><a name="method-removeManagedListener"></a><a href="Ext.grid.column.Template.html#" rel="method-removeManagedListener" class="cls expand">removeManagedListener</a>(
1947 <span class="pre">Observable|Element item, Object|String ename, Function fn, Object scope</span>)
1948  : void</div><div class="description"><div class="short"><p>Removes listeners that were added by the <a href="Ext.grid.column.Template.html#mon" rel="Ext.grid.column.Template#mon" class="docClass">mon</a> method.</p>
1949 </div><div class="long"><p>Removes listeners that were added by the <a href="Ext.grid.column.Template.html#mon" rel="Ext.grid.column.Template#mon" class="docClass">mon</a> method.</p>
1950 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Observable|Element<div class="sub-desc"><p>The item from which to remove a listener/listeners.</p>
1951 </div></li><li><span class="pre">ename</span> : Object|String<div class="sub-desc"><p>The event name, or an object containing event name properties.</p>
1952 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1953 is the handler function.</p>
1954 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
1955 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
1956 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1957 </li></ul></div></div></div><div id="method-resumeEvents" class="member inherited"><a href="Ext.grid.column.Template.html#method-resumeEvents" rel="method-resumeEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-resumeEvents" class="viewSource">view source</a></div><a name="resumeEvents"></a><a name="method-resumeEvents"></a><a href="Ext.grid.column.Template.html#" rel="method-resumeEvents" class="cls expand">resumeEvents</a> : void</div><div class="description"><div class="short">Resume firing events. (see suspendEvents)
1958 If events were suspended using the queueSuspended parameter, then all
1959 event...</div><div class="long"><p>Resume firing events. (see <a href="Ext.grid.column.Template.html#suspendEvents" rel="Ext.grid.column.Template#suspendEvents" class="docClass">suspendEvents</a>)
1960 If events were suspended using the <code><b>queueSuspended</b></code> parameter, then all
1961 events fired during event suspension will be sent to any listeners now.</p>
1962 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1963 </li></ul></div></div></div><div id="method-sequenceFx" class="member inherited"><a href="Ext.grid.column.Template.html#method-sequenceFx" rel="method-sequenceFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-sequenceFx" class="viewSource">view source</a></div><a name="sequenceFx"></a><a name="method-sequenceFx"></a><a href="Ext.grid.column.Template.html#" rel="method-sequenceFx" class="cls expand">sequenceFx</a> : Ext.core.Element</div><div class="description"><div class="short">Ensures that all effects queued after sequenceFx is called on this object are
1964 run in sequence.  This is the opposite ...</div><div class="long"><p>Ensures that all effects queued after sequenceFx is called on this object are
1965 run in sequence.  This is the opposite of <a href="Ext.grid.column.Template.html#syncFx" rel="Ext.grid.column.Template#syncFx" class="docClass">syncFx</a>.</p>
1966 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
1967 </li></ul></div></div></div><div id="method-setActive" class="member inherited"><a href="Ext.grid.column.Template.html#method-setActive" rel="method-setActive" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-setActive" class="viewSource">view source</a></div><a name="setActive"></a><a name="method-setActive"></a><a href="Ext.grid.column.Template.html#" rel="method-setActive" class="cls expand">setActive</a>(
1968 <span class="pre">Boolean active, Component newActive</span>)
1969  : void</div><div class="description"><div class="short">This method is called internally by Ext.ZIndexManager to signal that a floating
1970 Component has either been moved to th...</div><div class="long"><p>This method is called internally by <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">Ext.ZIndexManager</a> to signal that a floating
1971 Component has either been moved to the top of its zIndex stack, or pushed from the top of its zIndex stack.</p>
1972
1973
1974 <p>If a <i>Window</i> is superceded by another Window, deactivating it hides its shadow.</p>
1975
1976
1977 <p>This method also fires the <a href="Ext.grid.column.Template.html#activate" rel="Ext.grid.column.Template#activate" class="docClass">activate</a> or <a href="Ext.grid.column.Template.html#deactivate" rel="Ext.grid.column.Template#deactivate" class="docClass">deactivate</a> event depending on which action occurred.</p>
1978
1979 <h3 class="pa">Parameters</h3><ul><li><span class="pre">active</span> : Boolean<div class="sub-desc"><p>True to activate the Component, false to deactivate it (defaults to false)</p>
1980 </div></li><li><span class="pre">newActive</span> : Component<div class="sub-desc"><p>The newly active Component which is taking over topmost zIndex position.</p>
1981 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1982 </li></ul></div></div></div><div id="method-setAutoScroll" class="member inherited"><a href="Ext.grid.column.Template.html#method-setAutoScroll" rel="method-setAutoScroll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-setAutoScroll" class="viewSource">view source</a></div><a name="setAutoScroll"></a><a name="method-setAutoScroll"></a><a href="Ext.grid.column.Template.html#" rel="method-setAutoScroll" class="cls expand">setAutoScroll</a>(
1983 <span class="pre">Boolean scroll</span>)
1984  : Ext.Component</div><div class="description"><div class="short"><p>Sets the overflow on the content element of the component.</p>
1985 </div><div class="long"><p>Sets the overflow on the content element of the component.</p>
1986 <h3 class="pa">Parameters</h3><ul><li><span class="pre">scroll</span> : Boolean<div class="sub-desc"><p>True to allow the Component to auto scroll.</p>
1987 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1988 </li></ul></div></div></div><div id="method-setDisabled" class="member inherited"><a href="Ext.grid.column.Template.html#method-setDisabled" rel="method-setDisabled" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setDisabled" class="viewSource">view source</a></div><a name="setDisabled"></a><a name="method-setDisabled"></a><a href="Ext.grid.column.Template.html#" rel="method-setDisabled" class="cls expand">setDisabled</a>(
1989 <span class="pre">Boolean disabled</span>)
1990  : void</div><div class="description"><div class="short"><p>Enable or disable the component.</p>
1991 </div><div class="long"><p>Enable or disable the component.</p>
1992 <h3 class="pa">Parameters</h3><ul><li><span class="pre">disabled</span> : Boolean<div class="sub-desc">
1993 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1994 </li></ul></div></div></div><div id="method-setDocked" class="member inherited"><a href="Ext.grid.column.Template.html#method-setDocked" rel="method-setDocked" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setDocked" class="viewSource">view source</a></div><a name="setDocked"></a><a name="method-setDocked"></a><a href="Ext.grid.column.Template.html#" rel="method-setDocked" class="cls expand">setDocked</a>(
1995 <span class="pre">Object dock, Object layoutParent</span>)
1996  : Component</div><div class="description"><div class="short">Sets the dock position of this component in its parent panel. Note that
1997 this only has effect if this item is part of ...</div><div class="long"><p>Sets the dock position of this component in its parent panel. Note that
1998 this only has effect if this item is part of the dockedItems collection
1999 of a parent that has a DockLayout (note that any Panel has a DockLayout
2000 by default)</p>
2001 <h3 class="pa">Parameters</h3><ul><li><span class="pre">dock</span> : Object<div class="sub-desc">
2002 </div></li><li><span class="pre">layoutParent</span> : Object<div class="sub-desc">
2003 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2004 </li></ul></div></div></div><div id="method-setEditor" class="member inherited"><a href="Ext.grid.column.Template.html#method-setEditor" rel="method-setEditor" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.column.Column.html" class="definedIn docClass">Ext.grid.column.Column</a><br/><a href="../source/Column.html#Ext-grid.column.Column-method-setEditor" class="viewSource">view source</a></div><a name="setEditor"></a><a name="method-setEditor"></a><a href="Ext.grid.column.Template.html#" rel="method-setEditor" class="cls expand">setEditor</a>(
2005 <span class="pre">Mixed field</span>)
2006  : void</div><div class="description"><div class="short">Sets the form field to be used for editing. Note: This method only has an implementation
2007 if an Editing plugin has bee...</div><div class="long"><p>Sets the form field to be used for editing. Note: This method only has an implementation
2008 if an Editing plugin has been enabled on the grid.</p>
2009 <h3 class="pa">Parameters</h3><ul><li><span class="pre">field</span> : Mixed<div class="sub-desc"><p>An object representing a field to be created. If no xtype is specified a 'textfield' is assumed.</p>
2010 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2011 </li></ul></div></div></div><div id="method-setHeight" class="member inherited"><a href="Ext.grid.column.Template.html#method-setHeight" rel="method-setHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setHeight" class="viewSource">view source</a></div><a name="setHeight"></a><a name="method-setHeight"></a><a href="Ext.grid.column.Template.html#" rel="method-setHeight" class="cls expand">setHeight</a>(
2012 <span class="pre">Number height</span>)
2013  : Ext.Component</div><div class="description"><div class="short"><p>Sets the height of the component.  This method fires the <a href="Ext.grid.column.Template.html#resize" rel="Ext.grid.column.Template#resize" class="docClass">resize</a> event.</p>
2014 </div><div class="long"><p>Sets the height of the component.  This method fires the <a href="Ext.grid.column.Template.html#resize" rel="Ext.grid.column.Template#resize" class="docClass">resize</a> event.</p>
2015 <h3 class="pa">Parameters</h3><ul><li><span class="pre">height</span> : Number<div class="sub-desc"><p>The new height to set. This may be one of:<div class="mdetail-params"><ul>
2016 <li>A Number specifying the new height in the <a href="Ext.grid.column.Template.html#getEl" rel="Ext.grid.column.Template#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2017 <li>A String used to set the CSS height style.</li>
2018 <li><i>undefined</i> to leave the height unchanged.</li>
2019 </ul></div></p>
2020 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2021 </li></ul></div></div></div><div id="method-setLoading" class="member inherited"><a href="Ext.grid.column.Template.html#method-setLoading" rel="method-setLoading" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setLoading" class="viewSource">view source</a></div><a name="setLoading"></a><a name="method-setLoading"></a><a href="Ext.grid.column.Template.html#" rel="method-setLoading" class="cls expand">setLoading</a>(
2022 <span class="pre">Boolean/Object/String load, Boolean targetEl</span>)
2023  : Ext.LoadMask</div><div class="description"><div class="short"><p>This method allows you to show or hide a LoadMask on top of this component.</p>
2024 </div><div class="long"><p>This method allows you to show or hide a LoadMask on top of this component.</p>
2025 <h3 class="pa">Parameters</h3><ul><li><span class="pre">load</span> : Boolean/Object/String<div class="sub-desc"><p>True to show the default LoadMask, a config object
2026 that will be passed to the LoadMask constructor, or a message String to show. False to
2027 hide the current LoadMask.</p>
2028 </div></li><li><span class="pre">targetEl</span> : Boolean<div class="sub-desc"><p>True to mask the targetEl of this Component instead of the this.el.
2029 For example, setting this to true on a Panel will cause only the body to be masked. (defaults to false)</p>
2030 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.LoadMask</span>&nbsp; &nbsp;<p>The LoadMask instance that has just been shown.</p>
2031 </li></ul></div></div></div><div id="method-setPagePosition" class="member inherited"><a href="Ext.grid.column.Template.html#method-setPagePosition" rel="method-setPagePosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-setPagePosition" class="viewSource">view source</a></div><a name="setPagePosition"></a><a name="method-setPagePosition"></a><a href="Ext.grid.column.Template.html#" rel="method-setPagePosition" class="cls expand">setPagePosition</a>(
2032 <span class="pre">Number x, Number y, Mixed animate</span>)
2033  : Ext.Component</div><div class="description"><div class="short">Sets the page XY position of the component.  To set the left and top instead, use setPosition.
2034 This method fires the ...</div><div class="long"><p>Sets the page XY position of the component.  To set the left and top instead, use <a href="Ext.grid.column.Template.html#setPosition" rel="Ext.grid.column.Template#setPosition" class="docClass">setPosition</a>.
2035 This method fires the <a href="Ext.grid.column.Template.html#move" rel="Ext.grid.column.Template#move" class="docClass">move</a> event.</p>
2036 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
2037 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
2038 </div></li><li><span class="pre">animate</span> : Mixed<div class="sub-desc"><p>If passed, the Component is <i>animated</i> into its new position. If this parameter
2039 is a number, it is used as the animation duration in milliseconds.</p>
2040 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2041 </li></ul></div></div></div><div id="method-setPosition" class="member inherited"><a href="Ext.grid.column.Template.html#method-setPosition" rel="method-setPosition" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-setPosition" class="viewSource">view source</a></div><a name="setPosition"></a><a name="method-setPosition"></a><a href="Ext.grid.column.Template.html#" rel="method-setPosition" class="cls expand">setPosition</a>(
2042 <span class="pre">Number left, Number top, Mixed animate</span>)
2043  : Ext.Component</div><div class="description"><div class="short">Sets the left and top of the component.  To set the page XY position instead, use setPagePosition.
2044 This method fires ...</div><div class="long"><p>Sets the left and top of the component.  To set the page XY position instead, use <a href="Ext.grid.column.Template.html#setPagePosition" rel="Ext.grid.column.Template#setPagePosition" class="docClass">setPagePosition</a>.
2045 This method fires the <a href="Ext.grid.column.Template.html#move" rel="Ext.grid.column.Template#move" class="docClass">move</a> event.</p>
2046 <h3 class="pa">Parameters</h3><ul><li><span class="pre">left</span> : Number<div class="sub-desc"><p>The new left</p>
2047 </div></li><li><span class="pre">top</span> : Number<div class="sub-desc"><p>The new top</p>
2048 </div></li><li><span class="pre">animate</span> : Mixed<div class="sub-desc"><p>If true, the Component is <i>animated</i> into its new position. You may also pass an animation configuration.</p>
2049 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2050 </li></ul></div></div></div><div id="method-setSize" class="member inherited"><a href="Ext.grid.column.Template.html#method-setSize" rel="method-setSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setSize" class="viewSource">view source</a></div><a name="setSize"></a><a name="method-setSize"></a><a href="Ext.grid.column.Template.html#" rel="method-setSize" class="cls expand">setSize</a>(
2051 <span class="pre">Mixed width, Mixed height</span>)
2052  : Ext.Component</div><div class="description"><div class="short">Sets the width and height of this Component. This method fires the resize event. This method can accept
2053 either width ...</div><div class="long"><p>Sets the width and height of this Component. This method fires the <a href="Ext.grid.column.Template.html#resize" rel="Ext.grid.column.Template#resize" class="docClass">resize</a> event. This method can accept
2054 either width and height as separate arguments, or you can pass a size object like <code>{width:10, height:20}</code>.</p>
2055 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Mixed<div class="sub-desc"><p>The new width to set. This may be one of:<div class="mdetail-params"><ul>
2056 <li>A Number specifying the new width in the <a href="Ext.grid.column.Template.html#getEl" rel="Ext.grid.column.Template#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2057 <li>A String used to set the CSS width style.</li>
2058 <li>A size object in the format <code>{width: widthValue, height: heightValue}</code>.</li>
2059 <li><code>undefined</code> to leave the width unchanged.</li>
2060 </ul></div></p>
2061 </div></li><li><span class="pre">height</span> : Mixed<div class="sub-desc"><p>The new height to set (not required if a size object is passed as the first arg).
2062 This may be one of:<div class="mdetail-params"><ul>
2063 <li>A Number specifying the new height in the <a href="Ext.grid.column.Template.html#getEl" rel="Ext.grid.column.Template#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2064 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
2065 <li><code>undefined</code> to leave the height unchanged.</li>
2066 </ul></div></p>
2067 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2068 </li></ul></div></div></div><div id="method-setUI" class="member inherited"><a href="Ext.grid.column.Template.html#method-setUI" rel="method-setUI" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setUI" class="viewSource">view source</a></div><a name="setUI"></a><a name="method-setUI"></a><a href="Ext.grid.column.Template.html#" rel="method-setUI" class="cls expand">setUI</a>(
2069 <span class="pre">String ui</span>)
2070  : void</div><div class="description"><div class="short">Sets the UI for the component. This will remove any existing UIs on the component. It will also
2071 loop through any uiCl...</div><div class="long"><p>Sets the UI for the component. This will remove any existing UIs on the component. It will also
2072 loop through any uiCls set on the component and rename them so they include the new UI</p>
2073 <h3 class="pa">Parameters</h3><ul><li><span class="pre">ui</span> : String<div class="sub-desc"><p>The new UI for the component</p>
2074 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2075 </li></ul></div></div></div><div id="method-setVisible" class="member inherited"><a href="Ext.grid.column.Template.html#method-setVisible" rel="method-setVisible" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setVisible" class="viewSource">view source</a></div><a name="setVisible"></a><a name="method-setVisible"></a><a href="Ext.grid.column.Template.html#" rel="method-setVisible" class="cls expand">setVisible</a>(
2076 <span class="pre">Boolean visible</span>)
2077  : Ext.Component</div><div class="description"><div class="short"><p>Convenience function to hide or show this component by boolean.</p>
2078 </div><div class="long"><p>Convenience function to hide or show this component by boolean.</p>
2079 <h3 class="pa">Parameters</h3><ul><li><span class="pre">visible</span> : Boolean<div class="sub-desc"><p>True to show, false to hide</p>
2080 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2081 </li></ul></div></div></div><div id="method-setWidth" class="member inherited"><a href="Ext.grid.column.Template.html#method-setWidth" rel="method-setWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-setWidth" class="viewSource">view source</a></div><a name="setWidth"></a><a name="method-setWidth"></a><a href="Ext.grid.column.Template.html#" rel="method-setWidth" class="cls expand">setWidth</a>(
2082 <span class="pre">Number width</span>)
2083  : Ext.Component</div><div class="description"><div class="short"><p>Sets the width of the component.  This method fires the <a href="Ext.grid.column.Template.html#resize" rel="Ext.grid.column.Template#resize" class="docClass">resize</a> event.</p>
2084 </div><div class="long"><p>Sets the width of the component.  This method fires the <a href="Ext.grid.column.Template.html#resize" rel="Ext.grid.column.Template#resize" class="docClass">resize</a> event.</p>
2085 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Number<div class="sub-desc"><p>The new width to setThis may be one of:<div class="mdetail-params"><ul>
2086 <li>A Number specifying the new width in the <a href="Ext.grid.column.Template.html#getEl" rel="Ext.grid.column.Template#getEl" class="docClass">Element</a>'s <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">Ext.core.Element.defaultUnit</a>s (by default, pixels).</li>
2087 <li>A String used to set the CSS width style.</li>
2088 </ul></div></p>
2089 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2090 </li></ul></div></div></div><div id="method-show" class="member inherited"><a href="Ext.grid.column.Template.html#method-show" rel="method-show" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-show" class="viewSource">view source</a></div><a name="show"></a><a name="method-show"></a><a href="Ext.grid.column.Template.html#" rel="method-show" class="cls expand">show</a>(
2091 <span class="pre">String/Element animateTarget, [Function callback], [Object scope]</span>)
2092  : Component</div><div class="description"><div class="short">Shows this Component, rendering it first if autoRender or {&quot;floating are true.
2093
2094
2095 After being shown, a floating C...</div><div class="long"><p>Shows this Component, rendering it first if <a href="Ext.grid.column.Template.html#autoRender" rel="Ext.grid.column.Template#autoRender" class="docClass">autoRender</a> or {<a href="Ext.grid.column.Template.html"floating" rel=""floating" class="docClass">&quot;floating</a> are <code>true</code>.</p>
2096
2097
2098 <p>After being shown, a <a href="Ext.grid.column.Template.html#floating" rel="Ext.grid.column.Template#floating" class="docClass">floating</a> Component (such as a <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Ext.window.Window</a>), is activated it and brought to the front of
2099 its <a href="Ext.grid.column.Template.html#ZIndexManager" rel="Ext.grid.column.Template#ZIndexManager" class="docClass">z-index stack</a>.</p>
2100
2101 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animateTarget</span> : String/Element<div class="sub-desc"><p>Optional, and <b>only valid for <a href="Ext.grid.column.Template.html#floating" rel="Ext.grid.column.Template#floating" class="docClass">floating</a> Components such as
2102 <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Window</a>s or <a href="Ext.tip.ToolTip.html" rel="Ext.tip.ToolTip" class="docClass">ToolTip</a>s, or regular Components which have been configured
2103 with <code>floating: true</code>.</b> The target from which the Component should
2104 animate from while opening (defaults to null with no animation)</p>
2105 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) A callback function to call after the Component is displayed. Only necessary if animation was specified.</p>
2106 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the callback is executed. Defaults to this Component.</p>
2107 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2108 </li></ul></div></div></div><div id="method-stopAnimation" class="member inherited"><a href="Ext.grid.column.Template.html#method-stopAnimation" rel="method-stopAnimation" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-stopAnimation" class="viewSource">view source</a></div><a name="stopAnimation"></a><a name="method-stopAnimation"></a><a href="Ext.grid.column.Template.html#" rel="method-stopAnimation" class="cls expand">stopAnimation</a> : Ext.core.Element</div><div class="description"><div class="short">@deprecated 4.0 Replaced by stopAnimation
2109 Stops any running effects and clears this object's internal effects queue i...</div><div class="long"><p>@deprecated 4.0 Replaced by <a href="Ext.grid.column.Template.html#stopAnimation" rel="Ext.grid.column.Template#stopAnimation" class="docClass">stopAnimation</a>
2110 Stops any running effects and clears this object's internal effects queue if it contains
2111 any additional effects that haven't started yet.</p>
2112 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2113 </li></ul></div></div></div><div id="method-suspendEvents" class="member inherited"><a href="Ext.grid.column.Template.html#method-suspendEvents" rel="method-suspendEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-suspendEvents" class="viewSource">view source</a></div><a name="suspendEvents"></a><a name="method-suspendEvents"></a><a href="Ext.grid.column.Template.html#" rel="method-suspendEvents" class="cls expand">suspendEvents</a>(
2114 <span class="pre">Boolean queueSuspended</span>)
2115  : void</div><div class="description"><div class="short"><p>Suspend the firing of all events. (see <a href="Ext.grid.column.Template.html#resumeEvents" rel="Ext.grid.column.Template#resumeEvents" class="docClass">resumeEvents</a>)</p>
2116 </div><div class="long"><p>Suspend the firing of all events. (see <a href="Ext.grid.column.Template.html#resumeEvents" rel="Ext.grid.column.Template#resumeEvents" class="docClass">resumeEvents</a>)</p>
2117 <h3 class="pa">Parameters</h3><ul><li><span class="pre">queueSuspended</span> : Boolean<div class="sub-desc"><p>Pass as true to queue up suspended events to be fired
2118 after the <a href="Ext.grid.column.Template.html#resumeEvents" rel="Ext.grid.column.Template#resumeEvents" class="docClass">resumeEvents</a> call instead of discarding all suspended events;</p>
2119 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2120 </li></ul></div></div></div><div id="method-syncFx" class="member inherited"><a href="Ext.grid.column.Template.html#method-syncFx" rel="method-syncFx" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Animate.html" class="definedIn docClass">Ext.util.Animate</a><br/><a href="../source/Animate.html#Ext-util.Animate-method-syncFx" class="viewSource">view source</a></div><a name="syncFx"></a><a name="method-syncFx"></a><a href="Ext.grid.column.Template.html#" rel="method-syncFx" class="cls expand">syncFx</a> : Ext.core.Element</div><div class="description"><div class="short">Ensures that all effects queued after syncFx is called on this object are
2121 run concurrently.  This is the opposite of ...</div><div class="long"><p>Ensures that all effects queued after syncFx is called on this object are
2122 run concurrently.  This is the opposite of <a href="Ext.grid.column.Template.html#sequenceFx" rel="Ext.grid.column.Template#sequenceFx" class="docClass">sequenceFx</a>.</p>
2123 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2124 </li></ul></div></div></div><div id="method-toBack" class="member inherited"><a href="Ext.grid.column.Template.html#method-toBack" rel="method-toBack" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-toBack" class="viewSource">view source</a></div><a name="toBack"></a><a name="method-toBack"></a><a href="Ext.grid.column.Template.html#" rel="method-toBack" class="cls expand">toBack</a> : Component</div><div class="description"><div class="short"><p>Sends this Component to the back of (lower z-index than) any other visible windows</p>
2125 </div><div class="long"><p>Sends this Component to the back of (lower z-index than) any other visible windows</p>
2126 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2127 </li></ul></div></div></div><div id="method-toFront" class="member inherited"><a href="Ext.grid.column.Template.html#method-toFront" rel="method-toFront" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Floating.html" class="definedIn docClass">Ext.util.Floating</a><br/><a href="../source/Floating.html#Ext-util.Floating-method-toFront" class="viewSource">view source</a></div><a name="toFront"></a><a name="method-toFront"></a><a href="Ext.grid.column.Template.html#" rel="method-toFront" class="cls expand">toFront</a>(
2128 <span class="pre">[Boolean preventFocus]</span>)
2129  : Component</div><div class="description"><div class="short">Brings this floating Component to the front of any other visible, floating Components managed by the same ZIndexManag...</div><div class="long"><p>Brings this floating Component to the front of any other visible, floating Components managed by the same <a href="Ext.ZIndexManager.html" rel="Ext.ZIndexManager" class="docClass">ZIndexManager</a></p>
2130
2131
2132 <p>If this Component is modal, inserts the modal mask just below this Component in the z-index stack.</p>
2133
2134 <h3 class="pa">Parameters</h3><ul><li><span class="pre">preventFocus</span> : Boolean<div class="sub-desc"><p>(optional) Specify <code>true</code> to prevent the Component from being focused.</p>
2135 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2136 </li></ul></div></div></div><div id="method-un" class="member inherited"><a href="Ext.grid.column.Template.html#method-un" rel="method-un" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-un" class="viewSource">view source</a></div><a name="un"></a><a name="method-un"></a><a href="Ext.grid.column.Template.html#" rel="method-un" class="cls expand">un</a>(
2137 <span class="pre">String eventName, Function handler, [Object scope]</span>)
2138  : void</div><div class="description"><div class="short"><p>Removes an event handler (shorthand for <a href="Ext.grid.column.Template.html#removeListener" rel="Ext.grid.column.Template#removeListener" class="docClass">removeListener</a>.)</p>
2139 </div><div class="long"><p>Removes an event handler (shorthand for <a href="Ext.grid.column.Template.html#removeListener" rel="Ext.grid.column.Template#removeListener" class="docClass">removeListener</a>.)</p>
2140 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event the handler was associated with.</p>
2141 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The handler to remove. <b>This must be a reference to the function passed into the <a href="Ext.grid.column.Template.html#addListener" rel="Ext.grid.column.Template#addListener" class="docClass">addListener</a> call.</b></p>
2142 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
2143 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2144 </li></ul></div></div></div><div id="method-up" class="member inherited"><a href="Ext.grid.column.Template.html#method-up" rel="method-up" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-up" class="viewSource">view source</a></div><a name="up"></a><a name="method-up"></a><a href="Ext.grid.column.Template.html#" rel="method-up" class="cls expand">up</a>(
2145 <span class="pre">String selector</span>)
2146  : Container</div><div class="description"><div class="short">Walks up the ownerCt axis looking for an ancestor Container which matches
2147 the passed simple selector.
2148
2149
2150 Example:
2151 var ...</div><div class="long"><p>Walks up the <code>ownerCt</code> axis looking for an ancestor Container which matches
2152 the passed simple selector.</p>
2153
2154
2155 <p>Example:
2156 <pre><code>var owningTabPanel = grid.up('tabpanel');
2157 </code></pre>
2158
2159 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>Optional. The simple selector to test.</p>
2160 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Container</span>&nbsp; &nbsp;<p>The matching ancestor Container (or <code>undefined</code> if no match was found).</p>
2161 </li></ul></div></div></div><div id="method-update" class="member inherited"><a href="Ext.grid.column.Template.html#method-update" rel="method-update" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-method-update" class="viewSource">view source</a></div><a name="update"></a><a name="method-update"></a><a href="Ext.grid.column.Template.html#" rel="method-update" class="cls expand">update</a>(
2162 <span class="pre">Mixed htmlOrData, [Boolean loadScripts], [Function callback]</span>)
2163  : void</div><div class="description"><div class="short"><p>Update the content area of a component.</p>
2164 </div><div class="long"><p>Update the content area of a component.</p>
2165 <h3 class="pa">Parameters</h3><ul><li><span class="pre">htmlOrData</span> : Mixed<div class="sub-desc"><p>If this component has been configured with a template via the tpl config
2166 then it will use this argument as data to populate the template.
2167 If this component was not configured with a template, the components
2168 content area will be updated via <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> update</p>
2169 </div></li><li><span class="pre">loadScripts</span> : Boolean<div class="sub-desc"><p>(optional) Only legitimate when using the html configuration. Defaults to false</p>
2170 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>(optional) Only legitimate when using the html configuration. Callback to execute when scripts have finished loading</p>
2171 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2172 </li></ul></div></div></div><div id="method-updateBox" class="member inherited"><a href="Ext.grid.column.Template.html#method-updateBox" rel="method-updateBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.Component.html" class="definedIn docClass">Ext.Component</a><br/><a href="../source/Component.html#Ext-Component-method-updateBox" class="viewSource">view source</a></div><a name="updateBox"></a><a name="method-updateBox"></a><a href="Ext.grid.column.Template.html#" rel="method-updateBox" class="cls expand">updateBox</a>(
2173 <span class="pre">Object box</span>)
2174  : Ext.Component</div><div class="description"><div class="short"><p>Sets the current box measurements of the component's underlying element.</p>
2175 </div><div class="long"><p>Sets the current box measurements of the component's underlying element.</p>
2176 <h3 class="pa">Parameters</h3><ul><li><span class="pre">box</span> : Object<div class="sub-desc"><p>An object in the format {x, y, width, height}</p>
2177 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2178 </li></ul></div></div></div></div><div class="m-events"><a name="events"></a><div class="definedBy">Defined By</div><h3 class="evt p">Events</h3><div id="event-activate" class="member f inherited"><a href="Ext.grid.column.Template.html#event-activate" rel="event-activate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-activate" class="viewSource">view source</a></div><a name="activate"></a><a name="event-activate"></a><a href="Ext.grid.column.Template.html#" rel="event-activate" class="cls expand">activate</a>(
2179 <span class="pre">Ext.Component this</span>)
2180 </div><div class="description"><div class="short"><p>Fires after a Component has been visually activated.</p>
2181 </div><div class="long"><p>Fires after a Component has been visually activated.</p>
2182 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2183 </div></li></ul></div></div></div><div id="event-add" class="member inherited"><a href="Ext.grid.column.Template.html#event-add" rel="event-add" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-add" class="viewSource">view source</a></div><a name="add"></a><a name="event-add"></a><a href="Ext.grid.column.Template.html#" rel="event-add" class="cls expand">add</a>(
2184 <span class="pre">Ext.container.Container this, Ext.Component component, Number index</span>)
2185 </div><div class="description"><div class="short"><p>@bubbles
2186 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.</p>
2187 </div><div class="long"><p>@bubbles
2188 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.</p>
2189 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2190 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component that was added</p>
2191 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index at which the component was added to the container's items collection</p>
2192 </div></li></ul></div></div></div><div id="event-added" class="member inherited"><a href="Ext.grid.column.Template.html#event-added" rel="event-added" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-added" class="viewSource">view source</a></div><a name="added"></a><a name="event-added"></a><a href="Ext.grid.column.Template.html#" rel="event-added" class="cls expand">added</a>(
2193 <span class="pre">Ext.Component this, Ext.container.Container container, Number pos</span>)
2194 </div><div class="description"><div class="short"><p>Fires after a Component had been added to a Container.</p>
2195 </div><div class="long"><p>Fires after a Component had been added to a Container.</p>
2196 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2197 </div></li><li><span class="pre">container</span> : Ext.container.Container<div class="sub-desc"><p>Parent Container</p>
2198 </div></li><li><span class="pre">pos</span> : Number<div class="sub-desc"><p>position of Component</p>
2199 </div></li></ul></div></div></div><div id="event-afterlayout" class="member inherited"><a href="Ext.grid.column.Template.html#event-afterlayout" rel="event-afterlayout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-afterlayout" class="viewSource">view source</a></div><a name="afterlayout"></a><a name="event-afterlayout"></a><a href="Ext.grid.column.Template.html#" rel="event-afterlayout" class="cls expand">afterlayout</a>(
2200 <span class="pre">Ext.container.Container this, ContainerLayout layout</span>)
2201 </div><div class="description"><div class="short"><p>Fires when the components in this container are arranged by the associated layout manager.</p>
2202 </div><div class="long"><p>Fires when the components in this container are arranged by the associated layout manager.</p>
2203 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2204 </div></li><li><span class="pre">layout</span> : ContainerLayout<div class="sub-desc"><p>The ContainerLayout implementation for this container</p>
2205 </div></li></ul></div></div></div><div id="event-afterrender" class="member inherited"><a href="Ext.grid.column.Template.html#event-afterrender" rel="event-afterrender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-afterrender" class="viewSource">view source</a></div><a name="afterrender"></a><a name="event-afterrender"></a><a href="Ext.grid.column.Template.html#" rel="event-afterrender" class="cls expand">afterrender</a>(
2206 <span class="pre">Ext.Component this</span>)
2207 </div><div class="description"><div class="short">Fires after the component rendering is finished.
2208
2209
2210 The afterrender event is fired after this Component has been rende...</div><div class="long"><p>Fires after the component rendering is finished.</p>
2211
2212
2213 <p>The afterrender event is fired after this Component has been <a href="Ext.grid.column.Template.html#rendered" rel="Ext.grid.column.Template#rendered" class="docClass">rendered</a>, been postprocesed
2214 by any afterRender method defined for the Component.</p>
2215
2216 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2217 </div></li></ul></div></div></div><div id="event-beforeactivate" class="member inherited"><a href="Ext.grid.column.Template.html#event-beforeactivate" rel="event-beforeactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforeactivate" class="viewSource">view source</a></div><a name="beforeactivate"></a><a name="event-beforeactivate"></a><a href="Ext.grid.column.Template.html#" rel="event-beforeactivate" class="cls expand">beforeactivate</a>(
2218 <span class="pre">Ext.Component this</span>)
2219 </div><div class="description"><div class="short">Fires before a Component has been visually activated.
2220 Returning false from an event listener can prevent the activate...</div><div class="long"><p>Fires before a Component has been visually activated.
2221 Returning false from an event listener can prevent the activate
2222 from occurring.</p>
2223 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2224 </div></li></ul></div></div></div><div id="event-beforeadd" class="member inherited"><a href="Ext.grid.column.Template.html#event-beforeadd" rel="event-beforeadd" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-beforeadd" class="viewSource">view source</a></div><a name="beforeadd"></a><a name="event-beforeadd"></a><a href="Ext.grid.column.Template.html#" rel="event-beforeadd" class="cls expand">beforeadd</a>(
2225 <span class="pre">Ext.container.Container this, Ext.Component component, Number index</span>)
2226 </div><div class="description"><div class="short"><p>Fires before any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.
2227 A handler can return false to cancel the add.</p>
2228 </div><div class="long"><p>Fires before any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.
2229 A handler can return false to cancel the add.</p>
2230 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2231 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component being added</p>
2232 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index at which the component will be added to the container's items collection</p>
2233 </div></li></ul></div></div></div><div id="event-beforecardswitch" class="member inherited"><a href="Ext.grid.column.Template.html#event-beforecardswitch" rel="event-beforecardswitch" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-beforecardswitch" class="viewSource">view source</a></div><a name="beforecardswitch"></a><a name="event-beforecardswitch"></a><a href="Ext.grid.column.Template.html#" rel="event-beforecardswitch" class="cls expand">beforecardswitch</a>(
2234 <span class="pre">Ext.container.Container this, Ext.Component newCard, Ext.Component oldCard, Number index, Boolean animated</span>)
2235 </div><div class="description"><div class="short">Fires before this container switches the active card. This event
2236 is only available if this container uses a CardLayou...</div><div class="long"><p>Fires before this container switches the active card. This event
2237 is only available if this container uses a CardLayout. Note that
2238 TabPanel and Carousel both get a CardLayout by default, so both
2239 will have this event.
2240 A handler can return false to cancel the card switch.</p>
2241 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2242 </div></li><li><span class="pre">newCard</span> : Ext.Component<div class="sub-desc"><p>The card that will be switched to</p>
2243 </div></li><li><span class="pre">oldCard</span> : Ext.Component<div class="sub-desc"><p>The card that will be switched from</p>
2244 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index of the card that will be switched to</p>
2245 </div></li><li><span class="pre">animated</span> : Boolean<div class="sub-desc"><p>True if this cardswitch will be animated</p>
2246 </div></li></ul></div></div></div><div id="event-beforedeactivate" class="member inherited"><a href="Ext.grid.column.Template.html#event-beforedeactivate" rel="event-beforedeactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforedeactivate" class="viewSource">view source</a></div><a name="beforedeactivate"></a><a name="event-beforedeactivate"></a><a href="Ext.grid.column.Template.html#" rel="event-beforedeactivate" class="cls expand">beforedeactivate</a>(
2247 <span class="pre">Ext.Component this</span>)
2248 </div><div class="description"><div class="short">Fires before a Component has been visually deactivated.
2249 Returning false from an event listener can prevent the deacti...</div><div class="long"><p>Fires before a Component has been visually deactivated.
2250 Returning false from an event listener can prevent the deactivate
2251 from occurring.</p>
2252 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2253 </div></li></ul></div></div></div><div id="event-beforedestroy" class="member inherited"><a href="Ext.grid.column.Template.html#event-beforedestroy" rel="event-beforedestroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforedestroy" class="viewSource">view source</a></div><a name="beforedestroy"></a><a name="event-beforedestroy"></a><a href="Ext.grid.column.Template.html#" rel="event-beforedestroy" class="cls expand">beforedestroy</a>(
2254 <span class="pre">Ext.Component this</span>)
2255 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.grid.column.Template.html#destroy" rel="Ext.grid.column.Template#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.grid.column.Template.html#destroy" rel="Ext.grid.column.Template#destroy" class="docClass">destroy</a>.</p>
2256 </div><div class="long"><p>Fires before the component is <a href="Ext.grid.column.Template.html#destroy" rel="Ext.grid.column.Template#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.grid.column.Template.html#destroy" rel="Ext.grid.column.Template#destroy" class="docClass">destroy</a>.</p>
2257 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2258 </div></li></ul></div></div></div><div id="event-beforehide" class="member inherited"><a href="Ext.grid.column.Template.html#event-beforehide" rel="event-beforehide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforehide" class="viewSource">view source</a></div><a name="beforehide"></a><a name="event-beforehide"></a><a href="Ext.grid.column.Template.html#" rel="event-beforehide" class="cls expand">beforehide</a>(
2259 <span class="pre">Ext.Component this</span>)
2260 </div><div class="description"><div class="short"><p>Fires before the component is hidden when calling the <a href="Ext.grid.column.Template.html#hide" rel="Ext.grid.column.Template#hide" class="docClass">hide</a> method.
2261 Return false from an event handler to stop the hide.</p>
2262 </div><div class="long"><p>Fires before the component is hidden when calling the <a href="Ext.grid.column.Template.html#hide" rel="Ext.grid.column.Template#hide" class="docClass">hide</a> method.
2263 Return false from an event handler to stop the hide.</p>
2264 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2265 </div></li></ul></div></div></div><div id="event-beforeremove" class="member inherited"><a href="Ext.grid.column.Template.html#event-beforeremove" rel="event-beforeremove" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-beforeremove" class="viewSource">view source</a></div><a name="beforeremove"></a><a name="event-beforeremove"></a><a href="Ext.grid.column.Template.html#" rel="event-beforeremove" class="cls expand">beforeremove</a>(
2266 <span class="pre">Ext.container.Container this, Ext.Component component</span>)
2267 </div><div class="description"><div class="short"><p>Fires before any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.  A handler can return
2268 false to cancel the remove.</p>
2269 </div><div class="long"><p>Fires before any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.  A handler can return
2270 false to cancel the remove.</p>
2271 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2272 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component being removed</p>
2273 </div></li></ul></div></div></div><div id="event-beforerender" class="member inherited"><a href="Ext.grid.column.Template.html#event-beforerender" rel="event-beforerender" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforerender" class="viewSource">view source</a></div><a name="beforerender"></a><a name="event-beforerender"></a><a href="Ext.grid.column.Template.html#" rel="event-beforerender" class="cls expand">beforerender</a>(
2274 <span class="pre">Ext.Component this</span>)
2275 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.grid.column.Template.html#rendered" rel="Ext.grid.column.Template#rendered" class="docClass">rendered</a>. Return false from an
2276 event handler to stop the <a href="Ext.grid.column.Template.html#render" rel="Ext.grid.column.Template#render" class="docClass">render</a>.</p>
2277 </div><div class="long"><p>Fires before the component is <a href="Ext.grid.column.Template.html#rendered" rel="Ext.grid.column.Template#rendered" class="docClass">rendered</a>. Return false from an
2278 event handler to stop the <a href="Ext.grid.column.Template.html#render" rel="Ext.grid.column.Template#render" class="docClass">render</a>.</p>
2279 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2280 </div></li></ul></div></div></div><div id="event-beforeshow" class="member inherited"><a href="Ext.grid.column.Template.html#event-beforeshow" rel="event-beforeshow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-beforeshow" class="viewSource">view source</a></div><a name="beforeshow"></a><a name="event-beforeshow"></a><a href="Ext.grid.column.Template.html#" rel="event-beforeshow" class="cls expand">beforeshow</a>(
2281 <span class="pre">Ext.Component this</span>)
2282 </div><div class="description"><div class="short"><p>Fires before the component is shown when calling the <a href="Ext.grid.column.Template.html#show" rel="Ext.grid.column.Template#show" class="docClass">show</a> method.
2283 Return false from an event handler to stop the show.</p>
2284 </div><div class="long"><p>Fires before the component is shown when calling the <a href="Ext.grid.column.Template.html#show" rel="Ext.grid.column.Template#show" class="docClass">show</a> method.
2285 Return false from an event handler to stop the show.</p>
2286 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2287 </div></li></ul></div></div></div><div id="event-beforestaterestore" class="member inherited"><a href="Ext.grid.column.Template.html#event-beforestaterestore" rel="event-beforestaterestore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-beforestaterestore" class="viewSource">view source</a></div><a name="beforestaterestore"></a><a name="event-beforestaterestore"></a><a href="Ext.grid.column.Template.html#" rel="event-beforestaterestore" class="cls expand">beforestaterestore</a>(
2288 <span class="pre">Ext.state.Stateful this, Object state</span>)
2289 </div><div class="description"><div class="short"><p>Fires before the state of the object is restored. Return false from an event handler to stop the restore.</p>
2290 </div><div class="long"><p>Fires before the state of the object is restored. Return false from an event handler to stop the restore.</p>
2291 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2292 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values returned from the StateProvider. If this
2293 event is not vetoed, then the state object is passed to <b><tt>applyState</tt></b>. By default,
2294 that simply copies property values into this object. The method maybe overriden to
2295 provide custom state restoration.</p>
2296 </div></li></ul></div></div></div><div id="event-beforestatesave" class="member inherited"><a href="Ext.grid.column.Template.html#event-beforestatesave" rel="event-beforestatesave" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-beforestatesave" class="viewSource">view source</a></div><a name="beforestatesave"></a><a name="event-beforestatesave"></a><a href="Ext.grid.column.Template.html#" rel="event-beforestatesave" class="cls expand">beforestatesave</a>(
2297 <span class="pre">Ext.state.Stateful this, Object state</span>)
2298 </div><div class="description"><div class="short"><p>Fires before the state of the object is saved to the configured state provider. Return false to stop the save.</p>
2299 </div><div class="long"><p>Fires before the state of the object is saved to the configured state provider. Return false to stop the save.</p>
2300 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2301 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2302 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2303 developer to return whetever representation of state is required, by default, <a href="Ext.state.Stateful.html" rel="Ext.state.Stateful" class="docClass">Ext.state.Stateful</a>
2304 has a null implementation.</p>
2305 </div></li></ul></div></div></div><div id="event-cardswitch" class="member inherited"><a href="Ext.grid.column.Template.html#event-cardswitch" rel="event-cardswitch" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-cardswitch" class="viewSource">view source</a></div><a name="cardswitch"></a><a name="event-cardswitch"></a><a href="Ext.grid.column.Template.html#" rel="event-cardswitch" class="cls expand">cardswitch</a>(
2306 <span class="pre">Ext.container.Container this, Ext.Component newCard, Ext.Component oldCard, Number index, Boolean animated</span>)
2307 </div><div class="description"><div class="short">Fires after this container switches the active card. If the card
2308 is switched using an animation, this event will fire...</div><div class="long"><p>Fires after this container switches the active card. If the card
2309 is switched using an animation, this event will fire after the
2310 animation has finished. This event is only available if this container
2311 uses a CardLayout. Note that TabPanel and Carousel both get a CardLayout
2312 by default, so both will have this event.</p>
2313 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2314 </div></li><li><span class="pre">newCard</span> : Ext.Component<div class="sub-desc"><p>The card that has been switched to</p>
2315 </div></li><li><span class="pre">oldCard</span> : Ext.Component<div class="sub-desc"><p>The card that has been switched from</p>
2316 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index of the card that has been switched to</p>
2317 </div></li><li><span class="pre">animated</span> : Boolean<div class="sub-desc"><p>True if this cardswitch was animated</p>
2318 </div></li></ul></div></div></div><div id="event-columnhide" class="member inherited"><a href="Ext.grid.column.Template.html#event-columnhide" rel="event-columnhide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-event-columnhide" class="viewSource">view source</a></div><a name="columnhide"></a><a name="event-columnhide"></a><a href="Ext.grid.column.Template.html#" rel="event-columnhide" class="cls expand">columnhide</a>(
2319 <span class="pre">Ext.grid.header.Container ct, Ext.grid.column.Column column</span>)
2320 </div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
2321 <h3 class="pa">Parameters</h3><ul><li><span class="pre">ct</span> : Ext.grid.header.Container<div class="sub-desc"><p>The grid's header Container which encapsulates all column headers.</p>
2322 </div></li><li><span class="pre">column</span> : Ext.grid.column.Column<div class="sub-desc"><p>The Column header Component which provides the column definition</p>
2323 </div></li></ul></div></div></div><div id="event-columnmove" class="member inherited"><a href="Ext.grid.column.Template.html#event-columnmove" rel="event-columnmove" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-event-columnmove" class="viewSource">view source</a></div><a name="columnmove"></a><a name="event-columnmove"></a><a href="Ext.grid.column.Template.html#" rel="event-columnmove" class="cls expand">columnmove</a>(
2324 <span class="pre">Ext.grid.header.Container ct, Ext.grid.column.Column column, Number fromIdx, Number toIdx</span>)
2325 </div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
2326 <h3 class="pa">Parameters</h3><ul><li><span class="pre">ct</span> : Ext.grid.header.Container<div class="sub-desc"><p>The grid's header Container which encapsulates all column headers.</p>
2327 </div></li><li><span class="pre">column</span> : Ext.grid.column.Column<div class="sub-desc"><p>The Column header Component which provides the column definition</p>
2328 </div></li><li><span class="pre">fromIdx</span> : Number<div class="sub-desc">
2329 </div></li><li><span class="pre">toIdx</span> : Number<div class="sub-desc">
2330 </div></li></ul></div></div></div><div id="event-columnresize" class="member inherited"><a href="Ext.grid.column.Template.html#event-columnresize" rel="event-columnresize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-event-columnresize" class="viewSource">view source</a></div><a name="columnresize"></a><a name="event-columnresize"></a><a href="Ext.grid.column.Template.html#" rel="event-columnresize" class="cls expand">columnresize</a>(
2331 <span class="pre">Ext.grid.header.Container ct, Ext.grid.column.Column column, Number width</span>)
2332 </div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
2333 <h3 class="pa">Parameters</h3><ul><li><span class="pre">ct</span> : Ext.grid.header.Container<div class="sub-desc"><p>The grid's header Container which encapsulates all column headers.</p>
2334 </div></li><li><span class="pre">column</span> : Ext.grid.column.Column<div class="sub-desc"><p>The Column header Component which provides the column definition</p>
2335 </div></li><li><span class="pre">width</span> : Number<div class="sub-desc">
2336 </div></li></ul></div></div></div><div id="event-columnshow" class="member inherited"><a href="Ext.grid.column.Template.html#event-columnshow" rel="event-columnshow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-event-columnshow" class="viewSource">view source</a></div><a name="columnshow"></a><a name="event-columnshow"></a><a href="Ext.grid.column.Template.html#" rel="event-columnshow" class="cls expand">columnshow</a>(
2337 <span class="pre">Ext.grid.header.Container ct, Ext.grid.column.Column column</span>)
2338 </div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
2339 <h3 class="pa">Parameters</h3><ul><li><span class="pre">ct</span> : Ext.grid.header.Container<div class="sub-desc"><p>The grid's header Container which encapsulates all column headers.</p>
2340 </div></li><li><span class="pre">column</span> : Ext.grid.column.Column<div class="sub-desc"><p>The Column header Component which provides the column definition</p>
2341 </div></li></ul></div></div></div><div id="event-deactivate" class="member inherited"><a href="Ext.grid.column.Template.html#event-deactivate" rel="event-deactivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-deactivate" class="viewSource">view source</a></div><a name="deactivate"></a><a name="event-deactivate"></a><a href="Ext.grid.column.Template.html#" rel="event-deactivate" class="cls expand">deactivate</a>(
2342 <span class="pre">Ext.Component this</span>)
2343 </div><div class="description"><div class="short"><p>Fires after a Component has been visually deactivated.</p>
2344 </div><div class="long"><p>Fires after a Component has been visually deactivated.</p>
2345 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2346 </div></li></ul></div></div></div><div id="event-destroy" class="member inherited"><a href="Ext.grid.column.Template.html#event-destroy" rel="event-destroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-destroy" class="viewSource">view source</a></div><a name="destroy"></a><a name="event-destroy"></a><a href="Ext.grid.column.Template.html#" rel="event-destroy" class="cls expand">destroy</a>(
2347 <span class="pre">Ext.Component this</span>)
2348 </div><div class="description"><div class="short"><p>Fires after the component is <a href="Ext.grid.column.Template.html#destroy" rel="Ext.grid.column.Template#destroy" class="docClass">destroy</a>ed.</p>
2349 </div><div class="long"><p>Fires after the component is <a href="Ext.grid.column.Template.html#destroy" rel="Ext.grid.column.Template#destroy" class="docClass">destroy</a>ed.</p>
2350 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2351 </div></li></ul></div></div></div><div id="event-disable" class="member inherited"><a href="Ext.grid.column.Template.html#event-disable" rel="event-disable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-disable" class="viewSource">view source</a></div><a name="disable"></a><a name="event-disable"></a><a href="Ext.grid.column.Template.html#" rel="event-disable" class="cls expand">disable</a>(
2352 <span class="pre">Ext.Component this</span>)
2353 </div><div class="description"><div class="short"><p>Fires after the component is disabled.</p>
2354 </div><div class="long"><p>Fires after the component is disabled.</p>
2355 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2356 </div></li></ul></div></div></div><div id="event-enable" class="member inherited"><a href="Ext.grid.column.Template.html#event-enable" rel="event-enable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-enable" class="viewSource">view source</a></div><a name="enable"></a><a name="event-enable"></a><a href="Ext.grid.column.Template.html#" rel="event-enable" class="cls expand">enable</a>(
2357 <span class="pre">Ext.Component this</span>)
2358 </div><div class="description"><div class="short"><p>Fires after the component is enabled.</p>
2359 </div><div class="long"><p>Fires after the component is enabled.</p>
2360 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2361 </div></li></ul></div></div></div><div id="event-headerclick" class="member inherited"><a href="Ext.grid.column.Template.html#event-headerclick" rel="event-headerclick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-event-headerclick" class="viewSource">view source</a></div><a name="headerclick"></a><a name="event-headerclick"></a><a href="Ext.grid.column.Template.html#" rel="event-headerclick" class="cls expand">headerclick</a>(
2362 <span class="pre">Ext.grid.header.Container ct, Ext.grid.column.Column column, Ext.EventObject e, HTMLElement t</span>)
2363 </div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
2364 <h3 class="pa">Parameters</h3><ul><li><span class="pre">ct</span> : Ext.grid.header.Container<div class="sub-desc"><p>The grid's header Container which encapsulates all column headers.</p>
2365 </div></li><li><span class="pre">column</span> : Ext.grid.column.Column<div class="sub-desc"><p>The Column header Component which provides the column definition</p>
2366 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc">
2367 </div></li><li><span class="pre">t</span> : HTMLElement<div class="sub-desc">
2368 </div></li></ul></div></div></div><div id="event-headertriggerclick" class="member inherited"><a href="Ext.grid.column.Template.html#event-headertriggerclick" rel="event-headertriggerclick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-event-headertriggerclick" class="viewSource">view source</a></div><a name="headertriggerclick"></a><a name="event-headertriggerclick"></a><a href="Ext.grid.column.Template.html#" rel="event-headertriggerclick" class="cls expand">headertriggerclick</a>(
2369 <span class="pre">Ext.grid.header.Container ct, Ext.grid.column.Column column, Ext.EventObject e, HTMLElement t</span>)
2370 </div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
2371 <h3 class="pa">Parameters</h3><ul><li><span class="pre">ct</span> : Ext.grid.header.Container<div class="sub-desc"><p>The grid's header Container which encapsulates all column headers.</p>
2372 </div></li><li><span class="pre">column</span> : Ext.grid.column.Column<div class="sub-desc"><p>The Column header Component which provides the column definition</p>
2373 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc">
2374 </div></li><li><span class="pre">t</span> : HTMLElement<div class="sub-desc">
2375 </div></li></ul></div></div></div><div id="event-hide" class="member inherited"><a href="Ext.grid.column.Template.html#event-hide" rel="event-hide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-hide" class="viewSource">view source</a></div><a name="hide"></a><a name="event-hide"></a><a href="Ext.grid.column.Template.html#" rel="event-hide" class="cls expand">hide</a>(
2376 <span class="pre">Ext.Component this</span>)
2377 </div><div class="description"><div class="short"><p>Fires after the component is hidden.
2378 Fires after the component is hidden when calling the <a href="Ext.grid.column.Template.html#hide" rel="Ext.grid.column.Template#hide" class="docClass">hide</a> method.</p>
2379 </div><div class="long"><p>Fires after the component is hidden.
2380 Fires after the component is hidden when calling the <a href="Ext.grid.column.Template.html#hide" rel="Ext.grid.column.Template#hide" class="docClass">hide</a> method.</p>
2381 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2382 </div></li></ul></div></div></div><div id="event-menucreate" class="member inherited"><a href="Ext.grid.column.Template.html#event-menucreate" rel="event-menucreate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-event-menucreate" class="viewSource">view source</a></div><a name="menucreate"></a><a name="event-menucreate"></a><a href="Ext.grid.column.Template.html#" rel="event-menucreate" class="cls expand">menucreate</a>(
2383 <span class="pre">Ext.grid.header.Container ct, Ext.menu.Menu menu</span>)
2384 </div><div class="description"><div class="short"><p>Fired immediately after the column header menu is created.</p>
2385 </div><div class="long"><p>Fired immediately after the column header menu is created.</p>
2386 <h3 class="pa">Parameters</h3><ul><li><span class="pre">ct</span> : Ext.grid.header.Container<div class="sub-desc"><p>This instance</p>
2387 </div></li><li><span class="pre">menu</span> : Ext.menu.Menu<div class="sub-desc"><p>The Menu that was created</p>
2388 </div></li></ul></div></div></div><div id="event-move" class="member inherited"><a href="Ext.grid.column.Template.html#event-move" rel="event-move" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-move" class="viewSource">view source</a></div><a name="move"></a><a name="event-move"></a><a href="Ext.grid.column.Template.html#" rel="event-move" class="cls expand">move</a>(
2389 <span class="pre">Ext.Component this, Number x, Number y</span>)
2390 </div><div class="description"><div class="short"><p>Fires after the component is moved.</p>
2391 </div><div class="long"><p>Fires after the component is moved.</p>
2392 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2393 </div></li><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
2394 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
2395 </div></li></ul></div></div></div><div id="event-remove" class="member inherited"><a href="Ext.grid.column.Template.html#event-remove" rel="event-remove" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.container.AbstractContainer.html" class="definedIn docClass">Ext.container.AbstractContainer</a><br/><a href="../source/AbstractContainer.html#Ext-container.AbstractContainer-event-remove" class="viewSource">view source</a></div><a name="remove"></a><a name="event-remove"></a><a href="Ext.grid.column.Template.html#" rel="event-remove" class="cls expand">remove</a>(
2396 <span class="pre">Ext.container.Container this, Ext.Component component</span>)
2397 </div><div class="description"><div class="short"><p>@bubbles
2398 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.</p>
2399 </div><div class="long"><p>@bubbles
2400 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.</p>
2401 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2402 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component that was removed</p>
2403 </div></li></ul></div></div></div><div id="event-removed" class="member inherited"><a href="Ext.grid.column.Template.html#event-removed" rel="event-removed" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-removed" class="viewSource">view source</a></div><a name="removed"></a><a name="event-removed"></a><a href="Ext.grid.column.Template.html#" rel="event-removed" class="cls expand">removed</a>(
2404 <span class="pre">Ext.Component this, Ext.container.Container ownerCt</span>)
2405 </div><div class="description"><div class="short"><p>Fires when a component is removed from an Ext.container.Container</p>
2406 </div><div class="long"><p>Fires when a component is removed from an Ext.container.Container</p>
2407 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2408 </div></li><li><span class="pre">ownerCt</span> : Ext.container.Container<div class="sub-desc"><p>Container which holds the component</p>
2409 </div></li></ul></div></div></div><div id="event-render" class="member inherited"><a href="Ext.grid.column.Template.html#event-render" rel="event-render" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-render" class="viewSource">view source</a></div><a name="render"></a><a name="event-render"></a><a href="Ext.grid.column.Template.html#" rel="event-render" class="cls expand">render</a>(
2410 <span class="pre">Ext.Component this</span>)
2411 </div><div class="description"><div class="short"><p>Fires after the component markup is <a href="Ext.grid.column.Template.html#rendered" rel="Ext.grid.column.Template#rendered" class="docClass">rendered</a>.</p>
2412 </div><div class="long"><p>Fires after the component markup is <a href="Ext.grid.column.Template.html#rendered" rel="Ext.grid.column.Template#rendered" class="docClass">rendered</a>.</p>
2413 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2414 </div></li></ul></div></div></div><div id="event-resize" class="member inherited"><a href="Ext.grid.column.Template.html#event-resize" rel="event-resize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-resize" class="viewSource">view source</a></div><a name="resize"></a><a name="event-resize"></a><a href="Ext.grid.column.Template.html#" rel="event-resize" class="cls expand">resize</a>(
2415 <span class="pre">Ext.Component this, Number adjWidth, Number adjHeight</span>)
2416 </div><div class="description"><div class="short"><p>Fires after the component is resized.</p>
2417 </div><div class="long"><p>Fires after the component is resized.</p>
2418 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2419 </div></li><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
2420 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
2421 </div></li></ul></div></div></div><div id="event-show" class="member inherited"><a href="Ext.grid.column.Template.html#event-show" rel="event-show" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.AbstractComponent.html" class="definedIn docClass">Ext.AbstractComponent</a><br/><a href="../source/AbstractComponent.html#Ext-AbstractComponent-event-show" class="viewSource">view source</a></div><a name="show"></a><a name="event-show"></a><a href="Ext.grid.column.Template.html#" rel="event-show" class="cls expand">show</a>(
2422 <span class="pre">Ext.Component this</span>)
2423 </div><div class="description"><div class="short"><p>Fires after the component is shown when calling the <a href="Ext.grid.column.Template.html#show" rel="Ext.grid.column.Template#show" class="docClass">show</a> method.</p>
2424 </div><div class="long"><p>Fires after the component is shown when calling the <a href="Ext.grid.column.Template.html#show" rel="Ext.grid.column.Template#show" class="docClass">show</a> method.</p>
2425 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2426 </div></li></ul></div></div></div><div id="event-sortchange" class="member inherited"><a href="Ext.grid.column.Template.html#event-sortchange" rel="event-sortchange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.header.Container.html" class="definedIn docClass">Ext.grid.header.Container</a><br/><a href="../source/Container2.html#Ext-grid.header.Container-event-sortchange" class="viewSource">view source</a></div><a name="sortchange"></a><a name="event-sortchange"></a><a href="Ext.grid.column.Template.html#" rel="event-sortchange" class="cls expand">sortchange</a>(
2427 <span class="pre">Ext.grid.header.Container ct, Ext.grid.column.Column column, String direction</span>)
2428 </div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
2429 <h3 class="pa">Parameters</h3><ul><li><span class="pre">ct</span> : Ext.grid.header.Container<div class="sub-desc"><p>The grid's header Container which encapsulates all column headers.</p>
2430 </div></li><li><span class="pre">column</span> : Ext.grid.column.Column<div class="sub-desc"><p>The Column header Component which provides the column definition</p>
2431 </div></li><li><span class="pre">direction</span> : String<div class="sub-desc">
2432 </div></li></ul></div></div></div><div id="event-staterestore" class="member inherited"><a href="Ext.grid.column.Template.html#event-staterestore" rel="event-staterestore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-staterestore" class="viewSource">view source</a></div><a name="staterestore"></a><a name="event-staterestore"></a><a href="Ext.grid.column.Template.html#" rel="event-staterestore" class="cls expand">staterestore</a>(
2433 <span class="pre">Ext.state.Stateful this, Object state</span>)
2434 </div><div class="description"><div class="short"><p>Fires after the state of the object is restored.</p>
2435 </div><div class="long"><p>Fires after the state of the object is restored.</p>
2436 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2437 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values returned from the StateProvider. This is passed
2438 to <b><tt>applyState</tt></b>. By default, that simply copies property values into this
2439 object. The method maybe overriden to provide custom state restoration.</p>
2440 </div></li></ul></div></div></div><div id="event-statesave" class="member inherited"><a href="Ext.grid.column.Template.html#event-statesave" rel="event-statesave" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.state.Stateful.html" class="definedIn docClass">Ext.state.Stateful</a><br/><a href="../source/Stateful.html#Ext-state.Stateful-event-statesave" class="viewSource">view source</a></div><a name="statesave"></a><a name="event-statesave"></a><a href="Ext.grid.column.Template.html#" rel="event-statesave" class="cls expand">statesave</a>(
2441 <span class="pre">Ext.state.Stateful this, Object state</span>)
2442 </div><div class="description"><div class="short"><p>Fires after the state of the object is saved to the configured state provider.</p>
2443 </div><div class="long"><p>Fires after the state of the object is saved to the configured state provider.</p>
2444 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
2445 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
2446 <b><tt>getState()</tt></b> on the object. This method must be provided by the
2447 developer to return whetever representation of state is required, by default, <a href="Ext.state.Stateful.html" rel="Ext.state.Stateful" class="docClass">Ext.state.Stateful</a>
2448 has a null implementation.</p>
2449 </div></li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>