Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.grid.Panel.html
1 <!DOCTYPE html><html><head><title>Ext.grid.Panel | 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.Panel',
13         docClass: 'Ext.grid.Panel',
14         docReq: 'Ext.grid.Panel',
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 = 'Panel2.html#Ext-grid.Panel';
33     clsInfo = {"methods":["Panel","add","addClass","addCls","addClsWithUI","addDocked","addEvents","addListener","addManagedListener","addStateEvents","afterComponentLayout","alignTo","animate","applyState","beforeComponentLayout","beforeLayout","bubble","capture","cascade","center","child","clearListeners","clearManagedListeners","cloneConfig","close","collapse","destroy","determineScrollbars","disable","doAutoRender","doComponentLayout","doConstrain","doLayout","down","enable","enableBubble","expand","findLayoutController","findParentBy","findParentByType","fireEvent","focus","getActiveAnimation","getBox","getBubbleTarget","getChildByElement","getComponent","getDockedComponent","getDockedItems","getEl","getHeight","getId","getInsertPosition","getLayout","getLoader","getPlugin","getPosition","getSelectionModel","getSize","getState","getStateId","getStore","getView","getWidth","getXType","getXTypes","hasListener","hasUICls","hide","hideHorizontalScroller","hideVerticalScroller","insert","insertDocked","invalidateScroller","is","isDescendantOf","isDisabled","isDraggable","isDroppable","isFloating","isHidden","isVisible","isXType","move","nextNode","nextSibling","observe","on","previousNode","previousSibling","query","relayEvents","releaseCapture","remove","removeAll","removeCls","removeClsWithUI","removeDocked","removeListener","removeManagedListener","resumeEvents","scrollByDeltaX","scrollByDeltaY","sequenceFx","setActive","setAutoScroll","setDisabled","setDocked","setHeight","setIconCls","setLoading","setPagePosition","setPosition","setScrollTop","setSize","setTitle","setUI","setVisible","setWidth","show","showHorizontalScroller","showVerticalScroller","stopAnimation","suspendEvents","syncFx","toBack","toFront","toggleCollapse","un","up","update","updateBox"],"cfgs":["activeItem","animCollapse","autoDestroy","autoEl","autoRender","autoScroll","autoShow","baseCls","bbar","bodyBorder","bodyCls","bodyPadding","bodyStyle","border","bubbleEvents","buttons","closable","closeAction","cls","collapseDirection","collapseFirst","collapseMode","collapsed","collapsedCls","collapsible","columnLines","columns","componentCls","componentLayout","contentEl","data","defaultType","defaults","disabled","disabledCls","dockedItems","draggable","fbar","floatable","floating","focusOnToFront","forceFit","frame","frameHeader","headerPosition","height","hidden","hideCollapseTool","hideHeaders","hideMode","html","id","itemId","items","layout","lbar","listeners","loader","maintainFlex","margin","maxHeight","maxWidth","minButtonWidth","minHeight","minWidth","overCls","padding","placeholder","plugins","preventHeader","rbar","renderSelectors","renderTo","renderTpl","resizable","resizeHandles","saveBuffer","scroll","scrollDelta","shadow","sortableColumns","stateEvents","stateId","stateful","style","styleHtmlCls","styleHtmlContent","suspendLayout","tbar","titleCollapse","toFrontOnShow","tools","tpl","tplWriteMode","ui","width"],"properties":["centerClientWidth","dd","draggable","floatParent","frameSize","hasActiveFx","hasView","items","maskOnDisable","ownerCt","rendered","stopFx","zIndexManager"],"events":["activate","add","added","afterlayout","afterrender","beforeactivate","beforeadd","beforecardswitch","beforecontainerclick","beforecontainercontextmenu","beforecontainerdblclick","beforecontainermousedown","beforecontainermouseout","beforecontainermouseover","beforecontainermouseup","beforedeactivate","beforedestroy","beforehide","beforeitemclick","beforeitemcontextmenu","beforeitemdblclick","beforeitemmousedown","beforeitemmouseenter","beforeitemmouseleave","beforeitemmouseup","beforeremove","beforerender","beforeselect","beforeshow","beforestaterestore","beforestatesave","bodyresize","cardswitch","containerclick","containercontextmenu","containerdblclick","containermouseout","containermouseover","containermouseup","deactivate","destroy","disable","enable","hide","iconchange","itemclick","itemcontextmenu","itemdblclick","itemmousedown","itemmouseenter","itemmouseleave","itemmouseup","move","remove","removed","render","resize","scrollerhide","scrollershow","selectionchange","show","staterestore","statesave","titlechange"],"subclasses":["Ext.grid.property.Grid"]};
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/Panel2.html#Ext-grid.Panel" target="_blank">Ext.grid.Panel</a></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.panel.AbstractPanel.html" rel="Ext.panel.AbstractPanel" class="cls docClass">Ext.panel.AbstractPanel</a><div class="subclass"><a href="Ext.panel.Panel.html" rel="Ext.panel.Panel" class="cls docClass">Ext.panel.Panel</a><div class="subclass"><a href="Ext.panel.Table.html" rel="Ext.panel.Table" class="cls docClass">Ext.panel.Table</a><div class="subclass"><strong>Ext.grid.Panel</strong></div></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>Grids are an excellent way of showing large amounts of tabular data on the client side. Essentially a supercharged
38 <code>&lt;table&gt;</code>, GridPanel makes it easy to fetch, sort and filter large amounts of data.</p>
39
40 <p>Grids are composed of 2 main pieces - a <a href="Ext.data.Store.html" rel="Ext.data.Store" class="docClass">Store</a> full of data and a set of columns to render.</p>
41
42 <p><img class="screenshot" src="../Ext.grid.Panel1.png" alt="Ext.grid.Panel component" /></p>
43
44 <h2>Basic GridPanel</h2>
45
46 <pre class="prettyprint"><code>Ext.create('Ext.data.Store', {
47     storeId:'simpsonsStore',
48     fields:['name', 'email', 'phone'],
49     data:{'items':[
50         {"name":"Lisa", "email":"lisa@simpsons.com", "phone":"555-111-1224"},
51         {"name":"Bart", "email":"bart@simpsons.com", "phone":"555--222-1234"},
52         {"name":"Homer", "email":"home@simpsons.com", "phone":"555-222-1244"},                        
53         {"name":"Marge", "email":"marge@simpsons.com", "phone":"555-222-1254"}            
54     ]},
55     proxy: {
56         type: 'memory',
57         reader: {
58             type: 'json',
59             root: 'items'
60         }
61     }
62 });
63
64 Ext.create('Ext.grid.Panel', {
65     title: 'Simpsons',
66     store: Ext.data.StoreManager.lookup('simpsonsStore'),
67     columns: [
68         {header: 'Name',  dataIndex: 'name'},
69         {header: 'Email', dataIndex: 'email', flex:1},
70         {header: 'Phone', dataIndex: 'phone'}
71     ],
72     height: 200,
73     width: 400,
74     renderTo: Ext.getBody()
75 });
76 </code></pre>
77
78 <p>The code above produces a simple grid with three columns. We specified a Store which will load JSON data inline.
79 In most apps we would be placing the grid inside another container and wouldn't need to use the
80 <a href="Ext.grid.Panel.html#height" rel="Ext.grid.Panel#height" class="docClass">height</a>, <a href="Ext.grid.Panel.html#width" rel="Ext.grid.Panel#width" class="docClass">width</a> and <a href="Ext.grid.Panel.html#renderTo" rel="Ext.grid.Panel#renderTo" class="docClass">renderTo</a> configurations but they are included here to make it easy to get
81 up and running.</p>
82
83 <p>The grid we created above will contain a header bar with a title ('Simpsons'), a row of column headers directly underneath
84 and finally the grid rows under the headers.</p>
85
86 <h2>Configuring columns</h2>
87
88 <p>By default, each column is sortable and will toggle between ASC and DESC sorting when you click on its header. Each
89 column header is also reorderable by default, and each gains a drop-down menu with options to hide and show columns.
90 It's easy to configure each column - here we use the same example as above and just modify the columns config:</p>
91
92 <pre class="prettyprint"><code>columns: [
93     {
94         header: 'Name',
95         dataIndex: 'name',
96         sortable: false,
97         hideable: false,
98         flex: 1
99     },
100     {
101         header: 'Email',
102         dataIndex: 'email',
103         hidden: true
104     },
105     {
106         header: 'Phone',
107         dataIndex: 'phone',
108         width: 100
109     }
110 ]
111 </code></pre>
112
113 <p>We turned off sorting and hiding on the 'Name' column so clicking its header now has no effect. We also made the Email
114 column hidden by default (it can be shown again by using the menu on any other column). We also set the Phone column to
115 a fixed with of 100px and flexed the Name column, which means it takes up all remaining width after the other columns
116 have been accounted for. See the <a href="Ext.grid.column.Column.html" rel="Ext.grid.column.Column" class="docClass">column docs</a> for more details.</p>
117
118 <h2>Renderers</h2>
119
120 <p>As well as customizing columns, it's easy to alter the rendering of individual cells using renderers. A renderer is
121 tied to a particular column and is passed the value that would be rendered into each cell in that column. For example,
122 we could define a renderer function for the email column to turn each email address into a mailto link:</p>
123
124 <pre class="prettyprint"><code>columns: [
125     {
126         header: 'Email',
127         dataIndex: 'email',
128         renderer: function(value) {
129             return Ext.String.format('&lt;a href="mailto:{0}"&gt;{1}&lt;/a&gt;', value, value);
130         }
131     }
132 ]
133 </code></pre>
134
135 <p>See the <a href="Ext.grid.column.Column.html" rel="Ext.grid.column.Column" class="docClass">column docs</a> for more information on renderers.</p>
136
137 <h2>Selection Models</h2>
138
139 <p>Sometimes all you want is to render data onto the screen for viewing, but usually it's necessary to interact with or
140 update that data. Grids use a concept called a Selection Model, which is simply a mechanism for selecting some part of
141 the data in the grid. The two main types of Selection Model are RowSelectionModel, where entire rows are selected, and
142 CellSelectionModel, where individual cells are selected.</p>
143
144 <p>Grids use a Row Selection Model by default, but this is easy to customise like so:</p>
145
146 <pre class="prettyprint"><code>Ext.create('Ext.grid.Panel', {
147     selType: 'cellmodel',
148     store: ...
149 });
150 </code></pre>
151
152 <p>Specifying the <code>cellmodel</code> changes a couple of things. Firstly, clicking on a cell now
153 selects just that cell (using a <a href="Ext.selection.RowModel.html" rel="Ext.selection.RowModel" class="docClass">rowmodel</a> will select the entire row), and secondly the
154 keyboard navigation will walk from cell to cell instead of row to row. Cell-based selection models are usually used in
155 conjunction with editing.</p>
156
157 <p><img class="screenshot" src="../Ext.grid.Panel2.png" alt="Ext.grid.Panel cell editing" /></p>
158
159 <h2>Editing</h2>
160
161 <p>Grid has built-in support for in-line editing. There are two chief editing modes - cell editing and row editing. Cell
162 editing is easy to add to your existing column setup - here we'll just modify the example above to include an editor
163 on both the name and the email columns:</p>
164
165 <pre class="prettyprint"><code>Ext.create('Ext.grid.Panel', {
166     title: 'Simpsons',
167     store: Ext.data.StoreManager.lookup('simpsonsStore'),
168     columns: [
169         {header: 'Name',  dataIndex: 'name', field: 'textfield'},
170         {header: 'Email', dataIndex: 'email', flex:1, 
171             field:{
172                 xtype:'textfield',
173                 allowBlank:false
174             }
175         },
176         {header: 'Phone', dataIndex: 'phone'}
177     ],
178     selType: 'cellmodel',
179     plugins: [
180         Ext.create('Ext.grid.plugin.CellEditing', {
181             clicksToEdit: 1
182         })
183     ],
184     height: 200,
185     width: 400,
186     renderTo: Ext.getBody()
187 });
188 </code></pre>
189
190 <p>This requires a little explanation. We're passing in <a href="Ext.grid.Panel.html#store" rel="Ext.grid.Panel#store" class="docClass">store</a> and <a href="Ext.grid.Panel.html#columns" rel="Ext.grid.Panel#columns" class="docClass">columns</a> as normal, but
191 this time we've also specified a <a href="Ext.grid.Panel.html#field" rel="Ext.grid.Panel#field" class="docClass">field</a> on two of our columns. For the Name column we just want a default
192 textfield to edit the value, so we specify 'textfield'. For the Email column we customized the editor slightly by
193 passing allowBlank: false, which will provide inline validation.</p>
194
195 <p>To support cell editing, we also specified that the grid should use the 'cellmodel' <a href="Ext.grid.Panel.html#selType" rel="Ext.grid.Panel#selType" class="docClass">selType</a>, and created an
196 instance of the <a href="Ext.grid.plugin.CellEditing.html" rel="Ext.grid.plugin.CellEditing" class="docClass">CellEditing plugin</a>, which we configured to activate each editor after a
197 single click.</p>
198
199 <p><img class="screenshot" src="../Ext.grid.Panel3.png" alt="Ext.grid.Panel row editing" /></p>
200
201 <h2>Row Editing</h2>
202
203 <p>The other type of editing is row-based editing, using the RowEditor component. This enables you to edit an entire row
204 at a time, rather than editing cell by cell. Row Editing works in exactly the same way as cell editing, all we need to
205 do is change the plugin type to <a href="Ext.grid.plugin.RowEditing.html" rel="Ext.grid.plugin.RowEditing" class="docClass">Ext.grid.plugin.RowEditing</a>, and set the selType to 'rowmodel':</p>
206
207 <pre class="prettyprint"><code>Ext.create('Ext.grid.Panel', {
208     title: 'Simpsons',
209     store: Ext.data.StoreManager.lookup('simpsonsStore'),
210     columns: [
211         {header: 'Name',  dataIndex: 'name', field: 'textfield'},
212         {header: 'Email', dataIndex: 'email', flex:1, 
213             field:{
214                 xtype:'textfield',
215                 allowBlank:false
216             }
217         },
218         {header: 'Phone', dataIndex: 'phone'}
219     ],
220     selType: 'rowmodel',
221     plugins: [
222         Ext.create('Ext.grid.plugin.RowEditing', {
223             clicksToEdit: 1
224         })
225     ],
226     height: 200,
227     width: 400,
228     renderTo: Ext.getBody()
229 });
230 </code></pre>
231
232 <p>Again we passed some configuration to our <a href="Ext.grid.plugin.RowEditing.html" rel="Ext.grid.plugin.RowEditing" class="docClass">Ext.grid.plugin.RowEditing</a> plugin, and now when we click each row a row
233 editor will appear and enable us to edit each of the columns we have specified an editor for.</p>
234
235 <h2>Sorting &amp; Filtering</h2>
236
237 <p>Every grid is attached to a <a href="Ext.data.Store.html" rel="Ext.data.Store" class="docClass">Store</a>, which provides multi-sort and filtering capabilities. It's
238 easy to set up a grid to be sorted from the start:</p>
239
240 <pre class="prettyprint"><code>var myGrid = Ext.create('Ext.grid.Panel', {
241     store: {
242         fields: ['name', 'email', 'phone'],
243         sorters: ['name', 'phone']
244     },
245     columns: [
246         {text: 'Name',  dataIndex: 'name'},
247         {text: 'Email', dataIndex: 'email'}
248     ]
249 });
250 </code></pre>
251
252 <p>Sorting at run time is easily accomplished by simply clicking each column header. If you need to perform sorting on
253 more than one field at run time it's easy to do so by adding new sorters to the store:</p>
254
255 <pre class="prettyprint"><code>myGrid.store.sort([
256     {property: 'name',  direction: 'ASC'},
257     {property: 'email', direction: 'DESC'},
258 ]);
259 </code></pre>
260
261 <p><img class="screenshot" src="../Ext.grid.Panel4.png" alt="Ext.grid.Panel grouping" /></p>
262
263 <h2>Grouping</h2>
264
265 <p>Grid supports the grouping of rows by any field. For example if we had a set of employee records, we might want to
266 group by the department that each employee works in. Here's how we might set that up:</p>
267
268 <pre class="prettyprint"><code>var store = Ext.create('Ext.data.Store', {
269     storeId:'employeeStore',
270     fields:['name', 'senority', 'department'],
271     groupField: 'department',
272     data:{'employees':[
273         {"name":"Michael Scott", "senority":7, "department":"Manangement"},
274         {"name":"Dwight Schrute", "senority":2, "department":"Sales"},
275         {"name":"Jim Halpert", "senority":3, "department":"Sales"},
276         {"name":"Kevin Malone", "senority":4, "department":"Accounting"},
277         {"name":"Angela Martin", "senority":5, "department":"Accounting"}                        
278     ]},
279     proxy: {
280         type: 'memory',
281         reader: {
282             type: 'json',
283             root: 'employees'
284         }
285     }
286 });
287
288 Ext.create('Ext.grid.Panel', {
289     title: 'Employees',
290     store: Ext.data.StoreManager.lookup('employeeStore'),
291     columns: [
292         {header: 'Name',  dataIndex: 'name'},
293         {header: 'Senority', dataIndex: 'senority'}
294     ],        
295     features: [{ftype:'grouping'}],
296     width: 200,
297     height: 275,
298     renderTo: Ext.getBody()
299 });
300 </code></pre>
301
302 <h2>Infinite Scrolling</h2>
303
304 <p>Grid supports infinite scrolling as an alternative to using a paging toolbar. Your users can scroll through thousands
305 of records without the performance penalties of renderering all the records on screen at once. The grid should be bound
306 to a store with a pageSize specified.</p>
307
308 <pre class="prettyprint"><code>var grid = Ext.create('Ext.grid.Panel', {
309     // Use a PagingGridScroller (this is interchangeable with a PagingToolbar)
310     verticalScrollerType: 'paginggridscroller',
311     // do not reset the scrollbar when the view refreshs
312     invalidateScrollerOnRefresh: false,
313     // infinite scrolling does not support selection
314     disableSelection: true,
315     // ...
316 });
317 </code></pre>
318
319 <h2>Paging</h2>
320
321 <p>Grid supports paging through large sets of data via a PagingToolbar or PagingGridScroller (see the Infinite Scrolling section above).
322 To leverage paging via a toolbar or scroller, you need to set a pageSize configuration on the Store.</p>
323
324 <pre class="prettyprint"><code>var itemsPerPage = 2;   // set the number of items you want per page
325
326 var store = Ext.create('Ext.data.Store', {
327     id:'simpsonsStore',
328     autoLoad: false,
329     fields:['name', 'email', 'phone'],
330     pageSize: itemsPerPage, // items per page
331     proxy: {
332         type: 'ajax',
333         url: 'pagingstore.js',  // url that will load data with respect to start and limit params
334         reader: {
335             type: 'json',
336             root: 'items',
337             totalProperty: 'total'
338         }
339     }
340 });
341
342 // specify segment of data you want to load using params
343 store.load({
344     params:{
345         start:0,    
346         limit: itemsPerPage
347     }
348 });
349
350 Ext.create('Ext.grid.Panel', {
351     title: 'Simpsons',
352     store: store,
353     columns: [
354         {header: 'Name',  dataIndex: 'name'},
355         {header: 'Email', dataIndex: 'email', flex:1},
356         {header: 'Phone', dataIndex: 'phone'}
357     ],
358     width: 400,
359     height: 125,
360     dockedItems: [{
361         xtype: 'pagingtoolbar',
362         store: store,   // same store GridPanel is using
363         dock: 'bottom',
364         displayInfo: true
365     }],
366     renderTo: Ext.getBody()
367 }); 
368 </code></pre>
369
370 <p><img class="screenshot" src="../Ext.grid.Panel5.png" alt="Ext.grid.Panel grouping" /></p>
371 <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.Panel.html#config-baseCls" rel="config-baseCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-cfg-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.grid.Panel.html#" rel="config-baseCls" class="cls expand">baseCls</a><span> : String</span></div><div class="description"><div class="short"><p>The base CSS class to apply to this panel's element (defaults to <code>'x-panel'</code>).</p>
372 </div><div class="long"><p>The base CSS class to apply to this panel's element (defaults to <code>'x-panel'</code>).</p>
373 </div></div></div><div id="config-bodyCls" class="member inherited"><a href="Ext.grid.Panel.html#config-bodyCls" rel="config-bodyCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-cfg-bodyCls" class="viewSource">view source</a></div><a name="bodyCls"></a><a name="config-bodyCls"></a><a href="Ext.grid.Panel.html#" rel="config-bodyCls" class="cls expand">bodyCls</a><span> : String/Array</span></div><div class="description"><div class="short">A CSS class, space-delimited string of classes, or array of classes to be applied to the panel's body element.
374 The fo...</div><div class="long"><p>A CSS class, space-delimited string of classes, or array of classes to be applied to the panel's body element.
375 The following examples are all valid:</p>
376
377 <pre><code>bodyCls: 'foo'
378 bodyCls: 'foo bar'
379 bodyCls: ['foo', 'bar']
380 </code></pre>
381
382 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
383 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
384 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
385 </div></div></div><div id="config-collapsedCls" class="member inherited"><a href="Ext.grid.Panel.html#config-collapsedCls" rel="config-collapsedCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapsedCls" class="viewSource">view source</a></div><a name="collapsedCls"></a><a name="config-collapsedCls"></a><a href="Ext.grid.Panel.html#" rel="config-collapsedCls" class="cls expand">collapsedCls</a><span> : String</span></div><div class="description"><div class="short"><p>A CSS class to add to the panel&#39;s element after it has been collapsed (defaults to
386 <code>'collapsed'</code>).</p>
387 </div><div class="long"><p>A CSS class to add to the panel&#39;s element after it has been collapsed (defaults to
388 <code>'collapsed'</code>).</p>
389 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
390 via styling.</p>
391 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
392 via styling.</p>
393 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
394 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
395 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
396 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
397 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
398 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
399 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
400 Defaults to 'x-html'</p>
401 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
402 Defaults to 'x-html'</p>
403 </div></div></div><h4 class="cfgGroup">Other Configs</h4><div id="config-activeItem" class="member f inherited"><a href="Ext.grid.Panel.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.Panel.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
404 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
405 container's layout on render.  For example, activeItem: 'item-1' or activeItem: 0 (index 0 = the first
406 item in the container's collection).  activeItem only applies to layout styles that can display
407 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>
408 </div></div></div><div id="config-animCollapse" class="member inherited"><a href="Ext.grid.Panel.html#config-animCollapse" rel="config-animCollapse" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-animCollapse" class="viewSource">view source</a></div><a name="animCollapse"></a><a name="config-animCollapse"></a><a href="Ext.grid.Panel.html#" rel="config-animCollapse" class="cls expand">animCollapse</a><span> : Boolean</span></div><div class="description"><div class="short">true to animate the transition when the panel is collapsed, false to skip the
409 animation (defaults to true if the Ext....</div><div class="long"><p><code>true</code> to animate the transition when the panel is collapsed, <code>false</code> to skip the
410 animation (defaults to <code>true</code> if the <a href="Ext.fx.Anim.html" rel="Ext.fx.Anim" class="docClass">Ext.fx.Anim</a> class is available, otherwise <code>false</code>).
411 May also be specified as the animation duration in milliseconds.</p>
412 </div></div></div><div id="config-autoDestroy" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
413 destruction mu...</div><div class="long"><p>If true the container will automatically destroy any contained component that is removed from it, else
414 destruction must be handled manually.
415 Defaults to true.</p>
416 </div></div></div><div id="config-autoEl" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
417 encapsulate this Component.
418
419
420 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.Panel.html#getEl" rel="Ext.grid.Panel#getEl" class="docClass">Element</a> which will
421 encapsulate this Component.</p>
422
423
424 <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>,
425 this defaults to <b><tt>'div'</tt></b>. The more complex Sencha classes use a more complex
426 DOM structure specified by their own <a href="Ext.grid.Panel.html#renderTpl" rel="Ext.grid.Panel#renderTpl" class="docClass">renderTpl</a>s.</p>
427
428
429 <p>This is intended to allow the developer to create application-specific utility Components encapsulated by
430 different DOM elements. Example usage:</p>
431
432
433 <pre><code>{
434     xtype: 'component',
435     autoEl: {
436         tag: 'img',
437         src: 'http://www.example.com/example.jpg'
438     }
439 }, {
440     xtype: 'component',
441     autoEl: {
442         tag: 'blockquote',
443         html: 'autoEl is cool!'
444     }
445 }, {
446     xtype: 'container',
447     autoEl: 'ul',
448     cls: 'ux-unordered-list',
449     items: {
450         xtype: 'component',
451         autoEl: 'li',
452         html: 'First list item'
453     }
454 }
455 </code></pre>
456
457 </div></div></div><div id="config-autoRender" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
458 of using renderTo in th...</div><div class="long"><p>This config is intended mainly for <a href="Ext.grid.Panel.html#floating" rel="Ext.grid.Panel#floating" class="docClass">floating</a> Components which may or may not be shown. Instead
459 of using <a href="Ext.grid.Panel.html#renderTo" rel="Ext.grid.Panel#renderTo" class="docClass">renderTo</a> in the configuration, and rendering upon construction, this allows a Component
460 to render itself upon first <i><a href="Ext.grid.Panel.html#show" rel="Ext.grid.Panel#show" class="docClass">show</a></i>.</p>
461
462
463 <p>Specify as <code>true</code> to have this Component render to the document body upon first show.</p>
464
465
466 <p>Specify as an element, or the ID of an element to have this Component render to a specific element upon first show.</p>
467
468
469 <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>
470
471 </div></div></div><div id="config-autoScroll" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
472 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
473 necessary, <code>false</code> to clip any overflowing content (defaults to <code>false</code>).</p>
474 </div></div></div><div id="config-autoShow" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
475 This config option may only be used for floating components o...</div><div class="long"><p>True to automatically show the component upon creation.
476 This config option may only be used for <a href="Ext.grid.Panel.html#floating" rel="Ext.grid.Panel#floating" class="docClass">floating</a> components or components
477 that use <a href="Ext.grid.Panel.html#autoRender" rel="Ext.grid.Panel#autoRender" class="docClass">autoRender</a>. Defaults to <tt>false</tt>.</p>
478 </div></div></div><div id="config-baseCls" class="member inherited"><a href="Ext.grid.Panel.html#config-baseCls" rel="config-baseCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-cfg-baseCls" class="viewSource">view source</a></div><a name="baseCls"></a><a name="config-baseCls"></a><a href="Ext.grid.Panel.html#" rel="config-baseCls" class="cls expand">baseCls</a><span> : String</span></div><div class="description"><div class="short"><p>The base CSS class to apply to this panel's element (defaults to <code>'x-panel'</code>).</p>
479 </div><div class="long"><p>The base CSS class to apply to this panel's element (defaults to <code>'x-panel'</code>).</p>
480 </div></div></div><div id="config-bbar" class="member inherited"><a href="Ext.grid.Panel.html#config-bbar" rel="config-bbar" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-bbar" class="viewSource">view source</a></div><a name="bbar"></a><a name="config-bbar"></a><a href="Ext.grid.Panel.html#" rel="config-bbar" class="cls expand">bbar</a><span> : Object/Array</span></div><div class="description"><div class="short">Convenience method. Short for 'Bottom Bar'.
481
482 bbar: [
483   { xtype: 'button', text: 'Button 1' }
484 ]
485
486
487 is equivalent to
488
489 do...</div><div class="long"><p>Convenience method. Short for 'Bottom Bar'.</p>
490
491 <pre><code>bbar: [
492   { xtype: 'button', text: 'Button 1' }
493 ]
494 </code></pre>
495
496 <p>is equivalent to</p>
497
498 <pre><code>dockedItems: [{
499     xtype: 'toolbar',
500     dock: 'bottom',
501     items: [
502         { xtype: 'button', text: 'Button 1' }
503     ]
504 }]
505 </code></pre>
506 </div></div></div><div id="config-bodyBorder" class="member inherited"><a href="Ext.grid.Panel.html#config-bodyBorder" rel="config-bodyBorder" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-cfg-bodyBorder" class="viewSource">view source</a></div><a name="bodyBorder"></a><a name="config-bodyBorder"></a><a href="Ext.grid.Panel.html#" rel="config-bodyBorder" class="cls expand">bodyBorder</a><span> : Boolean</span></div><div class="description"><div class="short">A shortcut to add or remove the border on the body of a panel. This only applies to a panel which has the frame confi...</div><div class="long"><p>A shortcut to add or remove the border on the body of a panel. This only applies to a panel which has the <a href="Ext.grid.Panel.html#frame" rel="Ext.grid.Panel#frame" class="docClass">frame</a> configuration set to <code>true</code>.
507 Defaults to <code>undefined</code>.</p>
508 </div></div></div><div id="config-bodyCls" class="member inherited"><a href="Ext.grid.Panel.html#config-bodyCls" rel="config-bodyCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-cfg-bodyCls" class="viewSource">view source</a></div><a name="bodyCls"></a><a name="config-bodyCls"></a><a href="Ext.grid.Panel.html#" rel="config-bodyCls" class="cls expand">bodyCls</a><span> : String/Array</span></div><div class="description"><div class="short">A CSS class, space-delimited string of classes, or array of classes to be applied to the panel's body element.
509 The fo...</div><div class="long"><p>A CSS class, space-delimited string of classes, or array of classes to be applied to the panel's body element.
510 The following examples are all valid:</p>
511
512 <pre><code>bodyCls: 'foo'
513 bodyCls: 'foo bar'
514 bodyCls: ['foo', 'bar']
515 </code></pre>
516
517 </div></div></div><div id="config-bodyPadding" class="member inherited"><a href="Ext.grid.Panel.html#config-bodyPadding" rel="config-bodyPadding" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-cfg-bodyPadding" class="viewSource">view source</a></div><a name="bodyPadding"></a><a name="config-bodyPadding"></a><a href="Ext.grid.Panel.html#" rel="config-bodyPadding" class="cls expand">bodyPadding</a><span> : Number/String</span></div><div class="description"><div class="short">A shortcut for setting a padding style on the body element. The value can either be
518 a number to be applied to all sid...</div><div class="long"><p>A shortcut for setting a padding style on the body element. The value can either be
519 a number to be applied to all sides, or a normal css string describing padding.
520 Defaults to <code>undefined</code>.</p>
521 </div></div></div><div id="config-bodyStyle" class="member inherited"><a href="Ext.grid.Panel.html#config-bodyStyle" rel="config-bodyStyle" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-cfg-bodyStyle" class="viewSource">view source</a></div><a name="bodyStyle"></a><a name="config-bodyStyle"></a><a href="Ext.grid.Panel.html#" rel="config-bodyStyle" class="cls expand">bodyStyle</a><span> : String/Object/Function</span></div><div class="description"><div class="short">Custom CSS styles to be applied to the panel's body element, which can be supplied as a valid CSS style string,
522 an ob...</div><div class="long"><p>Custom CSS styles to be applied to the panel's body element, which can be supplied as a valid CSS style string,
523 an object containing style property name/value pairs or a function that returns such a string or object.
524 For example, these two formats are interpreted to be equivalent:</p>
525
526 <pre><code>bodyStyle: 'background:#ffc; padding:10px;'
527
528 bodyStyle: {
529     background: '#ffc',
530     padding: '10px'
531 }
532 </code></pre>
533
534 </div></div></div><div id="config-border" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
535 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
536 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
537 </div></div></div><div id="config-bubbleEvents" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
538 See Ext.util.Observable.enableBubble....</div><div class="long"><p>An array of events that, when fired, should be bubbled to any parent container.
539 See <a href="Ext.util.Observable.html#enableBubble" rel="Ext.util.Observable#enableBubble" class="docClass">Ext.util.Observable.enableBubble</a>.
540 Defaults to <code>['add', 'remove']</code>.
541
542 </div></div></div><div id="config-buttons" class="member inherited"><a href="Ext.grid.Panel.html#config-buttons" rel="config-buttons" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-buttons" class="viewSource">view source</a></div><a name="buttons"></a><a name="config-buttons"></a><a href="Ext.grid.Panel.html#" rel="config-buttons" class="cls expand">buttons</a><span> : Object/Array</span></div><div class="description"><div class="short">Convenience method used for adding buttons docked to the bottom right of the panel. This is a
543 synonym for the fbar co...</div><div class="long"><p>Convenience method used for adding buttons docked to the bottom right of the panel. This is a
544 synonym for the <a href="Ext.grid.Panel.html#fbar" rel="Ext.grid.Panel#fbar" class="docClass">fbar</a> config.</p>
545
546 <pre><code>buttons: [
547   { text: 'Button 1' }
548 ]
549 </code></pre>
550
551 <p>is equivalent to</p>
552
553 <pre><code>dockedItems: [{
554     xtype: 'toolbar',
555     dock: 'bottom',
556     defaults: {minWidth: <a href="Ext.grid.Panel.html#minButtonWidth" rel="Ext.grid.Panel#minButtonWidth" class="docClass">minButtonWidth</a>},
557     items: [
558         { xtype: 'component', flex: 1 },
559         { xtype: 'button', text: 'Button 1' }
560     ]
561 }]
562 </code></pre>
563
564 <p>The <a href="Ext.grid.Panel.html#minButtonWidth" rel="Ext.grid.Panel#minButtonWidth" class="docClass">minButtonWidth</a> is used as the default <a href="Ext.button.Button.html#minWidth" rel="Ext.button.Button#minWidth" class="docClass">minWidth</a> for
565 each of the buttons in the buttons toolbar.</p>
566 </div></div></div><div id="config-closable" class="member inherited"><a href="Ext.grid.Panel.html#config-closable" rel="config-closable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-closable" class="viewSource">view source</a></div><a name="closable"></a><a name="config-closable"></a><a href="Ext.grid.Panel.html#" rel="config-closable" class="cls expand">closable</a><span> : Boolean</span></div><div class="description"><div class="short">True to display the 'close' tool button and allow the user to close the window, false to
567 hide the button and disallow...</div><div class="long"><p>True to display the 'close' tool button and allow the user to close the window, false to
568 hide the button and disallow closing the window (defaults to <code>false</code>).</p>
569
570
571 <p>By default, when close is requested by clicking the close button in the header, the <a href="Ext.grid.Panel.html#close" rel="Ext.grid.Panel#close" class="docClass">close</a>
572 method will be called. This will <i><a href="Ext.Component.html#destroy" rel="Ext.Component#destroy" class="docClass">destroy</a></i> the Panel and its content
573 meaning that it may not be reused.</p>
574
575
576 <p>To make closing a Panel <i>hide</i> the Panel so that it may be reused, set
577 <a href="Ext.grid.Panel.html#closeAction" rel="Ext.grid.Panel#closeAction" class="docClass">closeAction</a> to 'hide'.</p>
578
579 </div></div></div><div id="config-closeAction" class="member inherited"><a href="Ext.grid.Panel.html#config-closeAction" rel="config-closeAction" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-closeAction" class="viewSource">view source</a></div><a name="closeAction"></a><a name="config-closeAction"></a><a href="Ext.grid.Panel.html#" rel="config-closeAction" class="cls expand">closeAction</a><span> : String</span></div><div class="description"><div class="short">The action to take when the close header tool is clicked:
580
581 'destroy' : Default
582 remove the window from the DOM and des...</div><div class="long"><p>The action to take when the close header tool is clicked:
583 <div class="mdetail-params"><ul>
584 <li><b><code>'<a href="Ext.grid.Panel.html#destroy" rel="Ext.grid.Panel#destroy" class="docClass">destroy</a>'</code></b> : <b>Default</b><div class="sub-desc">
585 <a href="Ext.grid.Panel.html#destroy" rel="Ext.grid.Panel#destroy" class="docClass">remove</a> the window from the DOM and <a href="Ext.Component.html#destroy" rel="Ext.Component#destroy" class="docClass">destroy</a>
586 it and all descendant Components. The window will <b>not</b> be available to be
587 redisplayed via the <a href="Ext.grid.Panel.html#show" rel="Ext.grid.Panel#show" class="docClass">show</a> method.
588 </div></li>
589 <li><b><code>'<a href="Ext.grid.Panel.html#hide" rel="Ext.grid.Panel#hide" class="docClass">hide</a>'</code></b> : <div class="sub-desc">
590 <a href="Ext.grid.Panel.html#hide" rel="Ext.grid.Panel#hide" class="docClass">hide</a> the window by setting visibility to hidden and applying negative offsets.
591 The window will be available to be redisplayed via the <a href="Ext.grid.Panel.html#show" rel="Ext.grid.Panel#show" class="docClass">show</a> method.
592 </div></li>
593 </ul></div>
594 <p><b>Note:</b> This behavior has changed! setting *does* affect the <a href="Ext.grid.Panel.html#close" rel="Ext.grid.Panel#close" class="docClass">close</a> method
595 which will invoke the approriate closeAction.
596
597 </div></div></div><div id="config-cls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
598 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
599 useful for adding customized styles to the component or any of its children using standard CSS rules.</p>
600 </div></div></div><div id="config-collapseDirection" class="member inherited"><a href="Ext.grid.Panel.html#config-collapseDirection" rel="config-collapseDirection" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapseDirection" class="viewSource">view source</a></div><a name="collapseDirection"></a><a name="config-collapseDirection"></a><a href="Ext.grid.Panel.html#" rel="config-collapseDirection" class="cls expand">collapseDirection</a><span> : Boolean</span></div><div class="description"><div class="short">The direction to collapse the Panel when the toggle button is clicked.
601
602
603 Defaults to the headerPosition
604
605
606 Important: ...</div><div class="long"><p>The direction to collapse the Panel when the toggle button is clicked.</p>
607
608
609 <p>Defaults to the <a href="Ext.grid.Panel.html#headerPosition" rel="Ext.grid.Panel#headerPosition" class="docClass">headerPosition</a></p>
610
611
612 <p><b>Important: This config is <u>ignored</u> for <a href="Ext.grid.Panel.html#collapsible" rel="Ext.grid.Panel#collapsible" class="docClass">collapsible</a> Panels which are direct child items of a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>.</b></p>
613
614
615 <p>Specify as <code>'top'</code>, <code>'bottom'</code>, <code>'left'</code> or <code>'right'</code>.</p>
616
617 </div></div></div><div id="config-collapseFirst" class="member inherited"><a href="Ext.grid.Panel.html#config-collapseFirst" rel="config-collapseFirst" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapseFirst" class="viewSource">view source</a></div><a name="collapseFirst"></a><a name="config-collapseFirst"></a><a href="Ext.grid.Panel.html#" rel="config-collapseFirst" class="cls expand">collapseFirst</a><span> : Boolean</span></div><div class="description"><div class="short">true to make sure the collapse/expand toggle button always renders first (to the left of)
618 any other tools in the pane...</div><div class="long"><p><code>true</code> to make sure the collapse/expand toggle button always renders first (to the left of)
619 any other tools in the panel&#39;s title bar, <code>false</code> to render it last (defaults to <code>true</code>).</p>
620 </div></div></div><div id="config-collapseMode" class="member inherited"><a href="Ext.grid.Panel.html#config-collapseMode" rel="config-collapseMode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapseMode" class="viewSource">view source</a></div><a name="collapseMode"></a><a name="config-collapseMode"></a><a href="Ext.grid.Panel.html#" rel="config-collapseMode" class="cls expand">collapseMode</a><span> : String</span></div><div class="description"><div class="short">Important: this config is only effective for collapsible Panels which are direct child items of a border layout.
621
622
623 Wh...</div><div class="long"><p><b>Important: this config is only effective for <a href="Ext.grid.Panel.html#collapsible" rel="Ext.grid.Panel#collapsible" class="docClass">collapsible</a> Panels which are direct child items of a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>.</b></p>
624
625
626 <p>When <i>not</i> a direct child item of a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>, then the Panel&#39;s header remains visible, and the body is collapsed to zero dimensions.
627 If the Panel has no header, then a new header (orientated correctly depending on the <a href="Ext.grid.Panel.html#collapseDirection" rel="Ext.grid.Panel#collapseDirection" class="docClass">collapseDirection</a>) will be inserted to show a the title and a re-expand tool.</p>
628
629
630 <p>When a child item of a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>, this config has two options:
631 <div class="mdetail-params"><ul>
632 <li><b><code>undefined/omitted</code></b><div class="sub-desc">When collapsed, a placeholder <a href="Ext.panel.Header.html" rel="Ext.panel.Header" class="docClass">Header</a> is injected into the layout to represent the Panel
633 and to provide a UI with a Tool to allow the user to re-expand the Panel.</div></li>
634 <li><b><code>header</code></b> : <div class="sub-desc">The Panel collapses to leave its header visible as when not inside a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>.</div></li>
635 </ul></div></p>
636
637 </div></div></div><div id="config-collapsed" class="member inherited"><a href="Ext.grid.Panel.html#config-collapsed" rel="config-collapsed" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapsed" class="viewSource">view source</a></div><a name="collapsed"></a><a name="config-collapsed"></a><a href="Ext.grid.Panel.html#" rel="config-collapsed" class="cls expand">collapsed</a><span> : Boolean</span></div><div class="description"><div class="short"><p><code>true</code> to render the panel collapsed, <code>false</code> to render it expanded (defaults to
638 <code>false</code>).</p>
639 </div><div class="long"><p><code>true</code> to render the panel collapsed, <code>false</code> to render it expanded (defaults to
640 <code>false</code>).</p>
641 </div></div></div><div id="config-collapsedCls" class="member inherited"><a href="Ext.grid.Panel.html#config-collapsedCls" rel="config-collapsedCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapsedCls" class="viewSource">view source</a></div><a name="collapsedCls"></a><a name="config-collapsedCls"></a><a href="Ext.grid.Panel.html#" rel="config-collapsedCls" class="cls expand">collapsedCls</a><span> : String</span></div><div class="description"><div class="short"><p>A CSS class to add to the panel&#39;s element after it has been collapsed (defaults to
642 <code>'collapsed'</code>).</p>
643 </div><div class="long"><p>A CSS class to add to the panel&#39;s element after it has been collapsed (defaults to
644 <code>'collapsed'</code>).</p>
645 </div></div></div><div id="config-collapsible" class="member inherited"><a href="Ext.grid.Panel.html#config-collapsible" rel="config-collapsible" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-collapsible" class="viewSource">view source</a></div><a name="collapsible"></a><a name="config-collapsible"></a><a href="Ext.grid.Panel.html#" rel="config-collapsible" class="cls expand">collapsible</a><span> : Boolean</span></div><div class="description"><div class="short">True to make the panel collapsible and have an expand/collapse toggle Tool added into
646 the header tool button area. Fa...</div><div class="long"><p>True to make the panel collapsible and have an expand/collapse toggle Tool added into
647 the header tool button area. False to keep the panel sized either statically, or by an owning layout manager, with no toggle Tool (defaults to false).</p>
648
649
650 <p>See <a href="Ext.grid.Panel.html#collapseMode" rel="Ext.grid.Panel#collapseMode" class="docClass">collapseMode</a> and <a href="Ext.grid.Panel.html#collapseDirection" rel="Ext.grid.Panel#collapseDirection" class="docClass">collapseDirection</a></p>
651 </div></div></div><div id="config-columnLines" class="member ni"><a href="Ext.grid.Panel.html#config-columnLines" rel="config-columnLines" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.grid.Panel.html" class="definedIn docClass">Ext.grid.Panel</a><br/><a href="../source/Panel2.html#Ext-grid.Panel-cfg-columnLines" class="viewSource">view source</a></div><a name="columnLines"></a><a name="config-columnLines"></a><a href="Ext.grid.Panel.html#" rel="config-columnLines" class="cls expand">columnLines</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Adds column line styling</p>
652 </div><div class="long"><p>Adds column line styling</p>
653 </div></div></div><div id="config-columns" class="member inherited"><a href="Ext.grid.Panel.html#config-columns" rel="config-columns" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-cfg-columns" class="viewSource">view source</a></div><a name="columns"></a><a name="config-columns"></a><a href="Ext.grid.Panel.html#" rel="config-columns" class="cls expand">columns</a><span> : Array</span></div><div class="description"><div class="short">An array of column definition objects which define all columns that appear in this grid. Each
654 column definition provi...</div><div class="long"><p>An array of <a href="Ext.grid.column.Column.html" rel="Ext.grid.column.Column" class="docClass">column</a> definition objects which define all columns that appear in this grid. Each
655 column definition provides the header text for the column, and a definition of where the data for that column comes from.</p>
656 </div></div></div><div id="config-componentCls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
657 via styling.</p>
658 </div><div class="long"><p>CSS Class to be added to a components root level element to give distinction to it
659 via styling.</p>
660 </div></div></div><div id="config-componentLayout" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
661 the Component's layout manager...</div><div class="long"><p>The sizing and positioning of a Component's internal Elements is the responsibility of
662 the Component's layout manager which sizes a Component's internal structure in response to the Component being sized.</p>
663
664
665 <p>Generally, developers will not use this configuration as all provided Components which need their internal
666 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>
667
668
669 <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
670 which simply sizes the Component's encapsulating element to the height and width specified in the <a href="Ext.grid.Panel.html#setSize" rel="Ext.grid.Panel#setSize" class="docClass">setSize</a> method.</p>
671
672 </div></div></div><div id="config-contentEl" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
673 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
674 for this component.</p>
675
676
677 <ul>
678 <li><b>Description</b> :
679 <div class="sub-desc">This config option is used to take an existing HTML element and place it in the layout element
680 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>
681 <li><b>Notes</b> :
682 <div class="sub-desc">The specified HTML element is appended to the layout element of the component <i>after any configured
683 <a href="Ext.grid.Panel.html#html" rel="Ext.grid.Panel#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.Panel.html#render" rel="Ext.grid.Panel#render" class="docClass">render</a> event is fired.</div>
684 <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>
685 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>
686 <div class="sub-desc">Add either the <code>x-hidden</code> or the <code>x-hide-display</code> CSS class to
687 prevent a brief flicker of the content before it is rendered to the panel.</div></li>
688 </ul>
689
690 </div></div></div><div id="config-data" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.Panel.html#tpl" rel="Ext.grid.Panel#tpl" class="docClass">tpl</a></code> to
691 update the content area of the Component.</p>
692 </div><div class="long"><p>The initial set of data to apply to the <code><a href="Ext.grid.Panel.html#tpl" rel="Ext.grid.Panel#tpl" class="docClass">tpl</a></code> to
693 update the content area of the Component.</p>
694 </div></div></div><div id="config-defaultType" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
695 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
696 a child item is specified as a raw configuration object, rather than as an instantiated Component.</p>
697
698
699 <p>Defaults to <code>'panel'</code>.</p>
700
701 </div></div></div><div id="config-defaults" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
702 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.Panel.html#items" rel="Ext.grid.Panel#items" class="docClass">items</a>
703 config or via the <a href="Ext.grid.Panel.html#add" rel="Ext.grid.Panel#add" class="docClass">add</a> or <a href="Ext.grid.Panel.html#insert" rel="Ext.grid.Panel#insert" class="docClass">insert</a> methods.</p>
704
705
706 <p>If an added item is a config object, and <b>not</b> an instantiated Component, then the default properties are
707 unconditionally applied. If the added item <b>is</b> an instantiated Component, then the default properties are
708 applied conditionally so as not to override existing properties in the item.</p>
709
710
711 <p>If the defaults option is specified as a function, then the function will be called using this Container as the
712 scope (<code>this</code> reference) and passing the added item as the first parameter. Any resulting object
713 from that call is then applied to the item as default properties.</p>
714
715
716 <p>For example, to automatically apply padding to the body of each of a set of
717 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>
718
719
720 <p>Usage:</p>
721
722
723 <pre><code>defaults: {               // defaults are applied to items, not the container
724     autoScroll:true
725 },
726 items: [
727     {
728         xtype: 'panel',   // defaults <b>do not</b> have precedence over
729         id: 'panel1',     // options in config objects, so the defaults
730         autoScroll: false // will not be applied here, panel1 will be autoScroll:false
731     },
732     new Ext.panel.Panel({       // defaults <b>do</b> have precedence over options
733         id: 'panel2',     // options in components, so the defaults
734         autoScroll: false // will be applied here, panel2 will be autoScroll:true.
735     })
736 ]</code></pre>
737
738 </div></div></div><div id="config-disabled" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="config-disabled" class="cls expand">disabled</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to false.</p>
739 </div><div class="long"><p>Defaults to false.</p>
740 </div></div></div><div id="config-disabledCls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
741 </div><div class="long"><p>CSS class to add when the Component is disabled. Defaults to 'x-item-disabled'.</p>
742 </div></div></div><div id="config-dockedItems" class="member inherited"><a href="Ext.grid.Panel.html#config-dockedItems" rel="config-dockedItems" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-dockedItems" class="viewSource">view source</a></div><a name="dockedItems"></a><a name="config-dockedItems"></a><a href="Ext.grid.Panel.html#" rel="config-dockedItems" class="cls expand">dockedItems</a><span> : Object/Array</span></div><div class="description"><div class="short">A component or series of components to be added as docked items to this panel.
743 The docked items can be docked to eith...</div><div class="long"><p>A component or series of components to be added as docked items to this panel.
744 The docked items can be docked to either the top, right, left or bottom of a panel.
745 This is typically used for things like toolbars or tab bars:</p>
746
747 <pre><code>var panel = new Ext.panel.Panel({
748     dockedItems: [{
749         xtype: 'toolbar',
750         dock: 'top',
751         items: [{
752             text: 'Docked to the top'
753         }]
754     }]
755 });</pre>
756
757
758 <p></code></p>
759 </div></div></div><div id="config-draggable" class="member inherited"><a href="Ext.grid.Panel.html#config-draggable" rel="config-draggable" 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-draggable" class="viewSource">view source</a></div><a name="draggable"></a><a name="config-draggable"></a><a href="Ext.grid.Panel.html#" rel="config-draggable" class="cls expand">draggable</a><span> : Mixed</span></div><div class="description"><div class="short">Specify as true to make a floating Component draggable using the Component's encapsulating element as the drag handle...</div><div class="long"><p>Specify as true to make a <a href="Ext.grid.Panel.html#floating" rel="Ext.grid.Panel#floating" class="docClass">floating</a> Component draggable using the Component's encapsulating element as the drag handle.</p>
760
761
762 <p>This may also be specified as a config object for the <a href="Ext.util.ComponentDragger.html" rel="Ext.util.ComponentDragger" class="docClass">ComponentDragger</a> which is instantiated to perform dragging.</p>
763
764
765 <p>For example to create a Component which may only be dragged around using a certain internal element as the drag handle,
766 use the delegate option:</p>
767
768
769 <p><code></p>
770
771 <pre>new Ext.Component({
772     constrain: true,
773     floating:true,
774     style: {
775         backgroundColor: '#fff',
776         border: '1px solid black'
777     },
778     html: '&lt;h1 style="cursor:move"&gt;The title&lt;/h1&gt;&lt;p&gt;The content&lt;/p&gt;',
779     draggable: {
780         delegate: 'h1'
781     }
782 }).show();
783 </pre>
784
785
786 <p></code></p>
787 </div></div></div><div id="config-fbar" class="member inherited"><a href="Ext.grid.Panel.html#config-fbar" rel="config-fbar" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-fbar" class="viewSource">view source</a></div><a name="fbar"></a><a name="config-fbar"></a><a href="Ext.grid.Panel.html#" rel="config-fbar" class="cls expand">fbar</a><span> : Object/Array</span></div><div class="description"><div class="short">Convenience method used for adding items to the bottom right of the panel. Short for Footer Bar.
788
789 fbar: [
790   { type: '...</div><div class="long"><p>Convenience method used for adding items to the bottom right of the panel. Short for Footer Bar.</p>
791
792 <pre><code>fbar: [
793   { type: 'button', text: 'Button 1' }
794 ]
795 </code></pre>
796
797 <p>is equivalent to</p>
798
799 <pre><code>dockedItems: [{
800     xtype: 'toolbar',
801     dock: 'bottom',
802     defaults: {minWidth: <a href="Ext.grid.Panel.html#minButtonWidth" rel="Ext.grid.Panel#minButtonWidth" class="docClass">minButtonWidth</a>},
803     items: [
804         { xtype: 'component', flex: 1 },
805         { xtype: 'button', text: 'Button 1' }
806     ]
807 }]
808 </code></pre>
809
810 <p>The <a href="Ext.grid.Panel.html#minButtonWidth" rel="Ext.grid.Panel#minButtonWidth" class="docClass">minButtonWidth</a> is used as the default <a href="Ext.button.Button.html#minWidth" rel="Ext.button.Button#minWidth" class="docClass">minWidth</a> for
811 each of the buttons in the fbar.</p>
812 </div></div></div><div id="config-floatable" class="member inherited"><a href="Ext.grid.Panel.html#config-floatable" rel="config-floatable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-floatable" class="viewSource">view source</a></div><a name="floatable"></a><a name="config-floatable"></a><a href="Ext.grid.Panel.html#" rel="config-floatable" class="cls expand">floatable</a><span> : Boolean</span></div><div class="description"><div class="short">Important: This config is only effective for collapsible Panels which are direct child items of a border layout.
813
814
815 tr...</div><div class="long"><p><b>Important: This config is only effective for <a href="Ext.grid.Panel.html#collapsible" rel="Ext.grid.Panel#collapsible" class="docClass">collapsible</a> Panels which are direct child items of a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>.</b></p>
816
817
818 <p><tt>true</tt> to allow clicking a collapsed Panel&#39;s <a href="Ext.grid.Panel.html#placeholder" rel="Ext.grid.Panel#placeholder" class="docClass">placeholder</a> to display the Panel floated
819 above the layout, <tt>false</tt> to force the user to fully expand a collapsed region by
820 clicking the expand button to see it again (defaults to <tt>true</tt>).</p>
821 </div></div></div><div id="config-floating" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
822
823
824 Components such...</div><div class="long"><p>Specify as true to float the Component outside of the document flow using CSS absolute positioning.</p>
825
826
827 <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
828 by default.</p>
829
830
831 <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
832 <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a></p>
833
834
835 <h3 class="pa">Floating Components as child items of a Container</h3>
836
837
838 <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
839 examining the ownerCt chain.</p>
840
841
842 <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
843 of related floating Components. The ZIndexManager brings a single floating Component to the top of its stack when
844 the Component's <a href="Ext.grid.Panel.html#toFront" rel="Ext.grid.Panel#toFront" class="docClass">toFront</a> method is called.</p>
845
846
847 <p>The ZIndexManager is found by traversing up the <a href="Ext.grid.Panel.html#ownerCt" rel="Ext.grid.Panel#ownerCt" class="docClass">ownerCt</a> chain to find an ancestor which itself is floating. This is so that
848 descendant floating Components of floating <i>Containers</i> (Such as a ComboBox dropdown within a Window) can have its zIndex managed relative
849 to any siblings, but always <b>above</b> that floating ancestor Container.</p>
850
851
852 <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>
853
854
855 <p>Floating components <i>do not participate in the Container's layout</i>. Because of this, they are not rendered until you explicitly
856 <a href="Ext.grid.Panel.html#show" rel="Ext.grid.Panel#show" class="docClass">show</a> them.</p>
857
858
859 <p>After rendering, the ownerCt reference is deleted, and the <a href="Ext.grid.Panel.html#floatParent" rel="Ext.grid.Panel#floatParent" class="docClass">floatParent</a> property is set to the found floating ancestor Container.
860 If no floating ancestor Container was found the <a href="Ext.grid.Panel.html#floatParent" rel="Ext.grid.Panel#floatParent" class="docClass">floatParent</a> property will not be set.</p>
861
862 </div></div></div><div id="config-focusOnToFront" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
863 brought to the front. Defaults to ...</div><div class="long"><p>Specifies whether the floated component should be automatically <a href="Ext.grid.Panel.html#focus" rel="Ext.grid.Panel#focus" class="docClass">focused</a> when it is
864 <a href="Ext.grid.Panel.html#toFront" rel="Ext.grid.Panel#toFront" class="docClass">brought to the front</a>. Defaults to true.</p>
865 </div></div></div><div id="config-forceFit" class="member inherited"><a href="Ext.grid.Panel.html#config-forceFit" rel="config-forceFit" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-cfg-forceFit" class="viewSource">view source</a></div><a name="forceFit"></a><a name="config-forceFit"></a><a href="Ext.grid.Panel.html#" rel="config-forceFit" class="cls expand">forceFit</a><span> : Boolean</span></div><div class="description"><div class="short">Specify as true to force the columns to fit into the available width. Headers are first sized according to configurat...</div><div class="long"><p>Specify as <code>true</code> to force the columns to fit into the available width. Headers are first sized according to configuration, whether that be
866 a specific width, or flex. Then they are all proportionally changed in width so that the entire content width is used..</p>
867 </div></div></div><div id="config-frame" class="member inherited"><a href="Ext.grid.Panel.html#config-frame" rel="config-frame" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-frame" class="viewSource">view source</a></div><a name="frame"></a><a name="config-frame"></a><a href="Ext.grid.Panel.html#" rel="config-frame" class="cls expand">frame</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to apply a frame to the panel.</p>
868 </div><div class="long"><p>True to apply a frame to the panel.</p>
869 </div></div></div><div id="config-frameHeader" class="member inherited"><a href="Ext.grid.Panel.html#config-frameHeader" rel="config-frameHeader" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-frameHeader" class="viewSource">view source</a></div><a name="frameHeader"></a><a name="config-frameHeader"></a><a href="Ext.grid.Panel.html#" rel="config-frameHeader" class="cls expand">frameHeader</a><span> : Boolean</span></div><div class="description"><div class="short"><p>True to apply a frame to the panel panels header (if 'frame' is true).</p>
870 </div><div class="long"><p>True to apply a frame to the panel panels header (if 'frame' is true).</p>
871 </div></div></div><div id="config-headerPosition" class="member inherited"><a href="Ext.grid.Panel.html#config-headerPosition" rel="config-headerPosition" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-headerPosition" class="viewSource">view source</a></div><a name="headerPosition"></a><a name="config-headerPosition"></a><a href="Ext.grid.Panel.html#" rel="config-headerPosition" class="cls expand">headerPosition</a><span> : String</span></div><div class="description"><div class="short"><p>Specify as <code>'top'</code>, <code>'bottom'</code>, <code>'left'</code> or <code>'right'</code>. Defaults to <code>'top'</code>.</p>
872 </div><div class="long"><p>Specify as <code>'top'</code>, <code>'bottom'</code>, <code>'left'</code> or <code>'right'</code>. Defaults to <code>'top'</code>.</p>
873 </div></div></div><div id="config-height" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
874 </div><div class="long"><p>The height of this component in pixels.</p>
875 </div></div></div><div id="config-hidden" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="config-hidden" class="cls expand">hidden</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to false.</p>
876 </div><div class="long"><p>Defaults to false.</p>
877 </div></div></div><div id="config-hideCollapseTool" class="member inherited"><a href="Ext.grid.Panel.html#config-hideCollapseTool" rel="config-hideCollapseTool" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-hideCollapseTool" class="viewSource">view source</a></div><a name="hideCollapseTool"></a><a name="config-hideCollapseTool"></a><a href="Ext.grid.Panel.html#" rel="config-hideCollapseTool" class="cls expand">hideCollapseTool</a><span> : Boolean</span></div><div class="description"><div class="short"><p><code>true</code> to hide the expand/collapse toggle button when <code><a href="Ext.grid.Panel.html#collapsible" rel="Ext.grid.Panel#collapsible" class="docClass">collapsible</a> == true</code>,
878 <code>false</code> to display it (defaults to <code>false</code>).</p>
879 </div><div class="long"><p><code>true</code> to hide the expand/collapse toggle button when <code><a href="Ext.grid.Panel.html#collapsible" rel="Ext.grid.Panel#collapsible" class="docClass">collapsible</a> == true</code>,
880 <code>false</code> to display it (defaults to <code>false</code>).</p>
881 </div></div></div><div id="config-hideHeaders" class="member inherited"><a href="Ext.grid.Panel.html#config-hideHeaders" rel="config-hideHeaders" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-cfg-hideHeaders" class="viewSource">view source</a></div><a name="hideHeaders"></a><a name="config-hideHeaders"></a><a href="Ext.grid.Panel.html#" rel="config-hideHeaders" class="cls expand">hideHeaders</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Specify as <code>true</code> to hide the headers.</p>
882 </div><div class="long"><p>Specify as <code>true</code> to hide the headers.</p>
883 </div></div></div><div id="config-hideMode" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
884 Values may be
885 'display' : The...</div><div class="long"><p>A String which specifies how this Component's encapsulating DOM element will be hidden.
886 Values may be<div class="mdetail-params"><ul>
887 <li><code>'display'</code> : The Component will be hidden using the <code>display: none</code> style.</li>
888 <li><code>'visibility'</code> : The Component will be hidden using the <code>visibility: hidden</code> style.</li>
889 <li><code>'offsets'</code> : The Component will be hidden by absolutely positioning it out of the visible area of the document. This
890 is useful when a hidden Component must maintain measurable dimensions. Hiding using <code>display</code> results
891 in a Component having zero dimensions.</li></ul></div>
892 Defaults to <code>'display'</code>.</p>
893 </div></div></div><div id="config-html" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
894 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
895 content (defaults to ''). The HTML content is added after the component is rendered,
896 so the document will not contain this HTML at the time the <a href="Ext.grid.Panel.html#render" rel="Ext.grid.Panel#render" class="docClass">render</a> event is fired.
897 This content is inserted into the body <i>before</i> any configured <a href="Ext.grid.Panel.html#contentEl" rel="Ext.grid.Panel#contentEl" class="docClass">contentEl</a> is appended.</p>
898 </div></div></div><div id="config-id" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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).
899
900
901 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.Panel.html#getId" rel="Ext.grid.Panel#getId" class="docClass">auto-assigned id</a>).</p>
902
903
904 <p>It should not be necessary to use this configuration except for singleton objects in your application.
905 Components created with an id may be accessed globally using <a href="Ext.html#getCmp" rel="Ext#getCmp" class="docClass">Ext.getCmp</a>.</p>
906
907
908 <p>Instead of using assigned ids, use the <a href="Ext.grid.Panel.html#itemId" rel="Ext.grid.Panel#itemId" class="docClass">itemId</a> config, and <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> which
909 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>
910 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>
911
912
913 <p>Note that this id will also be used as the element id for the containing HTML element
914 that is rendered to the page for this component. This allows you to write id-based CSS
915 rules to style the specific instance of this component uniquely, and also to select
916 sub-elements using this component's id as the parent.</p>
917
918
919 <p><b>Note</b>: to avoid complications imposed by a unique <tt>id</tt> also see <code><a href="Ext.grid.Panel.html#itemId" rel="Ext.grid.Panel#itemId" class="docClass">itemId</a></code>.</p>
920
921
922 <p><b>Note</b>: to access the container of a Component see <code><a href="Ext.grid.Panel.html#ownerCt" rel="Ext.grid.Panel#ownerCt" class="docClass">ownerCt</a></code>.</p>
923
924 </div></div></div><div id="config-itemId" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
925 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
926 when no object reference is available.  Instead of using an <code><a href="Ext.grid.Panel.html#id" rel="Ext.grid.Panel#id" class="docClass">id</a></code> with
927 <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
928 <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
929 <code>itemId</code>'s or <tt><a href="Ext.grid.Panel.html#id" rel="Ext.grid.Panel#id" class="docClass">id</a></tt>'s. Since <code>itemId</code>'s are an index to the
930 container's internal MixedCollection, the <code>itemId</code> is scoped locally to the container --
931 avoiding potential conflicts with <a href="Ext.ComponentManager.html" rel="Ext.ComponentManager" class="docClass">Ext.ComponentManager</a> which requires a <b>unique</b>
932 <code><a href="Ext.grid.Panel.html#id" rel="Ext.grid.Panel#id" class="docClass">id</a></code>.</p>
933
934
935 <pre><code>var c = new Ext.panel.Panel({ //
936     <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 300,
937     <a href="Ext.grid.Panel.html#renderTo" rel="Ext.grid.Panel#renderTo" class="docClass">renderTo</a>: document.body,
938     <a href="Ext.container.Container.html#layout" rel="Ext.container.Container#layout" class="docClass">layout</a>: 'auto',
939     <a href="Ext.container.Container.html#items" rel="Ext.container.Container#items" class="docClass">items</a>: [
940         {
941             itemId: 'p1',
942             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 1',
943             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
944         },
945         {
946             itemId: 'p2',
947             <a href="Ext.panel.Panel.html#title" rel="Ext.panel.Panel#title" class="docClass">title</a>: 'Panel 2',
948             <a href="Ext.Component.html#height" rel="Ext.Component#height" class="docClass">height</a>: 150
949         }
950     ]
951 })
952 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>
953 p2 = p1.<a href="Ext.grid.Panel.html#ownerCt" rel="Ext.grid.Panel#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
954 </code></pre>
955
956
957 <p>Also see <tt><a href="Ext.grid.Panel.html#id" rel="Ext.grid.Panel#id" class="docClass">id</a></tt>, <code><a href="Ext.grid.Panel.html#query" rel="Ext.grid.Panel#query" class="docClass">query</a></code>, <code><a href="Ext.grid.Panel.html#down" rel="Ext.grid.Panel#down" class="docClass">down</a></code> and <code><a href="Ext.grid.Panel.html#child" rel="Ext.grid.Panel#child" class="docClass">child</a></code>.</p>
958
959
960 <p><b>Note</b>: to access the container of an item see <tt><a href="Ext.grid.Panel.html#ownerCt" rel="Ext.grid.Panel#ownerCt" class="docClass">ownerCt</a></tt>.</p>
961
962 </div></div></div><div id="config-items" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
963
964
965 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>
966
967
968 <p><b>Unless configured with a <a href="Ext.grid.Panel.html#layout" rel="Ext.grid.Panel#layout" class="docClass">layout</a>, a Container simply renders child Components serially into
969 its encapsulating element and performs no sizing or positioning upon them.</b><p>
970 <p>Example:</p>
971 <pre><code>// specifying a single item
972 items: {...},
973 layout: 'fit',    // The single items is sized to fit
974
975 // specifying multiple items
976 items: [{...}, {...}],
977 layout: 'hbox', // The items are arranged horizontally
978        </code></pre>
979 <p>Each item may be:</p>
980 <ul>
981 <li>A <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></li>
982 <li>A Component configuration object</li>
983 </ul>
984 <p>If a configuration object is specified, the actual type of Component to be
985 instantiated my be indicated by using the <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a> option.</p>
986 <p>Every Component class has its own <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a>.</p>
987 <p>If an <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">xtype</a> is not explicitly
988 specified, the <a href="Ext.grid.Panel.html#defaultType" rel="Ext.grid.Panel#defaultType" class="docClass">defaultType</a> for the Container is used, which by default is usually <code>panel</code>.</p>
989 <p><b>Notes</b>:</p>
990 <p>Ext uses lazy rendering. Child Components will only be rendered
991 should it become necessary. Items are automatically laid out when they are first
992 shown (no sizing is done while hidden), or in response to a <a href="Ext.grid.Panel.html#doLayout" rel="Ext.grid.Panel#doLayout" class="docClass">doLayout</a> call.</p>
993 <p>Do not specify <code><a href="Ext.panel.Panel.html#contentEl" rel="Ext.panel.Panel#contentEl" class="docClass">contentEl</a></code> or 
994 <code><a href="Ext.panel.Panel.html#html" rel="Ext.panel.Panel#html" class="docClass">html</a></code> with <code>items</code>.</p>
995
996 </div></div></div><div id="config-layout" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
997 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
998 positioned, typically a layout manager <b>must</b> be specified through
999 the <code>layout</code> configuration option.</p>
1000
1001
1002 <br><p>The sizing and positioning of child <a href="Ext.grid.Panel.html#items" rel="Ext.grid.Panel#items" class="docClass">items</a> is the responsibility of
1003
1004
1005 <p>the Container's layout manager which creates and manages the type of layout
1006 you have in mind.  For example:</p></p>
1007
1008 <p>If the <a href="Ext.grid.Panel.html#layout" rel="Ext.grid.Panel#layout" class="docClass">layout</a> configuration is not explicitly specified for
1009 a general purpose container (e.g. Container or Panel) the
1010 <a href="Ext.layout.container.Auto.html" rel="Ext.layout.container.Auto" class="docClass">default layout manager</a> will be used
1011 which does nothing but render child components sequentially into the
1012 Container (no sizing or positioning will be performed in this situation).</p>
1013
1014
1015 <br><p><b><code>layout</code></b> may be specified as either as an Object or
1016
1017
1018 <p>as a String:</p><div><ul class="mdetail-params"></p>
1019
1020 <p><li><u>Specify as an Object</u></li></p>
1021
1022 <div><ul class="mdetail-params">
1023 <li>Example usage:</li>
1024 <pre><code>layout: {
1025     type: 'vbox',
1026     align: 'left'
1027 }
1028        </code></pre>
1029
1030 <li><code><b>type</b></code></li>
1031 <br/><p>The layout type to be used for this container.  If not specified,
1032 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>
1033 <br/><p>Valid layout <code>type</code> values are:</p>
1034 <div class="sub-desc"><ul class="mdetail-params">
1035 <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>
1036 <li><code><b><a href="Ext.layout.container.Card.html" rel="Ext.layout.container.Card" class="docClass">card</a></b></code></li>
1037 <li><code><b><a href="Ext.layout.container.Fit.html" rel="Ext.layout.container.Fit" class="docClass">fit</a></b></code></li>
1038 <li><code><b><a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">hbox</a></b></code></li>
1039 <li><code><b><a href="Ext.layout.container.VBox.html" rel="Ext.layout.container.VBox" class="docClass">vbox</a></b></code></li>
1040 <li><code><b><a href="Ext.layout.container.Anchor.html" rel="Ext.layout.container.Anchor" class="docClass">anchor</a></b></code></li>
1041 <li><code><b><a href="Ext.layout.container.Table.html" rel="Ext.layout.container.Table" class="docClass">table</a></b></code></li>
1042 </ul></div>
1043
1044 <li>Layout specific configuration properties</li>
1045 <br/><p>Additional layout specific configuration properties may also be
1046 specified. For complete details regarding the valid config options for
1047 each layout type, see the layout class corresponding to the <code>type</code>
1048 specified.</p>
1049
1050 </ul></div>
1051
1052
1053 <p><li><u>Specify as a String</u></li></p>
1054
1055 <div><ul class="mdetail-params">
1056 <li>Example usage:</li>
1057 <pre><code>layout: {
1058     type: 'vbox',
1059     padding: '5',
1060     align: 'left'
1061 }
1062        </code></pre>
1063 <li><code><b>layout</b></code></li>
1064 <br/><p>The layout <code>type</code> to be used for this container (see list
1065 of valid layout type values above).</p><br/>
1066 <br/><p>Additional layout specific configuration properties. For complete
1067 details regarding the valid config options for each layout type, see the
1068 layout class corresponding to the <code>layout</code> specified.</p>
1069 </ul></div>
1070
1071
1072 <p></ul></div></p>
1073 </div></div></div><div id="config-lbar" class="member inherited"><a href="Ext.grid.Panel.html#config-lbar" rel="config-lbar" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-lbar" class="viewSource">view source</a></div><a name="lbar"></a><a name="config-lbar"></a><a href="Ext.grid.Panel.html#" rel="config-lbar" class="cls expand">lbar</a><span> : Object/Array</span></div><div class="description"><div class="short">Convenience method. Short for 'Left Bar' (left-docked, vertical toolbar).
1074
1075    lbar: [
1076
1077  { xtype: 'button', text: 'But...</div><div class="long"><p>Convenience method. Short for 'Left Bar' (left-docked, vertical toolbar).</p>
1078
1079 <p>   lbar: [</p>
1080
1081 <pre><code> { xtype: 'button', text: 'Button 1' }
1082 </code></pre>
1083
1084 <p>   ]</p>
1085
1086 <p>is equivalent to</p>
1087
1088 <p>   dockedItems: [{</p>
1089
1090 <pre><code>   xtype: 'toolbar',
1091    dock: 'left',
1092    items: [
1093        { xtype: 'button', text: 'Button 1' }
1094    ]
1095 </code></pre>
1096
1097 <p>   }]</p>
1098 </div></div></div><div id="config-listeners" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1099 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
1100 object during initialization.  This should be a valid listeners config object as specified in the
1101 <a href="Ext.grid.Panel.html#addListener" rel="Ext.grid.Panel#addListener" class="docClass">addListener</a> example for attaching multiple handlers at once.</p></p>
1102
1103 <br><p><b><u>DOM events from ExtJs <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a></u></b></p>
1104
1105
1106 <br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
1107
1108
1109 <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
1110 <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
1111 events directly from a child element of a Component, we need to specify the <code>element</code> option to
1112 identify the Component property to add a DOM listener to:</p>
1113
1114 <pre><code>new Ext.panel.Panel({
1115     width: 400,
1116     height: 200,
1117     dockedItems: [{
1118         xtype: 'toolbar'
1119     }],
1120     listeners: {
1121         click: {
1122             element: 'el', //bind to the underlying el property on the panel
1123             fn: function(){ console.log('click el'); }
1124         },
1125         dblclick: {
1126             element: 'body', //bind to the underlying body property on the panel
1127             fn: function(){ console.log('dblclick body'); }
1128         }
1129     }
1130 });
1131 </code></pre>
1132
1133
1134 <p></p></p>
1135 </div></div></div><div id="config-loader" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1136 content for this Component.</p>
1137 </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
1138 content for this Component.</p>
1139 </div></div></div><div id="config-maintainFlex" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1140 HBox layout.
1141
1142
1143 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
1144 <a href="Ext.layout.container.HBox.html" rel="Ext.layout.container.HBox" class="docClass">HBox</a> layout.</b></p>
1145
1146
1147 <p>Specifies that if an immediate sibling Splitter is moved, the Component on the <i>other</i> side is resized, and this
1148 Component maintains its configured <a href="Ext.layout.container.Box.html#flex" rel="Ext.layout.container.Box#flex" class="docClass">flex</a> value.</p>
1149
1150 </div></div></div><div id="config-margin" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1151 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
1152 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
1153 </div></div></div><div id="config-maxHeight" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
1154
1155
1156 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>
1157
1158
1159 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
1160
1161 </div></div></div><div id="config-maxWidth" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
1162
1163
1164 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>
1165
1166
1167 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
1168
1169 </div></div></div><div id="config-minButtonWidth" class="member inherited"><a href="Ext.grid.Panel.html#config-minButtonWidth" rel="config-minButtonWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-minButtonWidth" class="viewSource">view source</a></div><a name="minButtonWidth"></a><a name="config-minButtonWidth"></a><a href="Ext.grid.Panel.html#" rel="config-minButtonWidth" class="cls expand">minButtonWidth</a><span> : Number</span></div><div class="description"><div class="short">Minimum width of all footer toolbar buttons in pixels (defaults to 75). If set, this will
1170 be used as the default valu...</div><div class="long"><p>Minimum width of all footer toolbar buttons in pixels (defaults to <tt>75</tt>). If set, this will
1171 be used as the default value for the <tt><a href="Ext.button.Button.html#minWidth" rel="Ext.button.Button#minWidth" class="docClass">Ext.button.Button.minWidth</a></tt> config of
1172 each Button added to the <b>footer toolbar</b> via the <a href="Ext.grid.Panel.html#fbar" rel="Ext.grid.Panel#fbar" class="docClass">fbar</a> or <a href="Ext.grid.Panel.html#buttons" rel="Ext.grid.Panel#buttons" class="docClass">buttons</a> configurations.
1173 It will be ignored for buttons that have a minWidth configured some other way, e.g. in their own config
1174 object or via the <a href="Ext.container.Container.html#config-defaults" rel="Ext.container.Container#config-defaults" class="docClass">defaults</a> of their parent container.</p>
1175 </div></div></div><div id="config-minHeight" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
1176
1177
1178 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>
1179
1180
1181 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
1182
1183 </div></div></div><div id="config-minWidth" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
1184
1185
1186 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>
1187
1188
1189 <p><b>Warning:</b> This will override any size management applied by layout managers.</p>
1190
1191 </div></div></div><div id="config-overCls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1192 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
1193 over the Element, and removed when the mouse moves out. (defaults to '').  This can be
1194 useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.</p>
1195 </div></div></div><div id="config-padding" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1196 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
1197 it can be a CSS style specification for each style, for example: '10 5 3 10'.</p>
1198 </div></div></div><div id="config-placeholder" class="member inherited"><a href="Ext.grid.Panel.html#config-placeholder" rel="config-placeholder" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-placeholder" class="viewSource">view source</a></div><a name="placeholder"></a><a name="config-placeholder"></a><a href="Ext.grid.Panel.html#" rel="config-placeholder" class="cls expand">placeholder</a><span> : Mixed</span></div><div class="description"><div class="short">Important: This config is only effective for collapsible Panels which are direct child items of a border layout
1199 when ...</div><div class="long"><p><b>Important: This config is only effective for <a href="Ext.grid.Panel.html#collapsible" rel="Ext.grid.Panel#collapsible" class="docClass">collapsible</a> Panels which are direct child items of a <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>
1200 when not using the <code>'header'</code> <a href="Ext.grid.Panel.html#collapseMode" rel="Ext.grid.Panel#collapseMode" class="docClass">collapseMode</a>.</b></p>
1201
1202
1203 <p><b>Optional.</b> A Component (or config object for a Component) to show in place of this Panel when this Panel is collapsed by a
1204 <a href="Ext.layout.container.Border.html" rel="Ext.layout.container.Border" class="docClass">border layout</a>. Defaults to a generated <a href="Ext.panel.Header.html" rel="Ext.panel.Header" class="docClass">Header</a>
1205 containing a <a href="Ext.panel.Tool.html" rel="Ext.panel.Tool" class="docClass">Tool</a> to re-expand the Panel.</p>
1206
1207 </div></div></div><div id="config-plugins" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1208 requirement for a ...</div><div class="long"><p>An object or array of objects that will provide custom functionality for this component.  The only
1209 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>.
1210 When a component is created, if any plugins are available, the component will call the init method on each
1211 plugin, passing a reference to itself.  Each plugin can then call methods or respond to events on the
1212 component as needed to provide its functionality.</p>
1213 </div></div></div><div id="config-preventHeader" class="member inherited"><a href="Ext.grid.Panel.html#config-preventHeader" rel="config-preventHeader" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-preventHeader" class="viewSource">view source</a></div><a name="preventHeader"></a><a name="config-preventHeader"></a><a href="Ext.grid.Panel.html#" rel="config-preventHeader" class="cls expand">preventHeader</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Prevent a Header from being created and shown. Defaults to false.</p>
1214 </div><div class="long"><p>Prevent a Header from being created and shown. Defaults to false.</p>
1215 </div></div></div><div id="config-rbar" class="member inherited"><a href="Ext.grid.Panel.html#config-rbar" rel="config-rbar" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-rbar" class="viewSource">view source</a></div><a name="rbar"></a><a name="config-rbar"></a><a href="Ext.grid.Panel.html#" rel="config-rbar" class="cls expand">rbar</a><span> : Object/Array</span></div><div class="description"><div class="short">Convenience method. Short for 'Right Bar' (right-docked, vertical toolbar).
1216
1217    rbar: [
1218
1219  { xtype: 'button', text: 'B...</div><div class="long"><p>Convenience method. Short for 'Right Bar' (right-docked, vertical toolbar).</p>
1220
1221 <p>   rbar: [</p>
1222
1223 <pre><code> { xtype: 'button', text: 'Button 1' }
1224 </code></pre>
1225
1226 <p>   ]</p>
1227
1228 <p>is equivalent to</p>
1229
1230 <p>   dockedItems: [{</p>
1231
1232 <pre><code>   xtype: 'toolbar',
1233    dock: 'right',
1234    items: [
1235        { xtype: 'button', text: 'Button 1' }
1236    ]
1237 </code></pre>
1238
1239 <p>   }]</p>
1240 </div></div></div><div id="config-renderSelectors" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1241 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
1242 created by the render process.</p>
1243
1244 <p>After the Component's internal structure is rendered according to the <a href="Ext.grid.Panel.html#renderTpl" rel="Ext.grid.Panel#renderTpl" class="docClass">renderTpl</a>, this object is iterated through,
1245 and the found Elements are added as properties to the Component using the <code>renderSelector</code> property name.</p>
1246
1247 <p>For example, a Component which rendered an image, and description into its element might use the following properties
1248 coded into its prototype:</p>
1249
1250 <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;',
1251
1252 renderSelectors: {
1253     image: 'img.x-image-component-img',
1254     descEl: 'div.x-image-component-desc'
1255 }
1256 </code></pre>
1257
1258 <p>After rendering, the Component would have a property <code>image</code> referencing its child <code>img</code> Element,
1259 and a property <code>descEl</code> referencing the <code>div</code> Element which contains the description.</p>
1260 </div></div></div><div id="config-renderTo" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1261 will be rendered into.
1262
1263
1264
1265 Not...</div><div class="long"><p>Specify the id of the element, a DOM element or an existing Element that this component
1266 will be rendered into.</p>
1267
1268
1269 <div><ul>
1270 <li><b>Notes</b> : <ul>
1271 <div class="sub-desc">Do <u>not</u> use this option if the Component is to be a child item of
1272 a <a href="Ext.container.Container.html" rel="Ext.container.Container" class="docClass">Container</a>. It is the responsibility of the
1273 <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>
1274 to render and manage its child items.</div>
1275 <div class="sub-desc">When using this config, a call to render() is not required.</div>
1276 </ul></li>
1277 </ul></div>
1278
1279
1280 <p>See <code><a href="Ext.grid.Panel.html#render" rel="Ext.grid.Panel#render" class="docClass">render</a></code> also.</p>
1281
1282 </div></div></div><div id="config-renderTpl" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1283 encapsulating Element.
1284
1285
1286 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
1287 encapsulating <a href="Ext.grid.Panel.html#getEl" rel="Ext.grid.Panel#getEl" class="docClass">Element</a>.</p>
1288
1289
1290 <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>
1291 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
1292 with no internal structure; they render their <a href="Ext.grid.Panel.html#getEl" rel="Ext.grid.Panel#getEl" class="docClass">Element</a> empty. The more specialized ExtJS and Touch classes
1293 which use a more complex DOM structure, provide their own template definitions.</p>
1294
1295
1296 <p>This is intended to allow the developer to create application-specific utility Components with customized
1297 internal structure.</p>
1298
1299
1300 <p>Upon rendering, any created child elements may be automatically imported into object properties using the
1301 <a href="Ext.grid.Panel.html#renderSelectors" rel="Ext.grid.Panel#renderSelectors" class="docClass">renderSelectors</a> option.</p>
1302
1303 </div></div></div><div id="config-resizable" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1304 after rendering.
1305
1306
1307 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
1308 after rendering.</p>
1309
1310
1311 <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>
1312 to override any defaults. By default the Component passes its minimum and maximum size, and uses
1313 <code><a href="Ext.resizer.Resizer.html#dynamic" rel="Ext.resizer.Resizer#dynamic" class="docClass">Ext.resizer.Resizer.dynamic</a>: false</code></p>
1314
1315 </div></div></div><div id="config-resizeHandles" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
1316 </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>
1317 </div></div></div><div id="config-saveBuffer" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1318 a short period. Defaults to 100.</p>
1319 </div><div class="long"><p>A buffer to be applied if many state events are fired within
1320 a short period. Defaults to 100.</p>
1321 </div></div></div><div id="config-scroll" class="member inherited"><a href="Ext.grid.Panel.html#config-scroll" rel="config-scroll" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-cfg-scroll" class="viewSource">view source</a></div><a name="scroll"></a><a name="config-scroll"></a><a href="Ext.grid.Panel.html#" rel="config-scroll" class="cls expand">scroll</a><span> : String/Boolean</span></div><div class="description"><div class="short"><p>Valid values are 'both', 'horizontal' or 'vertical'. true implies 'both'. false implies 'none'.
1322 Defaults to true.</p>
1323 </div><div class="long"><p>Valid values are 'both', 'horizontal' or 'vertical'. true implies 'both'. false implies 'none'.
1324 Defaults to true.</p>
1325 </div></div></div><div id="config-scrollDelta" class="member inherited"><a href="Ext.grid.Panel.html#config-scrollDelta" rel="config-scrollDelta" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-cfg-scrollDelta" class="viewSource">view source</a></div><a name="scrollDelta"></a><a name="config-scrollDelta"></a><a href="Ext.grid.Panel.html#" rel="config-scrollDelta" class="cls expand">scrollDelta</a><span> : Number</span></div><div class="description"><div class="short"><p>Number of pixels to scroll when scrolling with mousewheel.
1326 Defaults to 40.</p>
1327 </div><div class="long"><p>Number of pixels to scroll when scrolling with mousewheel.
1328 Defaults to 40.</p>
1329 </div></div></div><div id="config-shadow" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1330 true to automatically create an Ext.Shadow,...</div><div class="long"><p>Specifies whether the floating component should be given a shadow. Set to
1331 <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
1332 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.
1333 (Defaults to <tt>'sides'</tt>.)</p>
1334 </div></div></div><div id="config-sortableColumns" class="member inherited"><a href="Ext.grid.Panel.html#config-sortableColumns" rel="config-sortableColumns" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-cfg-sortableColumns" class="viewSource">view source</a></div><a name="sortableColumns"></a><a name="config-sortableColumns"></a><a href="Ext.grid.Panel.html#" rel="config-sortableColumns" class="cls expand">sortableColumns</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Defaults to true. Set to false to disable column sorting via clicking the
1335 header and via the Sorting menu items.</p>
1336 </div><div class="long"><p>Defaults to true. Set to false to disable column sorting via clicking the
1337 header and via the Sorting menu items.</p>
1338 </div></div></div><div id="config-stateEvents" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1339 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
1340 save its state (defaults to none). <code>stateEvents</code> may be any type
1341 of event supported by this object, including browser or custom events
1342 (e.g., <tt>['click', 'customerchange']</tt>).</p>
1343
1344
1345 <p>See <code><a href="Ext.grid.Panel.html#stateful" rel="Ext.grid.Panel#stateful" class="docClass">stateful</a></code> for an explanation of saving and
1346 restoring object state.</p>
1347
1348 </div></div></div><div id="config-stateId" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
1349
1350 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>
1351
1352 <p>See <a href="Ext.grid.Panel.html#stateful" rel="Ext.grid.Panel#stateful" class="docClass">stateful</a> for an explanation of saving and restoring state.</p>
1353
1354 </div></div></div><div id="config-stateful" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1355 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
1356 internal properties from a saved state on startup. The object must have
1357 a <code><a href="Ext.grid.Panel.html#stateId" rel="Ext.grid.Panel#stateId" class="docClass">stateId</a></code> for state to be managed. 
1358 Auto-generated ids are not guaranteed to be stable across page loads and 
1359 cannot be relied upon to save and restore the same state for a object.<p>
1360 <p>For state saving to work, the state manager's provider must have been
1361 set to an implementation of <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> which overrides the
1362 <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>
1363 methods to save and recall name/value pairs. A built-in implementation,
1364 <a href="Ext.state.CookieProvider.html" rel="Ext.state.CookieProvider" class="docClass">Ext.state.CookieProvider</a> is available.</p>
1365 <p>To set the state provider for the current page:</p>
1366 <pre><code>Ext.state.Manager.setProvider(new Ext.state.CookieProvider({
1367     expires: new Date(new Date().getTime()+(1000*60*60*24*7)), //7 days from now
1368 }));
1369 </code></pre>
1370 <p>A stateful object attempts to save state when one of the events
1371 listed in the <code><a href="Ext.grid.Panel.html#stateEvents" rel="Ext.grid.Panel#stateEvents" class="docClass">stateEvents</a></code> configuration fires.</p>
1372 <p>To save state, a stateful object first serializes its state by
1373 calling <b><code><a href="Ext.grid.Panel.html#getState" rel="Ext.grid.Panel#getState" class="docClass">getState</a></code></b>. By default, this function does
1374 nothing. The developer must provide an implementation which returns an
1375 object hash which represents the restorable state of the object.</p>
1376 <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>
1377 which uses the configured <a href="Ext.state.Provider.html" rel="Ext.state.Provider" class="docClass">Ext.state.Provider</a> to save the object
1378 keyed by the <code><a href="stateId.html" rel="stateId" class="docClass">stateId</a></code></p>.
1379 <p>During construction, a stateful object attempts to <i>restore</i>
1380 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
1381 <code><a href="Ext.grid.Panel.html#stateId" rel="Ext.grid.Panel#stateId" class="docClass">stateId</a></code></p>
1382 <p>The resulting object is passed to <b><code><a href="Ext.grid.Panel.html#applyState" rel="Ext.grid.Panel#applyState" class="docClass">applyState</a></code></b>.
1383 The default implementation of <code><a href="Ext.grid.Panel.html#applyState" rel="Ext.grid.Panel#applyState" class="docClass">applyState</a></code> simply copies
1384 properties into the object, but a developer may override this to support
1385 more behaviour.</p>
1386 <p>You can perform extra processing on state save and restore by attaching
1387 handlers to the <a href="Ext.grid.Panel.html#beforestaterestore" rel="Ext.grid.Panel#beforestaterestore" class="docClass">beforestaterestore</a>, <a href="Ext.grid.Panel.html#staterestore" rel="Ext.grid.Panel#staterestore" class="docClass">staterestore</a>,
1388 <a href="Ext.grid.Panel.html#beforestatesave" rel="Ext.grid.Panel#beforestatesave" class="docClass">beforestatesave</a> and <a href="Ext.grid.Panel.html#statesave" rel="Ext.grid.Panel#statesave" class="docClass">statesave</a> events.</p>
1389
1390 </div></div></div><div id="config-style" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1391 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
1392 <a href="Ext.core.Element.html#applyStyles" rel="Ext.core.Element#applyStyles" class="docClass">Ext.core.Element.applyStyles</a>.</p>
1393
1394 <pre><code>        new Ext.panel.Panel({
1395             title: 'Some Title',
1396             renderTo: Ext.getBody(),
1397             width: 400, height: 300,
1398             layout: 'form',
1399             items: [{
1400                 xtype: 'textarea',
1401                 style: {
1402                     width: '95%',
1403                     marginBottom: '10px'
1404                 }
1405             },
1406             new Ext.button.Button({
1407                 text: 'Send',
1408                 minWidth: '100',
1409                 style: {
1410                     marginBottom: '10px'
1411                 }
1412             })
1413             ]
1414         });
1415      </code></pre>
1416
1417 </div></div></div><div id="config-styleHtmlCls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
1418 Defaults to 'x-html'</p>
1419 </div><div class="long"><p>The class that is added to the content target when you set styleHtmlContent to true.
1420 Defaults to 'x-html'</p>
1421 </div></div></div><div id="config-styleHtmlContent" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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).
1422 Defaults to false.</p>
1423 </div><div class="long"><p>True to automatically style the html inside the content target of this component (body for panels).
1424 Defaults to false.</p>
1425 </div></div></div><div id="config-suspendLayout" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1426 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
1427 as multiple arguments or an array.</p>
1428 </div></div></div><div id="config-tbar" class="member inherited"><a href="Ext.grid.Panel.html#config-tbar" rel="config-tbar" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-tbar" class="viewSource">view source</a></div><a name="tbar"></a><a name="config-tbar"></a><a href="Ext.grid.Panel.html#" rel="config-tbar" class="cls expand">tbar</a><span> : Object/Array</span></div><div class="description"><div class="short">Convenience method. Short for 'Top Bar'.
1429
1430 tbar: [
1431   { xtype: 'button', text: 'Button 1' }
1432 ]
1433
1434
1435 is equivalent to
1436
1437 docke...</div><div class="long"><p>Convenience method. Short for 'Top Bar'.</p>
1438
1439 <pre><code>tbar: [
1440   { xtype: 'button', text: 'Button 1' }
1441 ]
1442 </code></pre>
1443
1444 <p>is equivalent to</p>
1445
1446 <pre><code>dockedItems: [{
1447     xtype: 'toolbar',
1448     dock: 'top',
1449     items: [
1450         { xtype: 'button', text: 'Button 1' }
1451     ]
1452 }]
1453 </code></pre>
1454 </div></div></div><div id="config-titleCollapse" class="member inherited"><a href="Ext.grid.Panel.html#config-titleCollapse" rel="config-titleCollapse" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-titleCollapse" class="viewSource">view source</a></div><a name="titleCollapse"></a><a name="config-titleCollapse"></a><a href="Ext.grid.Panel.html#" rel="config-titleCollapse" class="cls expand">titleCollapse</a><span> : Boolean</span></div><div class="description"><div class="short">true to allow expanding and collapsing the panel (when collapsible = true)
1455 by clicking anywhere in the header bar, fa...</div><div class="long"><p><code>true</code> to allow expanding and collapsing the panel (when <code><a href="Ext.grid.Panel.html#collapsible" rel="Ext.grid.Panel#collapsible" class="docClass">collapsible</a> = true</code>)
1456 by clicking anywhere in the header bar, <code>false</code>) to allow it only by clicking to tool button
1457 (defaults to <code>false</code>)).</p>
1458 </div></div></div><div id="config-toFrontOnShow" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1459 on an already visible, floating component (default ...</div><div class="long"><p>True to automatically call <a href="Ext.grid.Panel.html#toFront" rel="Ext.grid.Panel#toFront" class="docClass">toFront</a> when the <a href="Ext.grid.Panel.html#show" rel="Ext.grid.Panel#show" class="docClass">show</a> method is called
1460 on an already visible, floating component (default is <code>true</code>).</p>
1461
1462 </div></div></div><div id="config-tools" class="member inherited"><a href="Ext.grid.Panel.html#config-tools" rel="config-tools" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-cfg-tools" class="viewSource">view source</a></div><a name="tools"></a><a name="config-tools"></a><a href="Ext.grid.Panel.html#" rel="config-tools" class="cls expand">tools</a><span> : Array</span></div><div class="description"><div class="short">An array of Ext.panel.Tool configs/instances to be added to the header tool area. The tools are stored as child
1463 compo...</div><div class="long"><p>An array of <a href="Ext.panel.Tool.html" rel="Ext.panel.Tool" class="docClass">Ext.panel.Tool</a> configs/instances to be added to the header tool area. The tools are stored as child
1464 components of the header container. They can be accessed using <a href="Ext.grid.Panel.html#down" rel="Ext.grid.Panel#down" class="docClass">down</a> and {#query}, as well as the other
1465 component methods. The toggle tool is automatically created if <a href="Ext.grid.Panel.html#collapsible" rel="Ext.grid.Panel#collapsible" class="docClass">collapsible</a> is set to true.</p>
1466
1467 <p>Note that, apart from the toggle tool which is provided when a panel is collapsible, these
1468 tools only provide the visual button. Any required functionality must be provided by adding
1469 handlers that implement the necessary behavior.</p>
1470
1471
1472 <p>Example usage:</p>
1473
1474
1475 <pre><code>tools:[{
1476     type:'refresh',
1477     qtip: 'Refresh form Data',
1478     // hidden:true,
1479     handler: function(event, toolEl, panel){
1480         // refresh logic
1481     }
1482 },
1483 {
1484     type:'help',
1485     qtip: 'Get Help',
1486     handler: function(event, toolEl, panel){
1487         // show help here
1488     }
1489 }]
1490 </code></pre>
1491
1492 </div></div></div><div id="config-tpl" class="member inherited"><a href="Ext.grid.Panel.html#config-tpl" rel="config-tpl" 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-tpl" class="viewSource">view source</a></div><a name="tpl"></a><a name="config-tpl"></a><a href="Ext.grid.Panel.html#" rel="config-tpl" class="cls expand">tpl</a><span> : Mixed</span></div><div class="description"><div class="short">An Ext.Template, Ext.XTemplate
1493 or an array of strings to form an Ext.XTemplate.
1494 Used in conjunction with the data and...</div><div class="long"><p>An <bold><a href="Ext.Template.html" rel="Ext.Template" class="docClass">Ext.Template</a></bold>, <bold><a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">Ext.XTemplate</a></bold>
1495 or an array of strings to form an <a href="Ext.XTemplate.html" rel="Ext.XTemplate" class="docClass">Ext.XTemplate</a>.
1496 Used in conjunction with the <code><a href="Ext.grid.Panel.html#data" rel="Ext.grid.Panel#data" class="docClass">data</a></code> and
1497 <code><a href="Ext.grid.Panel.html#tplWriteMode" rel="Ext.grid.Panel#tplWriteMode" class="docClass">tplWriteMode</a></code> configurations.</p>
1498 </div></div></div><div id="config-tplWriteMode" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1499 updating the content area of the Component. Defaults to 'overwrite'
1500 (see Ext.X...</div><div class="long"><p>The Ext.(X)Template method to use when
1501 updating the content area of the Component. Defaults to <code>'overwrite'</code>
1502 (see <code><a href="Ext.XTemplate.html#overwrite" rel="Ext.XTemplate#overwrite" class="docClass">Ext.XTemplate.overwrite</a></code>).</p>
1503 </div></div></div><div id="config-ui" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
1504 </div><div class="long"><p>A set style for a component. Can be a string or an Array of multiple strings (UIs)</p>
1505 </div></div></div><div id="config-width" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
1506 </div><div class="long"><p>The width of this component in pixels.</p>
1507 </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-centerClientWidth" class="member f inherited"><a href="Ext.grid.Panel.html#property-centerClientWidth" rel="property-centerClientWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-property-centerClientWidth" class="viewSource">view source</a></div><a name="centerClientWidth"></a><a name="property-centerClientWidth"></a><a href="Ext.grid.Panel.html#" rel="property-centerClientWidth" class="cls expand">centerClientWidth</a><span> : Object</span></div><div class="description"><div class="short">clientWidth often returns 0 in IE resulting in an
1508 infinity result, here we use offsetWidth bc there are
1509 no possible s...</div><div class="long"><p>clientWidth often returns 0 in IE resulting in an
1510 infinity result, here we use offsetWidth bc there are
1511 no possible scrollbars and we don't care about margins</p>
1512 </div></div></div><div id="property-dd" class="member inherited"><a href="Ext.grid.Panel.html#property-dd" rel="property-dd" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-property-dd" class="viewSource">view source</a></div><a name="dd"></a><a name="property-dd"></a><a href="Ext.grid.Panel.html#" rel="property-dd" class="cls expand">dd</a><span> : Ext.dd.DragSource.</span></div><div class="description"><div class="short">If this Panel is configured draggable, this property will contain
1513 an instance of Ext.dd.DragSource which handles drag...</div><div class="long"><p>If this Panel is configured <a href="Ext.grid.Panel.html#draggable" rel="Ext.grid.Panel#draggable" class="docClass">draggable</a>, this property will contain
1514 an instance of <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a> which handles dragging the Panel.</p>
1515
1516
1517 <p>The developer must provide implementations of the abstract methods of <a href="Ext.dd.DragSource.html" rel="Ext.dd.DragSource" class="docClass">Ext.dd.DragSource</a>
1518 in order to supply behaviour for each stage of the drag/drop process. See <a href="Ext.grid.Panel.html#draggable" rel="Ext.grid.Panel#draggable" class="docClass">draggable</a>.</p>
1519 </div></div></div><div id="property-draggable" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
1520 </div><div class="long"><p>Read-only property indicating whether or not the component can be dragged</p>
1521 </div></div></div><div id="property-floatParent" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
1522
1523
1524 Floa...</div><div class="long"><p>Optional. Only present for <a href="Ext.grid.Panel.html#floating" rel="Ext.grid.Panel#floating" class="docClass">floating</a> Components which were inserted as descendant items of floating Containers.</p>
1525
1526
1527 <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>
1528
1529
1530 <p>For <a href="Ext.grid.Panel.html#floating" rel="Ext.grid.Panel#floating" class="docClass">floating</a> Components which are child items of a Container, the floatParent will be the floating ancestor Container which is
1531 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
1532 z-indexing services for all its descendant floating Components.</p>
1533
1534
1535 <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
1536 <code>floatParent</code></p>
1537
1538
1539 <p>See <a href="Ext.grid.Panel.html#floating" rel="Ext.grid.Panel#floating" class="docClass">floating</a> and <a href="Ext.grid.Panel.html#zIndexManager" rel="Ext.grid.Panel#zIndexManager" class="docClass">zIndexManager</a></p>
1540
1541 </div></div></div><div id="property-frameSize" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1542 to ...</div><div class="long"><p>Read-only property indicating the width of any framing elements which were added within the encapsulating element
1543 to provide graphical, rounded borders. See the <a href="Ext.grid.Panel.html#frame" rel="Ext.grid.Panel#frame" class="docClass">frame</a> config.</p>
1544
1545
1546 <p> This is an object containing the frame width in pixels for all four sides of the Component containing
1547 the following properties:</p>
1548
1549
1550 <div class="mdetail-params"><ul>
1551 <li><code>top</code> The width of the top framing element in pixels.</li>
1552 <li><code>right</code> The width of the right framing element in pixels.</li>
1553 <li><code>bottom</code> The width of the bottom framing element in pixels.</li>
1554 <li><code>left</code> The width of the left framing element in pixels.</li>
1555 </ul></div>
1556
1557 </div></div></div><div id="property-hasActiveFx" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1558 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.Panel.html#getActiveAnimation" rel="Ext.grid.Panel#getActiveAnimation" class="docClass">getActiveAnimation</a>
1559 Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
1560 </div></div></div><div id="property-hasView" class="member inherited"><a href="Ext.grid.Panel.html#property-hasView" rel="property-hasView" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-property-hasView" class="viewSource">view source</a></div><a name="hasView"></a><a name="property-hasView"></a><a href="Ext.grid.Panel.html#" rel="property-hasView" class="cls expand">hasView</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Boolean to indicate that a view has been injected into the panel.</p>
1561 </div><div class="long"><p>Boolean to indicate that a view has been injected into the panel.</p>
1562 </div></div></div><div id="property-items" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
1563 </div><div class="long"><p>The MixedCollection containing all the child items of this container.</p>
1564 </div></div></div><div id="property-maskOnDisable" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
1565 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.
1566 By default this is set to true which means that every component gets a mask when its disabled.
1567 Components like FieldContainer, FieldSet, Field, Button, Tab override this property to false
1568 since they want to implement custom disable logic.</p>
1569 </div></div></div><div id="property-ownerCt" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1570 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
1571 this Component is added to a Container).  Read-only.</p>
1572
1573 <p><b>Note</b>: to access items within the Container see <tt><a href="Ext.grid.Panel.html#itemId" rel="Ext.grid.Panel#itemId" class="docClass">itemId</a></tt>.</p>
1574
1575 </div></div></div><div id="property-rendered" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
1576 </div><div class="long"><p>Read-only property indicating whether or not the component has been rendered.</p>
1577 </div></div></div><div id="property-stopFx" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1578 any additional effects that ...</div><div class="long"><p>Stops any running effects and clears this object's internal effects queue if it contains
1579 any additional effects that haven't started yet.</p>
1580 </div></div></div><div id="property-zIndexManager" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
1581
1582
1583 A reference to the ZIndexManager whic...</div><div class="long"><p>Optional. Only present for <a href="Ext.grid.Panel.html#floating" rel="Ext.grid.Panel#floating" class="docClass">floating</a> Components after they have been rendered.</p>
1584
1585
1586 <p>A reference to the ZIndexManager which is managing this Component's z-index.</p>
1587
1588
1589 <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
1590 mask which is insert just beneath the topmost visible modal floating Component.</p>
1591
1592
1593 <p>Floating Components may be <a href="Ext.grid.Panel.html#toFront" rel="Ext.grid.Panel#toFront" class="docClass">brought to the front</a> or <a href="Ext.grid.Panel.html#toBack" rel="Ext.grid.Panel#toBack" class="docClass">sent to the back</a> of the z-index stack.</p>
1594
1595
1596 <p>This defaults to the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> for floating Components that are programatically
1597 <a href="Ext.Component.html#render" rel="Ext.Component#render" class="docClass">rendered</a>.</p>
1598
1599
1600 <p>For <a href="Ext.grid.Panel.html#floating" rel="Ext.grid.Panel#floating" class="docClass">floating</a> Components which are added to a Container, the ZIndexManager is acquired from the first ancestor Container found
1601 which is floating, or if not found the global <a href="Ext.WindowManager.html" rel="Ext.WindowManager" class="docClass">ZIndexManager</a> is used.</p>
1602
1603
1604 <p>See <a href="Ext.grid.Panel.html#floating" rel="Ext.grid.Panel#floating" class="docClass">floating</a> and <a href="Ext.grid.Panel.html#floatParent" rel="Ext.grid.Panel#floatParent" class="docClass">floatParent</a></p>
1605
1606 </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-Panel" class="member f inherited"><a href="Ext.grid.Panel.html#method-Panel" rel="method-Panel" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-constructor" class="viewSource">view source</a></div><a name="Panel"></a><a name="method-Panel"></a><a href="Ext.grid.Panel.html#" rel="method-Panel" class="cls expand">Panel</a>(
1607 <span class="pre">Object config</span>)
1608  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
1609 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The config object</p>
1610 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1611 </li></ul></div></div></div><div id="method-add" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-add" class="cls expand">add</a>(
1612 <span class="pre">...Object/Array Component</span>)
1613  : Ext.Component/Array</div><div class="description"><div class="short">Adds Component(s) to this Container.
1614
1615 Description:
1616
1617
1618 Fires the beforeadd event before adding.
1619 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>
1620
1621 <h2>Description:</h2>
1622
1623 <ul>
1624 <li>Fires the <a href="Ext.grid.Panel.html#beforeadd" rel="Ext.grid.Panel#beforeadd" class="docClass">beforeadd</a> event before adding.</li>
1625 <li>The Container's <a href="Ext.grid.Panel.html#defaults" rel="Ext.grid.Panel#defaults" class="docClass">default config values</a> will be applied
1626 accordingly (see <code><a href="Ext.grid.Panel.html#defaults" rel="Ext.grid.Panel#defaults" class="docClass">defaults</a></code> for details).</li>
1627 <li>Fires the <code><a href="Ext.grid.Panel.html#add" rel="Ext.grid.Panel#add" class="docClass">add</a></code> event after the component has been added.</li>
1628 </ul>
1629
1630
1631 <h2>Notes:</h2>
1632
1633 <p>If the Container is <strong>already rendered</strong> when <code>add</code>
1634 is called, it will render the newly added Component into its content area.</p>
1635
1636 <p><strong><strong>If</strong></strong> the Container was configured with a size-managing <a href="Ext.grid.Panel.html#layout" rel="Ext.grid.Panel#layout" class="docClass">layout</a> manager, the Container
1637 will recalculate its internal layout at this time too.</p>
1638
1639 <p>Note that the default layout manager simply renders child Components sequentially into the content area and thereafter performs no sizing.</p>
1640
1641 <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>
1642
1643 <pre><code>tb = new <a href="Ext.toolbar.Toolbar.html" rel="Ext.toolbar.Toolbar" class="docClass">Ext.toolbar.Toolbar</a>({
1644     renderTo: document.body
1645 });  // toolbar is rendered
1646 tb.add([{text:'Button 1'}, {text:'Button 2'}]); // add multiple items. (<a href="Ext.grid.Panel.html#defaultType" rel="Ext.grid.Panel#defaultType" class="docClass">defaultType</a> for <a href="Ext.toolbar.Toolbar.html" rel="Ext.toolbar.Toolbar" class="docClass">Toolbar</a> is 'button')
1647 </code></pre>
1648
1649 <h2>Warning:##</h2>
1650
1651 <p>Components directly managed by the BorderLayout layout manager
1652 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>
1653 for more details.</p>
1654 <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.
1655 See <code><a href="Ext.grid.Panel.html#items" rel="Ext.grid.Panel#items" class="docClass">items</a></code> for additional information.</p>
1656 </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>
1657 </li></ul></div></div></div><div id="method-addClass" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-addClass" class="cls expand">addClass</a>(
1658 <span class="pre">String cls</span>)
1659  : Ext.Component</div><div class="description"><div class="short"><p>@deprecated 4.0 Replaced by {link:#addCls}
1660 Adds a CSS class to the top level element representing this component.</p>
1661 </div><div class="long"><p>@deprecated 4.0 Replaced by {link:#addCls}
1662 Adds a CSS class to the top level element representing this component.</p>
1663 <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>
1664 </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>
1665 </li></ul></div></div></div><div id="method-addCls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-addCls" class="cls expand">addCls</a>(
1666 <span class="pre">String cls</span>)
1667  : Ext.Component</div><div class="description"><div class="short"><p>Adds a CSS class to the top level element representing this component.</p>
1668 </div><div class="long"><p>Adds a CSS class to the top level element representing this component.</p>
1669 <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>
1670 </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>
1671 </li></ul></div></div></div><div id="method-addClsWithUI" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-addClsWithUI" class="cls expand">addClsWithUI</a>(
1672 <span class="pre">String/Array cls</span>)
1673  : void</div><div class="description"><div class="short"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.grid.Panel.html#addUIClsToElement" rel="Ext.grid.Panel#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
1674 to all elements of this component.</p>
1675 </div><div class="long"><p>Adds a cls to the uiCls array, which will also call <a href="Ext.grid.Panel.html#addUIClsToElement" rel="Ext.grid.Panel#addUIClsToElement" class="docClass">addUIClsToElement</a> and adds
1676 to all elements of this component.</p>
1677 <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>
1678 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1679 </li></ul></div></div></div><div id="method-addDocked" class="member inherited"><a href="Ext.grid.Panel.html#method-addDocked" rel="method-addDocked" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-method-addDocked" class="viewSource">view source</a></div><a name="addDocked"></a><a name="method-addDocked"></a><a href="Ext.grid.Panel.html#" rel="method-addDocked" class="cls expand">addDocked</a>(
1680 <span class="pre">Object/Array component, [Number pos]</span>)
1681  : void</div><div class="description"><div class="short"><p>Adds docked item(s) to the panel.</p>
1682 </div><div class="long"><p>Adds docked item(s) to the panel.</p>
1683 <h3 class="pa">Parameters</h3><ul><li><span class="pre">component</span> : Object/Array<div class="sub-desc"><p>The Component or array of components to add. The components
1684 must include a 'dock' parameter on each component to indicate where it should be docked ('top', 'right',
1685 'bottom', 'left').</p>
1686 </div></li><li><span class="pre">pos</span> : Number<div class="sub-desc"><p>(optional) The index at which the Component will be added</p>
1687 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1688 </li></ul></div></div></div><div id="method-addEvents" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-addEvents" class="cls expand">addEvents</a>(
1689 <span class="pre">Object/String o, String </span>)
1690  : void</div><div class="description"><div class="short"><p>Adds the specified events to the list of events which this Observable may fire.</p>
1691 </div><div class="long"><p>Adds the specified events to the list of events which this Observable may fire.</p>
1692 <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>
1693 or the first event name string if multiple event names are being passed as separate parameters.</p>
1694 </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.
1695 Usage:</p>
1696
1697 <pre><code>this.addEvents('storeloaded', 'storecleared');
1698 </code></pre>
1699
1700 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1701 </li></ul></div></div></div><div id="method-addListener" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-addListener" class="cls expand">addListener</a>(
1702 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
1703  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object.</p>
1704 </div><div class="long"><p>Appends an event handler to this object.</p>
1705 <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>
1706 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes.</p>
1707 </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.
1708 <b>If omitted, defaults to the object which fired the event.</b></p>
1709 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.
1710 properties. This may contain any of the following properties:<ul>
1711 <li><b>scope</b> : Object<div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
1712 <b>If omitted, defaults to the object which fired the event.</b></div></li>
1713 <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>
1714 <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>
1715 <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
1716 by the specified number of milliseconds. If the event fires again within that time, the original
1717 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
1718 <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>
1719 if the event was bubbled up from a child Observable.</div></li>
1720 <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>
1721 The name of a Component property which references an element to add a listener to.</p>
1722
1723 <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
1724 will exist only after the Component is rendered. For example, to add a click listener to a Panel's body:
1725 <pre><code>new Ext.panel.Panel({
1726     title: 'The title',
1727     listeners: {
1728         click: this.handlePanelClick,
1729         element: 'body'
1730     }
1731 });
1732 </code></pre></p>
1733
1734
1735 <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>
1736
1737
1738 <p></div></li>
1739 </ul><br></p>
1740
1741 <p>
1742 <b>Combining Options</b><br>
1743 Using the options argument, it is possible to combine different types of listeners:<br>
1744 <br>
1745 A delayed, one-time listener.
1746 <pre><code>myPanel.on('hide', this.handleClick, this, {
1747 single: true,
1748 delay: 100
1749 });</code></pre>
1750 <p>
1751 <b>Attaching multiple handlers in 1 call</b><br>
1752 The method also allows for a single argument to be passed which is a config object containing properties
1753 which specify multiple events. For example:
1754 <pre><code>myGridPanel.on({
1755     cellClick: this.onCellClick,
1756     mouseover: this.onMouseOver,
1757     mouseout: this.onMouseOut,
1758     scope: this // Important. Ensure "this" is correct during handler execution
1759 });
1760 </code></pre>.
1761 <p>
1762
1763 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1764 </li></ul></div></div></div><div id="method-addManagedListener" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-addManagedListener" class="cls expand">addManagedListener</a>(
1765 <span class="pre">Observable/Element item, Object/String ename, Function fn, Object scope, Object opt</span>)
1766  : void</div><div class="description"><div class="short"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
1767 is destroyed.
1768
1769 </div><div class="long"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
1770 is destroyed.
1771
1772 <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>
1773 </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>
1774 </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
1775 is the handler function.</p>
1776 </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
1777 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
1778 </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
1779 is the <a href="Ext.util.Observable.html#addListener" rel="Ext.util.Observable#addListener" class="docClass">addListener</a> options.</p>
1780 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1781 </li></ul></div></div></div><div id="method-addStateEvents" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-addStateEvents" class="cls expand">addStateEvents</a>(
1782 <span class="pre">String/Array events</span>)
1783  : void</div><div class="description"><div class="short"><p>Add events that will trigger the state to be saved.</p>
1784 </div><div class="long"><p>Add events that will trigger the state to be saved.</p>
1785 <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>
1786 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1787 </li></ul></div></div></div><div id="method-afterComponentLayout" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-afterComponentLayout" class="cls expand">afterComponentLayout</a>(
1788 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1789  : void</div><div class="description"><div class="short"><p>&nbsp;</p></div><div class="long">
1790 <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>
1791 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1792 </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>
1793 </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>
1794 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1795 </li></ul></div></div></div><div id="method-alignTo" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-alignTo" class="cls expand">alignTo</a>(
1796 <span class="pre">Mixed element, String position, [Array offsets]</span>)
1797  : Component</div><div class="description"><div class="short"><p>Aligns this floating Component to the specified element</p>
1798 </div><div class="long"><p>Aligns this floating Component to the specified element</p>
1799 <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
1800 be a omponent instance. If a string id is passed, it will be used as an element id.</p>
1801 </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>
1802 </div></li><li><span class="pre">offsets</span> : Array<div class="sub-desc"><p>(optional) Offset the positioning by [x, y]</p>
1803 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1804 </li></ul></div></div></div><div id="method-animate" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-animate" class="cls expand">animate</a>(
1805 <span class="pre">Object config</span>)
1806  : Object</div><div class="description"><div class="short">Perform custom animation on this object.
1807 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>
1808 <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.
1809 It performs animated transitions of certain properties of this object over a specified timeline.</p>
1810 <p>The sole parameter is an object which specifies start property values, end property values, and properties which
1811 describe the timeline. Of the properties listed below, only <b><code>to</code></b> is mandatory.</p>
1812 <p>Properties include<ul>
1813 <li><code>from</code> <div class="sub-desc">An object which specifies start values for the properties being animated.
1814 If not supplied, properties are animated from current settings. The actual properties which may be animated depend upon
1815 ths object being animated. See the sections below on Element and Component animation.<div></li>
1816 <li><code>to</code> <div class="sub-desc">An object which specifies end values for the properties being animated.</div></li>
1817 <li><code>duration</code><div class="sub-desc">The duration <b>in milliseconds</b> for which the animation will run.</div></li>
1818 <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>
1819 <li>ease</li>
1820 <li>easeIn</li>
1821 <li>easeOut</li>
1822 <li>easeInOut</li>
1823 <li>backIn</li>
1824 <li>backOut</li>
1825 <li>elasticIn</li>
1826 <li>elasticOut</li>
1827 <li>bounceIn</li>
1828 <li>bounceOut</li>
1829 </ul></code></div></li>
1830 <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.
1831 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>
1832 <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
1833 to inject behaviour at either the <code>beforeanimate</code> event or the <code>afteranimate</code> event.</div></li>
1834 </ul></p>
1835 <h3>Animating an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Element</a></h3>
1836 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1837 <li><code>x</code> <div class="sub-desc">The page X position in pixels.</div></li>
1838 <li><code>y</code> <div class="sub-desc">The page Y position in pixels</div></li>
1839 <li><code>left</code> <div class="sub-desc">The element's CSS <code>left</code> value. Units must be supplied.</div></li>
1840 <li><code>top</code> <div class="sub-desc">The element's CSS <code>top</code> value. Units must be supplied.</div></li>
1841 <li><code>width</code> <div class="sub-desc">The element's CSS <code>width</code> value. Units must be supplied.</div></li>
1842 <li><code>height</code> <div class="sub-desc">The element's CSS <code>height</code> value. Units must be supplied.</div></li>
1843 <li><code>scrollLeft</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1844 <li><code>scrollTop</code> <div class="sub-desc">The element's <code>scrollLeft</code> value.</div></li>
1845 <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>
1846 </ul>
1847 <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
1848 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
1849 directly animate certain properties of Components.</b></p>
1850 <h3>Animating a <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a></h3>
1851 When animating an Element, the following properties may be specified in <code>from</code>, <code>to</code>, and <code>keyframe</code> objects:<ul>
1852 <li><code>x</code> <div class="sub-desc">The Component's page X position in pixels.</div></li>
1853 <li><code>y</code> <div class="sub-desc">The Component's page Y position in pixels</div></li>
1854 <li><code>left</code> <div class="sub-desc">The Component's <code>left</code> value in pixels.</div></li>
1855 <li><code>top</code> <div class="sub-desc">The Component's <code>top</code> value in pixels.</div></li>
1856 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1857 <li><code>width</code> <div class="sub-desc">The Component's <code>width</code> value in pixels.</div></li>
1858 <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
1859 of the animation. <i>Use sparingly as laying out on every intermediate size change is an expensive operation</i>.</div></li>
1860 </ul>
1861 <p>For example, to animate a Window to a new size, ensuring that its internal layout, and any shadow is correct:</p>
1862 <pre><code>myWindow = Ext.create('Ext.window.Window', {
1863     title: 'Test Component animation',
1864     width: 500,
1865     height: 300,
1866     layout: {
1867         type: 'hbox',
1868         align: 'stretch'
1869     },
1870     items: [{
1871         title: 'Left: 33%',
1872         margins: '5 0 5 5',
1873         flex: 1
1874     }, {
1875         title: 'Left: 66%',
1876         margins: '5 5 5 5',
1877         flex: 2
1878     }]
1879 });
1880 myWindow.show();
1881 myWindow.header.el.on('click', function() {
1882     myWindow.animate({
1883         to: {
1884             width: (myWindow.getWidth() == 500) ? 700 : 500,
1885             height: (myWindow.getHeight() == 300) ? 400 : 300,
1886         }
1887     });
1888 });
1889 </code></pre>
1890 <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
1891 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>
1892
1893 <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>
1894 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>this</p>
1895 </li></ul></div></div></div><div id="method-applyState" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-applyState" class="cls expand">applyState</a>(
1896 <span class="pre">Object state</span>)
1897  : void</div><div class="description"><div class="short">Applies the state to the object. This should be overridden in subclasses to do
1898 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
1899 more complex state operations. By default it applies the state properties onto
1900 the current object.</p>
1901 <h3 class="pa">Parameters</h3><ul><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The state</p>
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-beforeComponentLayout" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-beforeComponentLayout" class="cls expand">beforeComponentLayout</a>(
1904 <span class="pre">Number adjWidth, Number adjHeight, Boolean isSetSize, Ext.Component layoutOwner</span>)
1905  : void</div><div class="description"><div class="short">Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1906 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the componentLayout
1907 from being executed.</p>
1908 <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>
1909 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
1910 </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>
1911 </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>
1912 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1913 </li></ul></div></div></div><div id="method-beforeLayout" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
1914 from being ex...</div><div class="long"><p>Occurs before componentLayout is run. Returning false from this method will prevent the containerLayout
1915 from being executed.</p>
1916 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1917 </li></ul></div></div></div><div id="method-bubble" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-bubble" class="cls expand">bubble</a>(
1918 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1919  : 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
1920 function call will be the scope provided or the current component. The arguments to the function
1921 will be the args provided or the current component. If the function returns false at any point,
1922 the bubble is stopped.</p>
1923 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1924 </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>
1925 </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>
1926 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
1927 </li></ul></div></div></div><div id="method-capture" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-capture" class="cls expand">capture</a>(
1928 <span class="pre">Observable o, Function fn, [Object scope]</span>)
1929  : void</div><div class="description"><div class="short">Starts capture on the specified Observable. All events will be passed
1930 to the supplied function with the event name + ...</div><div class="long"><p>Starts capture on the specified Observable. All events will be passed
1931 to the supplied function with the event name + standard signature of the event
1932 <b>before</b> the event is fired. If the supplied function returns false,
1933 the event will not fire.</p>
1934 <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>
1935 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call when an event is fired.</p>
1936 </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>
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-cascade" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-cascade" class="cls expand">cascade</a>(
1939 <span class="pre">Function fn, [Object scope], [Array args]</span>)
1940  : 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
1941 each component. The scope (<code>this</code> reference) of the
1942 function call will be the scope provided or the current component. The arguments to the function
1943 will be the args provided or the current component. If the function returns false at any point,
1944 the cascade is stopped on that branch.</p>
1945 <h3 class="pa">Parameters</h3><ul><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
1946 </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>
1947 </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>
1948 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Container</span>&nbsp; &nbsp;<p>this</p>
1949 </li></ul></div></div></div><div id="method-center" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
1950 </div><div class="long"><p>Center this Component in its container.</p>
1951 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
1952 </li></ul></div></div></div><div id="method-child" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-child" class="cls expand">child</a>(
1953 <span class="pre">String selector</span>)
1954  : void</div><div class="description"><div class="short">Retrieves the first direct child of this container which matches the passed selector.
1955 The passed in selector must com...</div><div class="long"><p>Retrieves the first direct child of this container which matches the passed selector.
1956 The passed in selector must comply with an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector.</p>
1957 <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>
1958 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component</p>
1959 </li></ul></div></div></div><div id="method-clearListeners" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
1960 </div><div class="long"><p>Removes all listeners for this object including the managed listeners</p>
1961 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1962 </li></ul></div></div></div><div id="method-clearManagedListeners" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
1963 </div><div class="long"><p>Removes all managed listeners for this object.</p>
1964 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1965 </li></ul></div></div></div><div id="method-cloneConfig" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-cloneConfig" class="cls expand">cloneConfig</a>(
1966 <span class="pre">Object overrides</span>)
1967  : 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>
1968 </div><div class="long"><p>Clone the current component using the original config values passed into this instance by default.</p>
1969 <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.
1970 An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</p>
1971 </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>
1972 </li></ul></div></div></div><div id="method-close" class="member inherited"><a href="Ext.grid.Panel.html#method-close" rel="method-close" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-close" class="viewSource">view source</a></div><a name="close"></a><a name="method-close"></a><a href="Ext.grid.Panel.html#" rel="method-close" class="cls expand">close</a> : void</div><div class="description"><div class="short">Closes the Panel. By default, this method, removes it from the DOM, destroys
1973 the Panel object and all its descendant ...</div><div class="long"><p>Closes the Panel. By default, this method, removes it from the DOM, <a href="Ext.Component.html#destroy" rel="Ext.Component#destroy" class="docClass">destroy</a>s
1974 the Panel object and all its descendant Components. The <a href="Ext.grid.Panel.html#beforeclose" rel="Ext.grid.Panel#beforeclose" class="docClass">beforeclose</a>
1975 event is fired before the close happens and will cancel the close action if it returns false.<p>
1976 <p><b>Note:</b> This method is not affected by the <a href="Ext.grid.Panel.html#closeAction" rel="Ext.grid.Panel#closeAction" class="docClass">closeAction</a> setting which
1977 only affects the action triggered when clicking the <a href="Ext.grid.Panel.html#closable" rel="Ext.grid.Panel#closable" class="docClass">'close' tool in the header</a>.
1978 To hide the Panel without destroying it, call <a href="Ext.grid.Panel.html#hide" rel="Ext.grid.Panel#hide" class="docClass">hide</a>.</p>
1979
1980 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1981 </li></ul></div></div></div><div id="method-collapse" class="member inherited"><a href="Ext.grid.Panel.html#method-collapse" rel="method-collapse" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-collapse" class="viewSource">view source</a></div><a name="collapse"></a><a name="method-collapse"></a><a href="Ext.grid.Panel.html#" rel="method-collapse" class="cls expand">collapse</a>(
1982 <span class="pre">Number direction, Boolean animate, Object internal</span>)
1983  : Ext.panel.Panel</div><div class="description"><div class="short">Collapses the panel body so that the body becomes hidden. Docked Components parallel to the
1984 border towards which the ...</div><div class="long"><p>Collapses the panel body so that the body becomes hidden. Docked Components parallel to the
1985 border towards which the collapse takes place will remain visible.  Fires the <a href="Ext.grid.Panel.html#beforecollapse" rel="Ext.grid.Panel#beforecollapse" class="docClass">beforecollapse</a> event which will
1986 cancel the collapse action if it returns false.</p>
1987 <h3 class="pa">Parameters</h3><ul><li><span class="pre">direction</span> : Number<div class="sub-desc"><p>. The direction to collapse towards. Must be one of<ul>
1988 <li>Ext.Component.DIRECTION_TOP</li>
1989 <li>Ext.Component.DIRECTION_RIGHT</li>
1990 <li>Ext.Component.DIRECTION_BOTTOM</li>
1991 <li>Ext.Component.DIRECTION_LEFT</li></ul></p>
1992 </div></li><li><span class="pre">animate</span> : Boolean<div class="sub-desc"><p>True to animate the transition, else false (defaults to the value of the
1993 <a href="Ext.grid.Panel.html#animCollapse" rel="Ext.grid.Panel#animCollapse" class="docClass">animCollapse</a> panel config)</p>
1994 </div></li><li><span class="pre">internal</span> : Object<div class="sub-desc">
1995 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.panel.Panel</span>&nbsp; &nbsp;<p>this</p>
1996 </li></ul></div></div></div><div id="method-destroy" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-destroy" class="cls expand">destroy</a> : void</div><div class="description"><div class="short"><p>Destroys this stateful object.</p>
1997 </div><div class="long"><p>Destroys this stateful object.</p>
1998 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1999 </li></ul></div></div></div><div id="method-determineScrollbars" class="member inherited"><a href="Ext.grid.Panel.html#method-determineScrollbars" rel="method-determineScrollbars" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-method-determineScrollbars" class="viewSource">view source</a></div><a name="determineScrollbars"></a><a name="method-determineScrollbars"></a><a href="Ext.grid.Panel.html#" rel="method-determineScrollbars" class="cls expand">determineScrollbars</a> : void</div><div class="description"><div class="short"><p>Request a recalculation of scrollbars and put them in if they are needed.</p>
2000 </div><div class="long"><p>Request a recalculation of scrollbars and put them in if they are needed.</p>
2001 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2002 </li></ul></div></div></div><div id="method-disable" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-disable" class="cls expand">disable</a>(
2003 <span class="pre">Boolean silent</span>)
2004  : void</div><div class="description"><div class="short"><p>Disable the component.</p>
2005 </div><div class="long"><p>Disable the component.</p>
2006 <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>
2007 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2008 </li></ul></div></div></div><div id="method-doAutoRender" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-doAutoRender" class="cls expand">doAutoRender</a> : void</div><div class="description"><div class="short">Handles autoRender.
2009 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them wit...</div><div class="long"><p>Handles autoRender.
2010 Floating Components may have an ownerCt. If they are asking to be constrained, constrain them within that
2011 ownerCt, and have their z-index managed locally. Floating Components are always rendered to document.body</p>
2012 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2013 </li></ul></div></div></div><div id="method-doComponentLayout" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-doComponentLayout" class="cls expand">doComponentLayout</a>(
2014 <span class="pre">Object width, Object height, Object isSetSize, Object ownerCt</span>)
2015  : 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
2016 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
2017 layout to be recalculated.</p>
2018 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Object<div class="sub-desc">
2019 </div></li><li><span class="pre">height</span> : Object<div class="sub-desc">
2020 </div></li><li><span class="pre">isSetSize</span> : Object<div class="sub-desc">
2021 </div></li><li><span class="pre">ownerCt</span> : Object<div class="sub-desc">
2022 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
2023 </li></ul></div></div></div><div id="method-doConstrain" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-doConstrain" class="cls expand">doConstrain</a>(
2024 <span class="pre">Mixed constrainTo</span>)
2025  : void</div><div class="description"><div class="short">Moves this floating Component into a constrain region.
2026
2027
2028 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>
2029
2030
2031 <p>By default, this Component is constrained to be within the container it was added to, or the element
2032 it was rendered to.</p>
2033
2034
2035 <p>An alternative constraint may be passed.</p>
2036
2037 <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>
2038 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2039 </li></ul></div></div></div><div id="method-doLayout" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
2040 form...</div><div class="long"><p>Manually force this container's layout to be recalculated.  The framwork uses this internally to refresh layouts
2041 form most cases.</p>
2042 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>this</p>
2043 </li></ul></div></div></div><div id="method-down" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-down" class="cls expand">down</a>(
2044 <span class="pre">String selector</span>)
2045  : void</div><div class="description"><div class="short">Retrieves the first descendant of this container which matches the passed selector.
2046 The passed in selector must compl...</div><div class="long"><p>Retrieves the first descendant of this container which matches the passed selector.
2047 The passed in selector must comply with an <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">Ext.ComponentQuery</a> selector.</p>
2048 <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>
2049 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;<p>Ext.Component</p>
2050 </li></ul></div></div></div><div id="method-enable" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-enable" class="cls expand">enable</a>(
2051 <span class="pre">Boolean silent</span>)
2052  : void</div><div class="description"><div class="short"><p>Enable the component</p>
2053 </div><div class="long"><p>Enable the component</p>
2054 <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>
2055 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2056 </li></ul></div></div></div><div id="method-enableBubble" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-enableBubble" class="cls expand">enableBubble</a>(
2057 <span class="pre">String/Array events</span>)
2058  : void</div><div class="description"><div class="short">Enables events fired by this Observable to bubble up an owner hierarchy by calling
2059 this.getBubbleTarget() if present....</div><div class="long"><p>Enables events fired by this Observable to bubble up an owner hierarchy by calling
2060 <code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>
2061
2062
2063 <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
2064 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
2065 access the required target more quickly.</p>
2066
2067
2068 <p>Example:</p>
2069
2070
2071 <pre><code>Ext.override(Ext.form.field.Base, {
2072 //  Add functionality to Field&#39;s initComponent to enable the change event to bubble
2073 initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {
2074     this.enableBubble('change');
2075 }),
2076
2077 //  We know that we want Field&#39;s events to bubble directly to the FormPanel.
2078 getBubbleTarget : function() {
2079     if (!this.formPanel) {
2080         this.formPanel = this.findParentByType('form');
2081     }
2082     return this.formPanel;
2083 }
2084 });
2085
2086 var myForm = new Ext.formPanel({
2087 title: 'User Details',
2088 items: [{
2089     ...
2090 }],
2091 listeners: {
2092     change: function() {
2093         // Title goes red if form has been modified.
2094         myForm.header.setStyle('color', 'red');
2095     }
2096 }
2097 });
2098 </code></pre>
2099
2100 <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>
2101 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2102 </li></ul></div></div></div><div id="method-expand" class="member inherited"><a href="Ext.grid.Panel.html#method-expand" rel="method-expand" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-expand" class="viewSource">view source</a></div><a name="expand"></a><a name="method-expand"></a><a href="Ext.grid.Panel.html#" rel="method-expand" class="cls expand">expand</a>(
2103 <span class="pre">Boolean animate</span>)
2104  : Ext.panel.Panel</div><div class="description"><div class="short">Expands the panel body so that it becomes visible.  Fires the beforeexpand event which will
2105 cancel the expand action ...</div><div class="long"><p>Expands the panel body so that it becomes visible.  Fires the <a href="Ext.grid.Panel.html#beforeexpand" rel="Ext.grid.Panel#beforeexpand" class="docClass">beforeexpand</a> event which will
2106 cancel the expand action if it returns false.</p>
2107 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animate</span> : Boolean<div class="sub-desc"><p>True to animate the transition, else false (defaults to the value of the
2108 <a href="Ext.grid.Panel.html#animCollapse" rel="Ext.grid.Panel#animCollapse" class="docClass">animCollapse</a> panel config)</p>
2109 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.panel.Panel</span>&nbsp; &nbsp;<p>this</p>
2110 </li></ul></div></div></div><div id="method-findLayoutController" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
2111 ...</div><div class="long"><p>This method finds the topmost active layout who's processing will eventually determine the size and position of this
2112 Component.<p>
2113 <p>This method is useful when dynamically adding Components into Containers, and some processing must take place after the
2114 final sizing and positioning of the Component has been performed.</p>
2115
2116 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2117 </li></ul></div></div></div><div id="method-findParentBy" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-findParentBy" class="cls expand">findParentBy</a>(
2118 <span class="pre">Function fn</span>)
2119  : 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
2120 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
2121 true, the container will be returned.</p>
2122 <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>
2123 </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>
2124 </li></ul></div></div></div><div id="method-findParentByType" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-findParentByType" class="cls expand">findParentByType</a>(
2125 <span class="pre">String/Class xtype</span>)
2126  : 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>
2127
2128
2129 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
2130
2131 </div><div class="long"><p>Find a container above this component at any level by xtype or class</p>
2132
2133
2134 <p>See also the <a href="Ext.Component.html#up" rel="Ext.Component#up" class="docClass">up</a> method.</p>
2135
2136 <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>
2137 </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>
2138 </li></ul></div></div></div><div id="method-fireEvent" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-fireEvent" class="cls expand">fireEvent</a>(
2139 <span class="pre">String eventName, Object... args</span>)
2140  : Boolean</div><div class="description"><div class="short">Fires the specified event with the passed parameters (minus the event name).
2141
2142
2143 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>
2144
2145
2146 <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>)
2147 by calling <a href="Ext.grid.Panel.html#enableBubble" rel="Ext.grid.Panel#enableBubble" class="docClass">enableBubble</a>.</p>
2148
2149 <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>
2150 </div></li><li><span class="pre">args</span> : Object...<div class="sub-desc"><p>Variable number of parameters are passed to handlers.</p>
2151 </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>
2152 </li></ul></div></div></div><div id="method-focus" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-focus" class="cls expand">focus</a>(
2153 <span class="pre">[Boolean selectText], [Boolean/Number delay]</span>)
2154  : Ext.Component</div><div class="description"><div class="short"><p>Try to focus this component.</p>
2155 </div><div class="long"><p>Try to focus this component.</p>
2156 <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>
2157 </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>
2158 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2159 </li></ul></div></div></div><div id="method-getActiveAnimation" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2160 </div><div class="long"><p>Returns thq current animation if this object has any effects actively running or queued, else returns false.</p>
2161 <h3 class="pa">Returns</h3><ul><li><span class="pre">Mixed</span>&nbsp; &nbsp;<p>anim if element has active effects, else false</p>
2162 </li></ul></div></div></div><div id="method-getBox" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-getBox" class="cls expand">getBox</a>(
2163 <span class="pre">[Boolean local]</span>)
2164  : Object</div><div class="description"><div class="short"><p>Gets the current box measurements of the component's underlying element.</p>
2165 </div><div class="long"><p>Gets the current box measurements of the component's underlying element.</p>
2166 <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>
2167 </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>
2168 </li></ul></div></div></div><div id="method-getBubbleTarget" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2169 </div><div class="long"><p>Provides the link for Observable's fireEvent method to bubble up the ownership hierarchy.</p>
2170 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.container.Container</span>&nbsp; &nbsp;<p>the Container which owns this Component.</p>
2171 </li></ul></div></div></div><div id="method-getChildByElement" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-getChildByElement" class="cls expand">getChildByElement</a>(
2172 <span class="pre">Object el</span>)
2173  : Component</div><div class="description"><div class="short"><p>Return the immediate child Component in which the passed element is located.</p>
2174 </div><div class="long"><p>Return the immediate child Component in which the passed element is located.</p>
2175 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Object<div class="sub-desc"><p>The element to test.</p>
2176 </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>
2177 </li></ul></div></div></div><div id="method-getComponent" class="member inherited"><a href="Ext.grid.Panel.html#method-getComponent" rel="method-getComponent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-method-getComponent" class="viewSource">view source</a></div><a name="getComponent"></a><a name="method-getComponent"></a><a href="Ext.grid.Panel.html#" rel="method-getComponent" class="cls expand">getComponent</a>(
2178 <span class="pre">String/Number comp</span>)
2179  : Ext.Component</div><div class="description"><div class="short">Attempts a default component lookup (see Ext.container.Container.getComponent). If the component is not found in the ...</div><div class="long"><p>Attempts a default component lookup (see <a href="Ext.container.Container.html#getComponent" rel="Ext.container.Container#getComponent" class="docClass">Ext.container.Container.getComponent</a>). If the component is not found in the normal
2180 items, the dockedItems are searched and the matched component (if any) returned (see {@loink #getDockedComponent}). Note that docked
2181 items will only be matched by component id or itemId -- if you pass a numeric index only non-docked child components will be searched.</p>
2182 <h3 class="pa">Parameters</h3><ul><li><span class="pre">comp</span> : String/Number<div class="sub-desc"><p>The component id, itemId or position to find</p>
2183 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>The component (if found)</p>
2184 </li></ul></div></div></div><div id="method-getDockedComponent" class="member inherited"><a href="Ext.grid.Panel.html#method-getDockedComponent" rel="method-getDockedComponent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-method-getDockedComponent" class="viewSource">view source</a></div><a name="getDockedComponent"></a><a name="method-getDockedComponent"></a><a href="Ext.grid.Panel.html#" rel="method-getDockedComponent" class="cls expand">getDockedComponent</a>(
2185 <span class="pre">String/Number comp</span>)
2186  : Ext.Component</div><div class="description"><div class="short"><p>Finds a docked component by id, itemId or position. Also see <a href="Ext.grid.Panel.html#getDockedItems" rel="Ext.grid.Panel#getDockedItems" class="docClass">getDockedItems</a></p>
2187 </div><div class="long"><p>Finds a docked component by id, itemId or position. Also see <a href="Ext.grid.Panel.html#getDockedItems" rel="Ext.grid.Panel#getDockedItems" class="docClass">getDockedItems</a></p>
2188 <h3 class="pa">Parameters</h3><ul><li><span class="pre">comp</span> : String/Number<div class="sub-desc"><p>The id, itemId or position of the docked component (see <a href="Ext.grid.Panel.html#getComponent" rel="Ext.grid.Panel#getComponent" class="docClass">getComponent</a> for details)</p>
2189 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>The docked component (if found)</p>
2190 </li></ul></div></div></div><div id="method-getDockedItems" class="member inherited"><a href="Ext.grid.Panel.html#method-getDockedItems" rel="method-getDockedItems" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-method-getDockedItems" class="viewSource">view source</a></div><a name="getDockedItems"></a><a name="method-getDockedItems"></a><a href="Ext.grid.Panel.html#" rel="method-getDockedItems" class="cls expand">getDockedItems</a>(
2191 <span class="pre">String cqSelector</span>)
2192  : Array</div><div class="description"><div class="short"><p>Retrieve an array of all currently docked Components.</p>
2193 </div><div class="long"><p>Retrieve an array of all currently docked Components.</p>
2194 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cqSelector</span> : String<div class="sub-desc"><p>A <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector string to filter the returned items.</p>
2195 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>An array of components.</p>
2196 </li></ul></div></div></div><div id="method-getEl" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2197 </div><div class="long"><p>Retrieves the top level element representing this component.</p>
2198 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2199 </li></ul></div></div></div><div id="method-getHeight" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2200 </div><div class="long"><p>Gets the current height of the component's underlying element.</p>
2201 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
2202 </li></ul></div></div></div><div id="method-getId" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-getId" class="cls expand">getId</a> : void</div><div class="description"><div class="short"><p>Retrieves the id of this component.
2203 Will autogenerate an id if one has not already been set.</p>
2204 </div><div class="long"><p>Retrieves the id of this component.
2205 Will autogenerate an id if one has not already been set.</p>
2206 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2207 </li></ul></div></div></div><div id="method-getInsertPosition" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-getInsertPosition" class="cls expand">getInsertPosition</a>(
2208 <span class="pre">String/Number/Element/HTMLElement position</span>)
2209  : HTMLElement</div><div class="description"><div class="short">This function takes the position argument passed to onRender and returns a
2210 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
2211 DOM element that you can use in the insertBefore.</p>
2212 <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
2213 to put this component before.</p>
2214 </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>
2215 </li></ul></div></div></div><div id="method-getLayout" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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.
2216 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.
2217 If a layout has not been instantiated yet, that is done first</p>
2218 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.layout.container.AbstractContainer</span>&nbsp; &nbsp;<p>The layout</p>
2219 </li></ul></div></div></div><div id="method-getLoader" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2220 </div><div class="long"><p>Gets the <a href="Ext.ComponentLoader.html" rel="Ext.ComponentLoader" class="docClass">Ext.ComponentLoader</a> for this Component.</p>
2221 <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>
2222 </li></ul></div></div></div><div id="method-getPlugin" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-getPlugin" class="cls expand">getPlugin</a>(
2223 <span class="pre">Object pluginId</span>)
2224  : Ext.AbstractPlugin</div><div class="description"><div class="short"><p>Retrieves a plugin by its pluginId which has been bound to this
2225 component.</p>
2226 </div><div class="long"><p>Retrieves a plugin by its pluginId which has been bound to this
2227 component.</p>
2228 <h3 class="pa">Parameters</h3><ul><li><span class="pre">pluginId</span> : Object<div class="sub-desc">
2229 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.AbstractPlugin</span>&nbsp; &nbsp;<p>pluginInstance</p>
2230 </li></ul></div></div></div><div id="method-getPosition" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-getPosition" class="cls expand">getPosition</a>(
2231 <span class="pre">[Boolean local]</span>)
2232  : Array</div><div class="description"><div class="short"><p>Gets the current XY position of the component's underlying element.</p>
2233 </div><div class="long"><p>Gets the current XY position of the component's underlying element.</p>
2234 <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>
2235 </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>
2236 </li></ul></div></div></div><div id="method-getSelectionModel" class="member inherited"><a href="Ext.grid.Panel.html#method-getSelectionModel" rel="method-getSelectionModel" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-method-getSelectionModel" class="viewSource">view source</a></div><a name="getSelectionModel"></a><a name="method-getSelectionModel"></a><a href="Ext.grid.Panel.html#" rel="method-getSelectionModel" class="cls expand">getSelectionModel</a> : Ext.selection.Model</div><div class="description"><div class="short"><p>Returns the selection model being used and creates it via the configuration
2237 if it has not been created already.</p>
2238 </div><div class="long"><p>Returns the selection model being used and creates it via the configuration
2239 if it has not been created already.</p>
2240 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.selection.Model</span>&nbsp; &nbsp;<p>selModel</p>
2241 </li></ul></div></div></div><div id="method-getSize" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2242 </div><div class="long"><p>Gets the current size of the component's underlying element.</p>
2243 <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>
2244 </li></ul></div></div></div><div id="method-getState" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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,
2245 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,
2246 it should be overridden in subclasses to implement methods for getting the state.</p>
2247 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The current state</p>
2248 </li></ul></div></div></div><div id="method-getStateId" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2249 </div><div class="long"><p>Gets the state id for this object.</p>
2250 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The state id, null if not found.</p>
2251 </li></ul></div></div></div><div id="method-getStore" class="member inherited"><a href="Ext.grid.Panel.html#method-getStore" rel="method-getStore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-method-getStore" class="viewSource">view source</a></div><a name="getStore"></a><a name="method-getStore"></a><a href="Ext.grid.Panel.html#" rel="method-getStore" class="cls expand">getStore</a> : Ext.data.Store</div><div class="description"><div class="short"><p>Returns the store associated with this Panel.</p>
2252 </div><div class="long"><p>Returns the store associated with this Panel.</p>
2253 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.data.Store</span>&nbsp; &nbsp;<p>The store</p>
2254 </li></ul></div></div></div><div id="method-getView" class="member inherited"><a href="Ext.grid.Panel.html#method-getView" rel="method-getView" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-method-getView" class="viewSource">view source</a></div><a name="getView"></a><a name="method-getView"></a><a href="Ext.grid.Panel.html#" rel="method-getView" class="cls expand">getView</a> : Ext.view.Table</div><div class="description"><div class="short"><p>Gets the view for this panel.</p>
2255 </div><div class="long"><p>Gets the view for this panel.</p>
2256 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.view.Table</span>&nbsp; &nbsp;
2257 </li></ul></div></div></div><div id="method-getWidth" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2258 </div><div class="long"><p>Gets the current width of the component's underlying element.</p>
2259 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
2260 </li></ul></div></div></div><div id="method-getXType" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
2261 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
2262 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header. Example usage:</p>
2263
2264 <pre><code>var t = new Ext.form.field.Text();
2265 alert(t.getXType());  // alerts 'textfield'
2266 </code></pre>
2267
2268 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype</p>
2269 </li></ul></div></div></div><div id="method-getXTypes" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
2270 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
2271 available xtypes, see the <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> header.</p>
2272
2273
2274 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
2275 to participate in determination of inherited xtypes.</b></p>
2276
2277
2278 <p>Example usage:</p>
2279
2280
2281 <pre><code>var t = new Ext.form.field.Text();
2282 alert(t.getXTypes());  // alerts 'component/field/textfield'
2283 </code></pre>
2284
2285 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The xtype hierarchy string</p>
2286 </li></ul></div></div></div><div id="method-hasListener" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-hasListener" class="cls expand">hasListener</a>(
2287 <span class="pre">String eventName</span>)
2288  : Boolean</div><div class="description"><div class="short"><p>Checks to see if this object has any listeners for a specified event</p>
2289 </div><div class="long"><p>Checks to see if this object has any listeners for a specified event</p>
2290 <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>
2291 </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>
2292 </li></ul></div></div></div><div id="method-hasUICls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-hasUICls" class="cls expand">hasUICls</a>(
2293 <span class="pre">String cls</span>)
2294  : void</div><div class="description"><div class="short"><p>Checks if there is currently a specified uiCls</p>
2295 </div><div class="long"><p>Checks if there is currently a specified uiCls</p>
2296 <h3 class="pa">Parameters</h3><ul><li><span class="pre">cls</span> : String<div class="sub-desc"><p>The cls to check</p>
2297 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2298 </li></ul></div></div></div><div id="method-hide" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-hide" class="cls expand">hide</a>(
2299 <span class="pre">String/Element/Component animateTarget, [Function callback], [Object scope]</span>)
2300  : Ext.Component</div><div class="description"><div class="short"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.grid.Panel.html#hideMode" rel="Ext.grid.Panel#hideMode" class="docClass">hideMode</a>.</p>
2301 </div><div class="long"><p>Hides this Component, setting it to invisible using the configured <a href="Ext.grid.Panel.html#hideMode" rel="Ext.grid.Panel#hideMode" class="docClass">hideMode</a>.</p>
2302 <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.Panel.html#floating" rel="Ext.grid.Panel#floating" class="docClass">floating</a> Components such as
2303 <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
2304 with <code>floating: true</code>.</b>.
2305 The target to which the Component should animate while hiding (defaults to null with no animation)</p>
2306 </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>
2307 </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>
2308 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2309 </li></ul></div></div></div><div id="method-hideHorizontalScroller" class="member inherited"><a href="Ext.grid.Panel.html#method-hideHorizontalScroller" rel="method-hideHorizontalScroller" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-method-hideHorizontalScroller" class="viewSource">view source</a></div><a name="hideHorizontalScroller"></a><a name="method-hideHorizontalScroller"></a><a href="Ext.grid.Panel.html#" rel="method-hideHorizontalScroller" class="cls expand">hideHorizontalScroller</a> : void</div><div class="description"><div class="short"><p>Hide the verticalScroller and remove the horizontalScrollerPresentCls.</p>
2310 </div><div class="long"><p>Hide the verticalScroller and remove the horizontalScrollerPresentCls.</p>
2311 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2312 </li></ul></div></div></div><div id="method-hideVerticalScroller" class="member inherited"><a href="Ext.grid.Panel.html#method-hideVerticalScroller" rel="method-hideVerticalScroller" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-method-hideVerticalScroller" class="viewSource">view source</a></div><a name="hideVerticalScroller"></a><a name="method-hideVerticalScroller"></a><a href="Ext.grid.Panel.html#" rel="method-hideVerticalScroller" class="cls expand">hideVerticalScroller</a> : void</div><div class="description"><div class="short"><p>Hide the verticalScroller and remove the verticalScrollerPresentCls.</p>
2313 </div><div class="long"><p>Hide the verticalScroller and remove the verticalScrollerPresentCls.</p>
2314 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2315 </li></ul></div></div></div><div id="method-insert" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-insert" class="cls expand">insert</a>(
2316 <span class="pre">Number index, Ext.Component component</span>)
2317  : Ext.Component</div><div class="description"><div class="short">Inserts a Component into this Container at a specified index. Fires the
2318 beforeadd event before inserting, then fires ...</div><div class="long"><p>Inserts a Component into this Container at a specified index. Fires the
2319 <a href="Ext.grid.Panel.html#beforeadd" rel="Ext.grid.Panel#beforeadd" class="docClass">beforeadd</a> event before inserting, then fires the <a href="Ext.grid.Panel.html#add" rel="Ext.grid.Panel#add" class="docClass">add</a> event after the
2320 Component has been inserted.</p>
2321 <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
2322 into the Container's items collection</p>
2323 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The child Component to insert.<br><br>
2324 <a href="Ext.html" rel="Ext" class="docClass">Ext</a> uses lazy rendering, and will only render the inserted Component should
2325 it become necessary.<br><br>
2326 A Component config object may be passed in order to avoid the overhead of
2327 constructing a real Component object if lazy rendering might mean that the
2328 inserted Component will not be rendered immediately. To take advantage of
2329 this 'lazy instantiation', set the <a href="Ext.Component.html#xtype" rel="Ext.Component#xtype" class="docClass">Ext.Component.xtype</a> config
2330 property to the registered type of the Component wanted.<br><br>
2331 For a list of all available xtypes, see <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a>.</p>
2332 </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
2333 inserted with the Container's default config values applied.</p>
2334 </li></ul></div></div></div><div id="method-insertDocked" class="member inherited"><a href="Ext.grid.Panel.html#method-insertDocked" rel="method-insertDocked" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-method-insertDocked" class="viewSource">view source</a></div><a name="insertDocked"></a><a name="method-insertDocked"></a><a href="Ext.grid.Panel.html#" rel="method-insertDocked" class="cls expand">insertDocked</a>(
2335 <span class="pre">Number pos, Object/Array component</span>)
2336  : void</div><div class="description"><div class="short"><p>Inserts docked item(s) to the panel at the indicated position.</p>
2337 </div><div class="long"><p>Inserts docked item(s) to the panel at the indicated position.</p>
2338 <h3 class="pa">Parameters</h3><ul><li><span class="pre">pos</span> : Number<div class="sub-desc"><p>The index at which the Component will be inserted</p>
2339 </div></li><li><span class="pre">component</span> : Object/Array<div class="sub-desc"><p>. The Component or array of components to add. The components
2340 must include a 'dock' paramater on each component to indicate where it should be docked ('top', 'right',
2341 'bottom', 'left').</p>
2342 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2343 </li></ul></div></div></div><div id="method-invalidateScroller" class="member inherited"><a href="Ext.grid.Panel.html#method-invalidateScroller" rel="method-invalidateScroller" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-method-invalidateScroller" class="viewSource">view source</a></div><a name="invalidateScroller"></a><a name="method-invalidateScroller"></a><a href="Ext.grid.Panel.html#" rel="method-invalidateScroller" class="cls expand">invalidateScroller</a> : void</div><div class="description"><div class="short"><p>Invalides scrollers that are present and forces a recalculation.
2344 (Not related to showing/hiding the scrollers)</p>
2345 </div><div class="long"><p>Invalides scrollers that are present and forces a recalculation.
2346 (Not related to showing/hiding the scrollers)</p>
2347 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2348 </li></ul></div></div></div><div id="method-is" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-is" class="cls expand">is</a>(
2349 <span class="pre">String selector</span>)
2350  : Boolean</div><div class="description"><div class="short"><p>Tests whether this Component matches the selector string.</p>
2351 </div><div class="long"><p>Tests whether this Component matches the selector string.</p>
2352 <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>
2353 </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>
2354 </li></ul></div></div></div><div id="method-isDescendantOf" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-isDescendantOf" class="cls expand">isDescendantOf</a>(
2355 <span class="pre">Ext.Container container</span>)
2356  : Boolean</div><div class="description"><div class="short"><p>Determines whether this component is the descendant of a particular container.</p>
2357 </div><div class="long"><p>Determines whether this component is the descendant of a particular container.</p>
2358 <h3 class="pa">Parameters</h3><ul><li><span class="pre">container</span> : Ext.Container<div class="sub-desc">
2359 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>isDescendant</p>
2360 </li></ul></div></div></div><div id="method-isDisabled" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2361 </div><div class="long"><p>Method to determine whether this Component is currently disabled.</p>
2362 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the disabled state of this Component.</p>
2363 </li></ul></div></div></div><div id="method-isDraggable" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2364 </div><div class="long"><p>Method to determine whether this Component is draggable.</p>
2365 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the draggable state of this component.</p>
2366 </li></ul></div></div></div><div id="method-isDroppable" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2367 </div><div class="long"><p>Method to determine whether this Component is droppable.</p>
2368 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the droppable state of this component.</p>
2369 </li></ul></div></div></div><div id="method-isFloating" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2370 </div><div class="long"><p>Method to determine whether this Component is floating.</p>
2371 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the floating state of this component.</p>
2372 </li></ul></div></div></div><div id="method-isHidden" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2373 </div><div class="long"><p>Method to determine whether this Component is currently set to hidden.</p>
2374 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>the hidden state of this Component.</p>
2375 </li></ul></div></div></div><div id="method-isVisible" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-isVisible" class="cls expand">isVisible</a>(
2376 <span class="pre">Boolean deep</span>)
2377  : Boolean</div><div class="description"><div class="short"><p>Returns true if this component is visible.</p>
2378 </div><div class="long"><p>Returns true if this component is visible.</p>
2379 <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
2380 parent Containers to determine whether this Component is truly visible to the user.</p></p>
2381
2382 <p>Generally, to determine whether a Component is hidden, the no argument form is needed. For example
2383 when creating dynamically laid out UIs in a hidden Container before showing them.</p>
2384
2385 </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>
2386 </li></ul></div></div></div><div id="method-isXType" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-isXType" class="cls expand">isXType</a>(
2387 <span class="pre">String xtype, [Boolean shallow]</span>)
2388  : 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
2389 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
2390 from the xtype (default) or whether it is directly of the xtype specified (shallow = true).</p>
2391
2392
2393 <p><b>If using your own subclasses, be aware that a Component must register its own xtype
2394 to participate in determination of inherited xtypes.</b></p>
2395
2396
2397 <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>
2398
2399
2400 <p>Example usage:</p>
2401
2402
2403 <pre><code>var t = new Ext.form.field.Text();
2404 var isText = t.isXType('textfield');        // true
2405 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>
2406 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
2407 </code></pre>
2408
2409 <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>
2410 </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
2411 the default), or true to check whether this Component is directly of the specified xtype.</p>
2412 </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>
2413 </li></ul></div></div></div><div id="method-move" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-move" class="cls expand">move</a>(
2414 <span class="pre">Number fromIdx, Number toIdx</span>)
2415  : Ext.Component</div><div class="description"><div class="short"><p>Moves a Component within the Container</p>
2416 </div><div class="long"><p>Moves a Component within the Container</p>
2417 <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>
2418 </div></li><li><span class="pre">toIdx</span> : Number<div class="sub-desc"><p>The new index for the Component.</p>
2419 </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>
2420 </li></ul></div></div></div><div id="method-nextNode" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-nextNode" class="cls expand">nextNode</a>(
2421 <span class="pre">String selector, Object includeSelf</span>)
2422  : void</div><div class="description"><div class="short">Returns the next node in the Component tree in tree traversal order.
2423
2424
2425 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>
2426
2427
2428 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
2429 walk the tree to attempt to find a match. Contrast with <a href="Ext.grid.Panel.html#pnextSibling" rel="Ext.grid.Panel#pnextSibling" class="docClass">pnextSibling</a>.</p>
2430
2431 <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>
2432 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
2433 </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>
2434 </li></ul></div></div></div><div id="method-nextSibling" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-nextSibling" class="cls expand">nextSibling</a>(
2435 <span class="pre">String selector</span>)
2436  : void</div><div class="description"><div class="short">Returns the next sibling of this Component.
2437
2438
2439 Optionally selects the next sibling which matches the passed ComponentQ...</div><div class="long"><p>Returns the next sibling of this Component.</p>
2440
2441
2442 <p>Optionally selects the next sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
2443
2444
2445 <p>May also be refered to as <code><b>next()</b></code></p>
2446
2447
2448 <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.Panel.html#nextNode" rel="Ext.grid.Panel#nextNode" class="docClass">nextNode</a></p>
2449
2450 <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>
2451 </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>
2452 </li></ul></div></div></div><div id="method-observe" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-observe" class="cls expand">observe</a>(
2453 <span class="pre">Function c, Object listeners</span>)
2454  : void</div><div class="description"><div class="short">Sets observability on the passed class constructor.
2455
2456 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>
2457
2458 <p>This makes any event fired on any instance of the passed class also fire a single event through
2459 the <strong>class</strong> allowing for central handling of events on many instances at once.</p>
2460
2461 <p>Usage:</p>
2462
2463 <pre><code>Ext.util.Observable.observe(Ext.data.Connection);
2464 Ext.data.Connection.on('beforerequest', function(con, options) {
2465     console.log('Ajax request made to ' + options.url);
2466 });
2467 </code></pre>
2468 <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>
2469 </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.Panel.html#addListener" rel="Ext.grid.Panel#addListener" class="docClass">addListener</a>.</p>
2470 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2471 </li></ul></div></div></div><div id="method-on" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-on" class="cls expand">on</a>(
2472 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
2473  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object (shorthand for <a href="Ext.grid.Panel.html#addListener" rel="Ext.grid.Panel#addListener" class="docClass">addListener</a>.)</p>
2474 </div><div class="long"><p>Appends an event handler to this object (shorthand for <a href="Ext.grid.Panel.html#addListener" rel="Ext.grid.Panel#addListener" class="docClass">addListener</a>.)</p>
2475 <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>
2476 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes</p>
2477 </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.
2478 <b>If omitted, defaults to the object which fired the event.</b></p>
2479 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.</p>
2480 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2481 </li></ul></div></div></div><div id="method-previousNode" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-previousNode" class="cls expand">previousNode</a>(
2482 <span class="pre">String selector, Object includeSelf</span>)
2483  : void</div><div class="description"><div class="short">Returns the previous node in the Component tree in tree traversal order.
2484
2485
2486 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>
2487
2488
2489 <p>Note that this is not limited to siblings, and if invoked upon a node with no matching siblings, will
2490 walk the tree in reverse order to attempt to find a match. Contrast with <a href="Ext.grid.Panel.html#previousSibling" rel="Ext.grid.Panel#previousSibling" class="docClass">previousSibling</a>.</p>
2491
2492 <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>
2493 </div></li><li><span class="pre">includeSelf</span> : Object<div class="sub-desc">
2494 </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>
2495 </li></ul></div></div></div><div id="method-previousSibling" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-previousSibling" class="cls expand">previousSibling</a>(
2496 <span class="pre">String selector</span>)
2497  : void</div><div class="description"><div class="short">Returns the previous sibling of this Component.
2498
2499
2500 Optionally selects the previous sibling which matches the passed Co...</div><div class="long"><p>Returns the previous sibling of this Component.</p>
2501
2502
2503 <p>Optionally selects the previous sibling which matches the passed <a href="Ext.ComponentQuery.html" rel="Ext.ComponentQuery" class="docClass">ComponentQuery</a> selector.</p>
2504
2505
2506 <p>May also be refered to as <code><b>prev()</b></code></p>
2507
2508
2509 <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.Panel.html#previousNode" rel="Ext.grid.Panel#previousNode" class="docClass">previousNode</a></p>
2510
2511 <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>
2512 </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>
2513 </li></ul></div></div></div><div id="method-query" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-query" class="cls expand">query</a>(
2514 <span class="pre">String selector</span>)
2515  : Array</div><div class="description"><div class="short">Retrieves all descendant components which match the passed selector.
2516 Executes an Ext.ComponentQuery.query using this ...</div><div class="long"><p>Retrieves all descendant components which match the passed selector.
2517 Executes an Ext.ComponentQuery.query using this container as its root.</p>
2518 <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>
2519 </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>
2520 </li></ul></div></div></div><div id="method-relayEvents" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-relayEvents" class="cls expand">relayEvents</a>(
2521 <span class="pre">Object origin, Array events, Object prefix</span>)
2522  : 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>
2523 </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>
2524 <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>
2525 </div></li><li><span class="pre">events</span> : Array<div class="sub-desc"><p>Array of event names to relay.</p>
2526 </div></li><li><span class="pre">prefix</span> : Object<div class="sub-desc">
2527 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2528 </li></ul></div></div></div><div id="method-releaseCapture" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-releaseCapture" class="cls expand">releaseCapture</a>(
2529 <span class="pre">Observable o</span>)
2530  : void</div><div class="description"><div class="short"><p>Removes <b>all</b> added captures from the Observable.</p>
2531 </div><div class="long"><p>Removes <b>all</b> added captures from the Observable.</p>
2532 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to release</p>
2533 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2534 </li></ul></div></div></div><div id="method-remove" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-remove" class="cls expand">remove</a>(
2535 <span class="pre">Component/String component, [Boolean autoDestroy]</span>)
2536  : Ext.Component</div><div class="description"><div class="short">Removes a component from this container.  Fires the beforeremove event before removing, then fires
2537 the remove event a...</div><div class="long"><p>Removes a component from this container.  Fires the <a href="Ext.grid.Panel.html#beforeremove" rel="Ext.grid.Panel#beforeremove" class="docClass">beforeremove</a> event before removing, then fires
2538 the <a href="Ext.grid.Panel.html#remove" rel="Ext.grid.Panel#remove" class="docClass">remove</a> event after the component has been removed.</p>
2539 <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>
2540 </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.
2541 Defaults to the value of this Container's <a href="Ext.grid.Panel.html#autoDestroy" rel="Ext.grid.Panel#autoDestroy" class="docClass">autoDestroy</a> config.</p>
2542 </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>
2543 </li></ul></div></div></div><div id="method-removeAll" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-removeAll" class="cls expand">removeAll</a>(
2544 <span class="pre">[Boolean autoDestroy]</span>)
2545  : Array</div><div class="description"><div class="short"><p>Removes all components from this container.</p>
2546 </div><div class="long"><p>Removes all components from this container.</p>
2547 <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.
2548 Defaults to the value of this Container's <a href="Ext.grid.Panel.html#autoDestroy" rel="Ext.grid.Panel#autoDestroy" class="docClass">autoDestroy</a> config.</p>
2549 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>Array of the destroyed components</p>
2550 </li></ul></div></div></div><div id="method-removeCls" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-removeCls" class="cls expand">removeCls</a>(
2551 <span class="pre">Object className</span>)
2552  : Ext.Component</div><div class="description"><div class="short"><p>Removes a CSS class from the top level element representing this component.</p>
2553 </div><div class="long"><p>Removes a CSS class from the top level element representing this component.</p>
2554 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : Object<div class="sub-desc">
2555 </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>
2556 </li></ul></div></div></div><div id="method-removeClsWithUI" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-removeClsWithUI" class="cls expand">removeClsWithUI</a>(
2557 <span class="pre">String/Array cls</span>)
2558  : void</div><div class="description"><div class="short">Removes a cls to the uiCls array, which will also call removeUIClsToElement and removes
2559 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.Panel.html#removeUIClsToElement" rel="Ext.grid.Panel#removeUIClsToElement" class="docClass">removeUIClsToElement</a> and removes
2560 it from all elements of this component.</p>
2561 <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>
2562 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2563 </li></ul></div></div></div><div id="method-removeDocked" class="member inherited"><a href="Ext.grid.Panel.html#method-removeDocked" rel="method-removeDocked" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-method-removeDocked" class="viewSource">view source</a></div><a name="removeDocked"></a><a name="method-removeDocked"></a><a href="Ext.grid.Panel.html#" rel="method-removeDocked" class="cls expand">removeDocked</a>(
2564 <span class="pre">Ext.Component item, [Boolean autoDestroy]</span>)
2565  : void</div><div class="description"><div class="short"><p>Removes the docked item from the panel.</p>
2566 </div><div class="long"><p>Removes the docked item from the panel.</p>
2567 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Ext.Component<div class="sub-desc"><p>. The Component to remove.</p>
2568 </div></li><li><span class="pre">autoDestroy</span> : Boolean<div class="sub-desc"><p>(optional) Destroy the component after removal.</p>
2569 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2570 </li></ul></div></div></div><div id="method-removeListener" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-removeListener" class="cls expand">removeListener</a>(
2571 <span class="pre">String eventName, Function handler, [Object scope]</span>)
2572  : void</div><div class="description"><div class="short"><p>Removes an event handler.</p>
2573 </div><div class="long"><p>Removes an event handler.</p>
2574 <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>
2575 </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.Panel.html#addListener" rel="Ext.grid.Panel#addListener" class="docClass">addListener</a> call.</b></p>
2576 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
2577 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2578 </li></ul></div></div></div><div id="method-removeManagedListener" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-removeManagedListener" class="cls expand">removeManagedListener</a>(
2579 <span class="pre">Observable|Element item, Object|String ename, Function fn, Object scope</span>)
2580  : void</div><div class="description"><div class="short"><p>Removes listeners that were added by the <a href="Ext.grid.Panel.html#mon" rel="Ext.grid.Panel#mon" class="docClass">mon</a> method.</p>
2581 </div><div class="long"><p>Removes listeners that were added by the <a href="Ext.grid.Panel.html#mon" rel="Ext.grid.Panel#mon" class="docClass">mon</a> method.</p>
2582 <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>
2583 </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>
2584 </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
2585 is the handler function.</p>
2586 </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
2587 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
2588 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2589 </li></ul></div></div></div><div id="method-resumeEvents" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-resumeEvents" class="cls expand">resumeEvents</a> : void</div><div class="description"><div class="short">Resume firing events. (see suspendEvents)
2590 If events were suspended using the queueSuspended parameter, then all
2591 event...</div><div class="long"><p>Resume firing events. (see <a href="Ext.grid.Panel.html#suspendEvents" rel="Ext.grid.Panel#suspendEvents" class="docClass">suspendEvents</a>)
2592 If events were suspended using the <code><b>queueSuspended</b></code> parameter, then all
2593 events fired during event suspension will be sent to any listeners now.</p>
2594 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2595 </li></ul></div></div></div><div id="method-scrollByDeltaX" class="member inherited"><a href="Ext.grid.Panel.html#method-scrollByDeltaX" rel="method-scrollByDeltaX" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-method-scrollByDeltaX" class="viewSource">view source</a></div><a name="scrollByDeltaX"></a><a name="method-scrollByDeltaX"></a><a href="Ext.grid.Panel.html#" rel="method-scrollByDeltaX" class="cls expand">scrollByDeltaX</a>(
2596 <span class="pre">Number deltaY</span>)
2597  : void</div><div class="description"><div class="short"><p>Scrolls the TablePanel by deltaX</p>
2598 </div><div class="long"><p>Scrolls the TablePanel by deltaX</p>
2599 <h3 class="pa">Parameters</h3><ul><li><span class="pre">deltaY</span> : Number<div class="sub-desc">
2600 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2601 </li></ul></div></div></div><div id="method-scrollByDeltaY" class="member inherited"><a href="Ext.grid.Panel.html#method-scrollByDeltaY" rel="method-scrollByDeltaY" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-method-scrollByDeltaY" class="viewSource">view source</a></div><a name="scrollByDeltaY"></a><a name="method-scrollByDeltaY"></a><a href="Ext.grid.Panel.html#" rel="method-scrollByDeltaY" class="cls expand">scrollByDeltaY</a>(
2602 <span class="pre">Number deltaY</span>)
2603  : void</div><div class="description"><div class="short"><p>Scrolls the TablePanel by deltaY</p>
2604 </div><div class="long"><p>Scrolls the TablePanel by deltaY</p>
2605 <h3 class="pa">Parameters</h3><ul><li><span class="pre">deltaY</span> : Number<div class="sub-desc">
2606 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2607 </li></ul></div></div></div><div id="method-sequenceFx" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
2608 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
2609 run in sequence.  This is the opposite of <a href="Ext.grid.Panel.html#syncFx" rel="Ext.grid.Panel#syncFx" class="docClass">syncFx</a>.</p>
2610 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2611 </li></ul></div></div></div><div id="method-setActive" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-setActive" class="cls expand">setActive</a>(
2612 <span class="pre">Boolean active, Component newActive</span>)
2613  : void</div><div class="description"><div class="short">This method is called internally by Ext.ZIndexManager to signal that a floating
2614 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
2615 Component has either been moved to the top of its zIndex stack, or pushed from the top of its zIndex stack.</p>
2616
2617
2618 <p>If a <i>Window</i> is superceded by another Window, deactivating it hides its shadow.</p>
2619
2620
2621 <p>This method also fires the <a href="Ext.grid.Panel.html#activate" rel="Ext.grid.Panel#activate" class="docClass">activate</a> or <a href="Ext.grid.Panel.html#deactivate" rel="Ext.grid.Panel#deactivate" class="docClass">deactivate</a> event depending on which action occurred.</p>
2622
2623 <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>
2624 </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>
2625 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2626 </li></ul></div></div></div><div id="method-setAutoScroll" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-setAutoScroll" class="cls expand">setAutoScroll</a>(
2627 <span class="pre">Boolean scroll</span>)
2628  : Ext.Component</div><div class="description"><div class="short"><p>Sets the overflow on the content element of the component.</p>
2629 </div><div class="long"><p>Sets the overflow on the content element of the component.</p>
2630 <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>
2631 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2632 </li></ul></div></div></div><div id="method-setDisabled" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-setDisabled" class="cls expand">setDisabled</a>(
2633 <span class="pre">Boolean disabled</span>)
2634  : void</div><div class="description"><div class="short"><p>Enable or disable the component.</p>
2635 </div><div class="long"><p>Enable or disable the component.</p>
2636 <h3 class="pa">Parameters</h3><ul><li><span class="pre">disabled</span> : Boolean<div class="sub-desc">
2637 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2638 </li></ul></div></div></div><div id="method-setDocked" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-setDocked" class="cls expand">setDocked</a>(
2639 <span class="pre">Object dock, Object layoutParent</span>)
2640  : Component</div><div class="description"><div class="short">Sets the dock position of this component in its parent panel. Note that
2641 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
2642 this only has effect if this item is part of the dockedItems collection
2643 of a parent that has a DockLayout (note that any Panel has a DockLayout
2644 by default)</p>
2645 <h3 class="pa">Parameters</h3><ul><li><span class="pre">dock</span> : Object<div class="sub-desc">
2646 </div></li><li><span class="pre">layoutParent</span> : Object<div class="sub-desc">
2647 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2648 </li></ul></div></div></div><div id="method-setHeight" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-setHeight" class="cls expand">setHeight</a>(
2649 <span class="pre">Number height</span>)
2650  : Ext.Component</div><div class="description"><div class="short"><p>Sets the height of the component.  This method fires the <a href="Ext.grid.Panel.html#resize" rel="Ext.grid.Panel#resize" class="docClass">resize</a> event.</p>
2651 </div><div class="long"><p>Sets the height of the component.  This method fires the <a href="Ext.grid.Panel.html#resize" rel="Ext.grid.Panel#resize" class="docClass">resize</a> event.</p>
2652 <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>
2653 <li>A Number specifying the new height in the <a href="Ext.grid.Panel.html#getEl" rel="Ext.grid.Panel#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>
2654 <li>A String used to set the CSS height style.</li>
2655 <li><i>undefined</i> to leave the height unchanged.</li>
2656 </ul></div></p>
2657 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2658 </li></ul></div></div></div><div id="method-setIconCls" class="member inherited"><a href="Ext.grid.Panel.html#method-setIconCls" rel="method-setIconCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-setIconCls" class="viewSource">view source</a></div><a name="setIconCls"></a><a name="method-setIconCls"></a><a href="Ext.grid.Panel.html#" rel="method-setIconCls" class="cls expand">setIconCls</a>(
2659 <span class="pre">String newIconCls</span>)
2660  : void</div><div class="description"><div class="short"><p>Set the iconCls for the panel&#39;s header. See <a href="Ext.panel.Header.html#iconCls" rel="Ext.panel.Header#iconCls" class="docClass">Ext.panel.Header.iconCls</a>.</p>
2661 </div><div class="long"><p>Set the iconCls for the panel&#39;s header. See <a href="Ext.panel.Header.html#iconCls" rel="Ext.panel.Header#iconCls" class="docClass">Ext.panel.Header.iconCls</a>.</p>
2662 <h3 class="pa">Parameters</h3><ul><li><span class="pre">newIconCls</span> : String<div class="sub-desc">
2663 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2664 </li></ul></div></div></div><div id="method-setLoading" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-setLoading" class="cls expand">setLoading</a>(
2665 <span class="pre">Boolean/Object/String load, Boolean targetEl</span>)
2666  : 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>
2667 </div><div class="long"><p>This method allows you to show or hide a LoadMask on top of this component.</p>
2668 <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
2669 that will be passed to the LoadMask constructor, or a message String to show. False to
2670 hide the current LoadMask.</p>
2671 </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.
2672 For example, setting this to true on a Panel will cause only the body to be masked. (defaults to false)</p>
2673 </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>
2674 </li></ul></div></div></div><div id="method-setPagePosition" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-setPagePosition" class="cls expand">setPagePosition</a>(
2675 <span class="pre">Number x, Number y, Mixed animate</span>)
2676  : 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.
2677 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.Panel.html#setPosition" rel="Ext.grid.Panel#setPosition" class="docClass">setPosition</a>.
2678 This method fires the <a href="Ext.grid.Panel.html#move" rel="Ext.grid.Panel#move" class="docClass">move</a> event.</p>
2679 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
2680 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
2681 </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
2682 is a number, it is used as the animation duration in milliseconds.</p>
2683 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2684 </li></ul></div></div></div><div id="method-setPosition" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-setPosition" class="cls expand">setPosition</a>(
2685 <span class="pre">Number left, Number top, Mixed animate</span>)
2686  : 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.
2687 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.Panel.html#setPagePosition" rel="Ext.grid.Panel#setPagePosition" class="docClass">setPagePosition</a>.
2688 This method fires the <a href="Ext.grid.Panel.html#move" rel="Ext.grid.Panel#move" class="docClass">move</a> event.</p>
2689 <h3 class="pa">Parameters</h3><ul><li><span class="pre">left</span> : Number<div class="sub-desc"><p>The new left</p>
2690 </div></li><li><span class="pre">top</span> : Number<div class="sub-desc"><p>The new top</p>
2691 </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>
2692 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2693 </li></ul></div></div></div><div id="method-setScrollTop" class="member inherited"><a href="Ext.grid.Panel.html#method-setScrollTop" rel="method-setScrollTop" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-method-setScrollTop" class="viewSource">view source</a></div><a name="setScrollTop"></a><a name="method-setScrollTop"></a><a href="Ext.grid.Panel.html#" rel="method-setScrollTop" class="cls expand">setScrollTop</a>(
2694 <span class="pre">Number deltaY</span>)
2695  : void</div><div class="description"><div class="short"><p>Sets the scrollTop of the TablePanel.</p>
2696 </div><div class="long"><p>Sets the scrollTop of the TablePanel.</p>
2697 <h3 class="pa">Parameters</h3><ul><li><span class="pre">deltaY</span> : Number<div class="sub-desc">
2698 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2699 </li></ul></div></div></div><div id="method-setSize" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-setSize" class="cls expand">setSize</a>(
2700 <span class="pre">Mixed width, Mixed height</span>)
2701  : 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
2702 either width ...</div><div class="long"><p>Sets the width and height of this Component. This method fires the <a href="Ext.grid.Panel.html#resize" rel="Ext.grid.Panel#resize" class="docClass">resize</a> event. This method can accept
2703 either width and height as separate arguments, or you can pass a size object like <code>{width:10, height:20}</code>.</p>
2704 <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>
2705 <li>A Number specifying the new width in the <a href="Ext.grid.Panel.html#getEl" rel="Ext.grid.Panel#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>
2706 <li>A String used to set the CSS width style.</li>
2707 <li>A size object in the format <code>{width: widthValue, height: heightValue}</code>.</li>
2708 <li><code>undefined</code> to leave the width unchanged.</li>
2709 </ul></div></p>
2710 </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).
2711 This may be one of:<div class="mdetail-params"><ul>
2712 <li>A Number specifying the new height in the <a href="Ext.grid.Panel.html#getEl" rel="Ext.grid.Panel#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>
2713 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
2714 <li><code>undefined</code> to leave the height unchanged.</li>
2715 </ul></div></p>
2716 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2717 </li></ul></div></div></div><div id="method-setTitle" class="member inherited"><a href="Ext.grid.Panel.html#method-setTitle" rel="method-setTitle" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-setTitle" class="viewSource">view source</a></div><a name="setTitle"></a><a name="method-setTitle"></a><a href="Ext.grid.Panel.html#" rel="method-setTitle" class="cls expand">setTitle</a>(
2718 <span class="pre">String newTitle</span>)
2719  : void</div><div class="description"><div class="short"><p>Set a title for the panel&#39;s header. See <a href="Ext.panel.Header.html#title" rel="Ext.panel.Header#title" class="docClass">Ext.panel.Header.title</a>.</p>
2720 </div><div class="long"><p>Set a title for the panel&#39;s header. See <a href="Ext.panel.Header.html#title" rel="Ext.panel.Header#title" class="docClass">Ext.panel.Header.title</a>.</p>
2721 <h3 class="pa">Parameters</h3><ul><li><span class="pre">newTitle</span> : String<div class="sub-desc">
2722 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2723 </li></ul></div></div></div><div id="method-setUI" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-setUI" class="cls expand">setUI</a>(
2724 <span class="pre">String ui</span>)
2725  : 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
2726 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
2727 loop through any uiCls set on the component and rename them so they include the new UI</p>
2728 <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>
2729 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2730 </li></ul></div></div></div><div id="method-setVisible" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-setVisible" class="cls expand">setVisible</a>(
2731 <span class="pre">Boolean visible</span>)
2732  : Ext.Component</div><div class="description"><div class="short"><p>Convenience function to hide or show this component by boolean.</p>
2733 </div><div class="long"><p>Convenience function to hide or show this component by boolean.</p>
2734 <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>
2735 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2736 </li></ul></div></div></div><div id="method-setWidth" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-setWidth" class="cls expand">setWidth</a>(
2737 <span class="pre">Number width</span>)
2738  : Ext.Component</div><div class="description"><div class="short"><p>Sets the width of the component.  This method fires the <a href="Ext.grid.Panel.html#resize" rel="Ext.grid.Panel#resize" class="docClass">resize</a> event.</p>
2739 </div><div class="long"><p>Sets the width of the component.  This method fires the <a href="Ext.grid.Panel.html#resize" rel="Ext.grid.Panel#resize" class="docClass">resize</a> event.</p>
2740 <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>
2741 <li>A Number specifying the new width in the <a href="Ext.grid.Panel.html#getEl" rel="Ext.grid.Panel#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>
2742 <li>A String used to set the CSS width style.</li>
2743 </ul></div></p>
2744 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2745 </li></ul></div></div></div><div id="method-show" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-show" class="cls expand">show</a>(
2746 <span class="pre">String/Element animateTarget, [Function callback], [Object scope]</span>)
2747  : Component</div><div class="description"><div class="short">Shows this Component, rendering it first if autoRender or {&quot;floating are true.
2748
2749
2750 After being shown, a floating C...</div><div class="long"><p>Shows this Component, rendering it first if <a href="Ext.grid.Panel.html#autoRender" rel="Ext.grid.Panel#autoRender" class="docClass">autoRender</a> or {<a href="Ext.grid.Panel.html"floating" rel=""floating" class="docClass">&quot;floating</a> are <code>true</code>.</p>
2751
2752
2753 <p>After being shown, a <a href="Ext.grid.Panel.html#floating" rel="Ext.grid.Panel#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
2754 its <a href="Ext.grid.Panel.html#ZIndexManager" rel="Ext.grid.Panel#ZIndexManager" class="docClass">z-index stack</a>.</p>
2755
2756 <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.Panel.html#floating" rel="Ext.grid.Panel#floating" class="docClass">floating</a> Components such as
2757 <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
2758 with <code>floating: true</code>.</b> The target from which the Component should
2759 animate from while opening (defaults to null with no animation)</p>
2760 </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>
2761 </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>
2762 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2763 </li></ul></div></div></div><div id="method-showHorizontalScroller" class="member inherited"><a href="Ext.grid.Panel.html#method-showHorizontalScroller" rel="method-showHorizontalScroller" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-method-showHorizontalScroller" class="viewSource">view source</a></div><a name="showHorizontalScroller"></a><a name="method-showHorizontalScroller"></a><a href="Ext.grid.Panel.html#" rel="method-showHorizontalScroller" class="cls expand">showHorizontalScroller</a> : void</div><div class="description"><div class="short"><p>Show the horizontalScroller and add the horizontalScrollerPresentCls.</p>
2764 </div><div class="long"><p>Show the horizontalScroller and add the horizontalScrollerPresentCls.</p>
2765 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2766 </li></ul></div></div></div><div id="method-showVerticalScroller" class="member inherited"><a href="Ext.grid.Panel.html#method-showVerticalScroller" rel="method-showVerticalScroller" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-method-showVerticalScroller" class="viewSource">view source</a></div><a name="showVerticalScroller"></a><a name="method-showVerticalScroller"></a><a href="Ext.grid.Panel.html#" rel="method-showVerticalScroller" class="cls expand">showVerticalScroller</a> : void</div><div class="description"><div class="short"><p>Show the verticalScroller and add the verticalScrollerPresentCls.</p>
2767 </div><div class="long"><p>Show the verticalScroller and add the verticalScrollerPresentCls.</p>
2768 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2769 </li></ul></div></div></div><div id="method-stopAnimation" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
2770 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.Panel.html#stopAnimation" rel="Ext.grid.Panel#stopAnimation" class="docClass">stopAnimation</a>
2771 Stops any running effects and clears this object's internal effects queue if it contains
2772 any additional effects that haven't started yet.</p>
2773 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2774 </li></ul></div></div></div><div id="method-suspendEvents" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-suspendEvents" class="cls expand">suspendEvents</a>(
2775 <span class="pre">Boolean queueSuspended</span>)
2776  : void</div><div class="description"><div class="short"><p>Suspend the firing of all events. (see <a href="Ext.grid.Panel.html#resumeEvents" rel="Ext.grid.Panel#resumeEvents" class="docClass">resumeEvents</a>)</p>
2777 </div><div class="long"><p>Suspend the firing of all events. (see <a href="Ext.grid.Panel.html#resumeEvents" rel="Ext.grid.Panel#resumeEvents" class="docClass">resumeEvents</a>)</p>
2778 <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
2779 after the <a href="Ext.grid.Panel.html#resumeEvents" rel="Ext.grid.Panel#resumeEvents" class="docClass">resumeEvents</a> call instead of discarding all suspended events;</p>
2780 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2781 </li></ul></div></div></div><div id="method-syncFx" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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
2782 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
2783 run concurrently.  This is the opposite of <a href="Ext.grid.Panel.html#sequenceFx" rel="Ext.grid.Panel#sequenceFx" class="docClass">sequenceFx</a>.</p>
2784 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
2785 </li></ul></div></div></div><div id="method-toBack" class="member inherited"><a href="Ext.grid.Panel.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.Panel.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>
2786 </div><div class="long"><p>Sends this Component to the back of (lower z-index than) any other visible windows</p>
2787 <h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2788 </li></ul></div></div></div><div id="method-toFront" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-toFront" class="cls expand">toFront</a>(
2789 <span class="pre">[Boolean preventFocus]</span>)
2790  : 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>
2791
2792
2793 <p>If this Component is modal, inserts the modal mask just below this Component in the z-index stack.</p>
2794
2795 <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>
2796 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Component</span>&nbsp; &nbsp;<p>this</p>
2797 </li></ul></div></div></div><div id="method-toggleCollapse" class="member inherited"><a href="Ext.grid.Panel.html#method-toggleCollapse" rel="method-toggleCollapse" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-method-toggleCollapse" class="viewSource">view source</a></div><a name="toggleCollapse"></a><a name="method-toggleCollapse"></a><a href="Ext.grid.Panel.html#" rel="method-toggleCollapse" class="cls expand">toggleCollapse</a> : Ext.panel.Panel</div><div class="description"><div class="short"><p>Shortcut for performing an <a href="Ext.grid.Panel.html#expand" rel="Ext.grid.Panel#expand" class="docClass">expand</a> or <a href="Ext.grid.Panel.html#collapse" rel="Ext.grid.Panel#collapse" class="docClass">collapse</a> based on the current state of the panel.</p>
2798 </div><div class="long"><p>Shortcut for performing an <a href="Ext.grid.Panel.html#expand" rel="Ext.grid.Panel#expand" class="docClass">expand</a> or <a href="Ext.grid.Panel.html#collapse" rel="Ext.grid.Panel#collapse" class="docClass">collapse</a> based on the current state of the panel.</p>
2799 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.panel.Panel</span>&nbsp; &nbsp;<p>this</p>
2800 </li></ul></div></div></div><div id="method-un" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-un" class="cls expand">un</a>(
2801 <span class="pre">String eventName, Function handler, [Object scope]</span>)
2802  : void</div><div class="description"><div class="short"><p>Removes an event handler (shorthand for <a href="Ext.grid.Panel.html#removeListener" rel="Ext.grid.Panel#removeListener" class="docClass">removeListener</a>.)</p>
2803 </div><div class="long"><p>Removes an event handler (shorthand for <a href="Ext.grid.Panel.html#removeListener" rel="Ext.grid.Panel#removeListener" class="docClass">removeListener</a>.)</p>
2804 <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>
2805 </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.Panel.html#addListener" rel="Ext.grid.Panel#addListener" class="docClass">addListener</a> call.</b></p>
2806 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
2807 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2808 </li></ul></div></div></div><div id="method-up" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-up" class="cls expand">up</a>(
2809 <span class="pre">String selector</span>)
2810  : Container</div><div class="description"><div class="short">Walks up the ownerCt axis looking for an ancestor Container which matches
2811 the passed simple selector.
2812
2813
2814 Example:
2815 var ...</div><div class="long"><p>Walks up the <code>ownerCt</code> axis looking for an ancestor Container which matches
2816 the passed simple selector.</p>
2817
2818
2819 <p>Example:
2820 <pre><code>var owningTabPanel = grid.up('tabpanel');
2821 </code></pre>
2822
2823 <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>
2824 </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>
2825 </li></ul></div></div></div><div id="method-update" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-update" class="cls expand">update</a>(
2826 <span class="pre">Mixed htmlOrData, [Boolean loadScripts], [Function callback]</span>)
2827  : void</div><div class="description"><div class="short"><p>Update the content area of a component.</p>
2828 </div><div class="long"><p>Update the content area of a component.</p>
2829 <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
2830 then it will use this argument as data to populate the template.
2831 If this component was not configured with a template, the components
2832 content area will be updated via <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> update</p>
2833 </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>
2834 </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>
2835 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
2836 </li></ul></div></div></div><div id="method-updateBox" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="method-updateBox" class="cls expand">updateBox</a>(
2837 <span class="pre">Object box</span>)
2838  : Ext.Component</div><div class="description"><div class="short"><p>Sets the current box measurements of the component's underlying element.</p>
2839 </div><div class="long"><p>Sets the current box measurements of the component's underlying element.</p>
2840 <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>
2841 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Component</span>&nbsp; &nbsp;<p>this</p>
2842 </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.Panel.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.Panel.html#" rel="event-activate" class="cls expand">activate</a>(
2843 <span class="pre">Ext.Component this</span>)
2844 </div><div class="description"><div class="short"><p>Fires after a Component has been visually activated.</p>
2845 </div><div class="long"><p>Fires after a Component has been visually activated.</p>
2846 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2847 </div></li></ul></div></div></div><div id="event-add" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-add" class="cls expand">add</a>(
2848 <span class="pre">Ext.container.Container this, Ext.Component component, Number index</span>)
2849 </div><div class="description"><div class="short"><p>@bubbles
2850 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.</p>
2851 </div><div class="long"><p>@bubbles
2852 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is added or inserted into the container.</p>
2853 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2854 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component that was added</p>
2855 </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>
2856 </div></li></ul></div></div></div><div id="event-added" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-added" class="cls expand">added</a>(
2857 <span class="pre">Ext.Component this, Ext.container.Container container, Number pos</span>)
2858 </div><div class="description"><div class="short"><p>Fires after a Component had been added to a Container.</p>
2859 </div><div class="long"><p>Fires after a Component had been added to a Container.</p>
2860 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2861 </div></li><li><span class="pre">container</span> : Ext.container.Container<div class="sub-desc"><p>Parent Container</p>
2862 </div></li><li><span class="pre">pos</span> : Number<div class="sub-desc"><p>position of Component</p>
2863 </div></li></ul></div></div></div><div id="event-afterlayout" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-afterlayout" class="cls expand">afterlayout</a>(
2864 <span class="pre">Ext.container.Container this, ContainerLayout layout</span>)
2865 </div><div class="description"><div class="short"><p>Fires when the components in this container are arranged by the associated layout manager.</p>
2866 </div><div class="long"><p>Fires when the components in this container are arranged by the associated layout manager.</p>
2867 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2868 </div></li><li><span class="pre">layout</span> : ContainerLayout<div class="sub-desc"><p>The ContainerLayout implementation for this container</p>
2869 </div></li></ul></div></div></div><div id="event-afterrender" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-afterrender" class="cls expand">afterrender</a>(
2870 <span class="pre">Ext.Component this</span>)
2871 </div><div class="description"><div class="short">Fires after the component rendering is finished.
2872
2873
2874 The afterrender event is fired after this Component has been rende...</div><div class="long"><p>Fires after the component rendering is finished.</p>
2875
2876
2877 <p>The afterrender event is fired after this Component has been <a href="Ext.grid.Panel.html#rendered" rel="Ext.grid.Panel#rendered" class="docClass">rendered</a>, been postprocesed
2878 by any afterRender method defined for the Component.</p>
2879
2880 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2881 </div></li></ul></div></div></div><div id="event-beforeactivate" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-beforeactivate" class="cls expand">beforeactivate</a>(
2882 <span class="pre">Ext.Component this</span>)
2883 </div><div class="description"><div class="short">Fires before a Component has been visually activated.
2884 Returning false from an event listener can prevent the activate...</div><div class="long"><p>Fires before a Component has been visually activated.
2885 Returning false from an event listener can prevent the activate
2886 from occurring.</p>
2887 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2888 </div></li></ul></div></div></div><div id="event-beforeadd" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-beforeadd" class="cls expand">beforeadd</a>(
2889 <span class="pre">Ext.container.Container this, Ext.Component component, Number index</span>)
2890 </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.
2891 A handler can return false to cancel the add.</p>
2892 </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.
2893 A handler can return false to cancel the add.</p>
2894 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2895 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component being added</p>
2896 </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>
2897 </div></li></ul></div></div></div><div id="event-beforecardswitch" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-beforecardswitch" class="cls expand">beforecardswitch</a>(
2898 <span class="pre">Ext.container.Container this, Ext.Component newCard, Ext.Component oldCard, Number index, Boolean animated</span>)
2899 </div><div class="description"><div class="short">Fires before this container switches the active card. This event
2900 is only available if this container uses a CardLayou...</div><div class="long"><p>Fires before this container switches the active card. This event
2901 is only available if this container uses a CardLayout. Note that
2902 TabPanel and Carousel both get a CardLayout by default, so both
2903 will have this event.
2904 A handler can return false to cancel the card switch.</p>
2905 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
2906 </div></li><li><span class="pre">newCard</span> : Ext.Component<div class="sub-desc"><p>The card that will be switched to</p>
2907 </div></li><li><span class="pre">oldCard</span> : Ext.Component<div class="sub-desc"><p>The card that will be switched from</p>
2908 </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>
2909 </div></li><li><span class="pre">animated</span> : Boolean<div class="sub-desc"><p>True if this cardswitch will be animated</p>
2910 </div></li></ul></div></div></div><div id="event-beforecontainerclick" class="member inherited"><a href="Ext.grid.Panel.html#event-beforecontainerclick" rel="event-beforecontainerclick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforecontainerclick" class="viewSource">view source</a></div><a name="beforecontainerclick"></a><a name="event-beforecontainerclick"></a><a href="Ext.grid.Panel.html#" rel="event-beforecontainerclick" class="cls expand">beforecontainerclick</a>(
2911 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
2912 </div><div class="description"><div class="short"><p>Fires before the click event on the container is processed. Returns false to cancel the default action.</p>
2913 </div><div class="long"><p>Fires before the click event on the container is processed. Returns false to cancel the default action.</p>
2914 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
2915 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
2916 </div></li></ul></div></div></div><div id="event-beforecontainercontextmenu" class="member inherited"><a href="Ext.grid.Panel.html#event-beforecontainercontextmenu" rel="event-beforecontainercontextmenu" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforecontainercontextmenu" class="viewSource">view source</a></div><a name="beforecontainercontextmenu"></a><a name="event-beforecontainercontextmenu"></a><a href="Ext.grid.Panel.html#" rel="event-beforecontainercontextmenu" class="cls expand">beforecontainercontextmenu</a>(
2917 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
2918 </div><div class="description"><div class="short"><p>Fires before the contextmenu event on the container is processed. Returns false to cancel the default action.</p>
2919 </div><div class="long"><p>Fires before the contextmenu event on the container is processed. Returns false to cancel the default action.</p>
2920 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
2921 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
2922 </div></li></ul></div></div></div><div id="event-beforecontainerdblclick" class="member inherited"><a href="Ext.grid.Panel.html#event-beforecontainerdblclick" rel="event-beforecontainerdblclick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforecontainerdblclick" class="viewSource">view source</a></div><a name="beforecontainerdblclick"></a><a name="event-beforecontainerdblclick"></a><a href="Ext.grid.Panel.html#" rel="event-beforecontainerdblclick" class="cls expand">beforecontainerdblclick</a>(
2923 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
2924 </div><div class="description"><div class="short"><p>Fires before the dblclick event on the container is processed. Returns false to cancel the default action.</p>
2925 </div><div class="long"><p>Fires before the dblclick event on the container is processed. Returns false to cancel the default action.</p>
2926 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
2927 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
2928 </div></li></ul></div></div></div><div id="event-beforecontainermousedown" class="member inherited"><a href="Ext.grid.Panel.html#event-beforecontainermousedown" rel="event-beforecontainermousedown" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforecontainermousedown" class="viewSource">view source</a></div><a name="beforecontainermousedown"></a><a name="event-beforecontainermousedown"></a><a href="Ext.grid.Panel.html#" rel="event-beforecontainermousedown" class="cls expand">beforecontainermousedown</a>(
2929 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
2930 </div><div class="description"><div class="short"><p>Fires before the mousedown event on the container is processed. Returns false to cancel the default action.</p>
2931 </div><div class="long"><p>Fires before the mousedown event on the container is processed. Returns false to cancel the default action.</p>
2932 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
2933 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
2934 </div></li></ul></div></div></div><div id="event-beforecontainermouseout" class="member inherited"><a href="Ext.grid.Panel.html#event-beforecontainermouseout" rel="event-beforecontainermouseout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforecontainermouseout" class="viewSource">view source</a></div><a name="beforecontainermouseout"></a><a name="event-beforecontainermouseout"></a><a href="Ext.grid.Panel.html#" rel="event-beforecontainermouseout" class="cls expand">beforecontainermouseout</a>(
2935 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
2936 </div><div class="description"><div class="short"><p>Fires before the mouseout event on the container is processed. Returns false to cancel the default action.</p>
2937 </div><div class="long"><p>Fires before the mouseout event on the container is processed. Returns false to cancel the default action.</p>
2938 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
2939 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
2940 </div></li></ul></div></div></div><div id="event-beforecontainermouseover" class="member inherited"><a href="Ext.grid.Panel.html#event-beforecontainermouseover" rel="event-beforecontainermouseover" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforecontainermouseover" class="viewSource">view source</a></div><a name="beforecontainermouseover"></a><a name="event-beforecontainermouseover"></a><a href="Ext.grid.Panel.html#" rel="event-beforecontainermouseover" class="cls expand">beforecontainermouseover</a>(
2941 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
2942 </div><div class="description"><div class="short"><p>Fires before the mouseover event on the container is processed. Returns false to cancel the default action.</p>
2943 </div><div class="long"><p>Fires before the mouseover event on the container is processed. Returns false to cancel the default action.</p>
2944 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
2945 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
2946 </div></li></ul></div></div></div><div id="event-beforecontainermouseup" class="member inherited"><a href="Ext.grid.Panel.html#event-beforecontainermouseup" rel="event-beforecontainermouseup" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforecontainermouseup" class="viewSource">view source</a></div><a name="beforecontainermouseup"></a><a name="event-beforecontainermouseup"></a><a href="Ext.grid.Panel.html#" rel="event-beforecontainermouseup" class="cls expand">beforecontainermouseup</a>(
2947 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
2948 </div><div class="description"><div class="short"><p>Fires before the mouseup event on the container is processed. Returns false to cancel the default action.</p>
2949 </div><div class="long"><p>Fires before the mouseup event on the container is processed. Returns false to cancel the default action.</p>
2950 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
2951 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
2952 </div></li></ul></div></div></div><div id="event-beforedeactivate" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-beforedeactivate" class="cls expand">beforedeactivate</a>(
2953 <span class="pre">Ext.Component this</span>)
2954 </div><div class="description"><div class="short">Fires before a Component has been visually deactivated.
2955 Returning false from an event listener can prevent the deacti...</div><div class="long"><p>Fires before a Component has been visually deactivated.
2956 Returning false from an event listener can prevent the deactivate
2957 from occurring.</p>
2958 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2959 </div></li></ul></div></div></div><div id="event-beforedestroy" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-beforedestroy" class="cls expand">beforedestroy</a>(
2960 <span class="pre">Ext.Component this</span>)
2961 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.grid.Panel.html#destroy" rel="Ext.grid.Panel#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.grid.Panel.html#destroy" rel="Ext.grid.Panel#destroy" class="docClass">destroy</a>.</p>
2962 </div><div class="long"><p>Fires before the component is <a href="Ext.grid.Panel.html#destroy" rel="Ext.grid.Panel#destroy" class="docClass">destroy</a>ed. Return false from an event handler to stop the <a href="Ext.grid.Panel.html#destroy" rel="Ext.grid.Panel#destroy" class="docClass">destroy</a>.</p>
2963 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2964 </div></li></ul></div></div></div><div id="event-beforehide" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-beforehide" class="cls expand">beforehide</a>(
2965 <span class="pre">Ext.Component this</span>)
2966 </div><div class="description"><div class="short"><p>Fires before the component is hidden when calling the <a href="Ext.grid.Panel.html#hide" rel="Ext.grid.Panel#hide" class="docClass">hide</a> method.
2967 Return false from an event handler to stop the hide.</p>
2968 </div><div class="long"><p>Fires before the component is hidden when calling the <a href="Ext.grid.Panel.html#hide" rel="Ext.grid.Panel#hide" class="docClass">hide</a> method.
2969 Return false from an event handler to stop the hide.</p>
2970 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
2971 </div></li></ul></div></div></div><div id="event-beforeitemclick" class="member inherited"><a href="Ext.grid.Panel.html#event-beforeitemclick" rel="event-beforeitemclick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforeitemclick" class="viewSource">view source</a></div><a name="beforeitemclick"></a><a name="event-beforeitemclick"></a><a href="Ext.grid.Panel.html#" rel="event-beforeitemclick" class="cls expand">beforeitemclick</a>(
2972 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
2973 </div><div class="description"><div class="short"><p>Fires before the click event on an item is processed. Returns false to cancel the default action.</p>
2974 </div><div class="long"><p>Fires before the click event on an item is processed. Returns false to cancel the default action.</p>
2975 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
2976 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
2977 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
2978 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
2979 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
2980 </div></li></ul></div></div></div><div id="event-beforeitemcontextmenu" class="member inherited"><a href="Ext.grid.Panel.html#event-beforeitemcontextmenu" rel="event-beforeitemcontextmenu" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforeitemcontextmenu" class="viewSource">view source</a></div><a name="beforeitemcontextmenu"></a><a name="event-beforeitemcontextmenu"></a><a href="Ext.grid.Panel.html#" rel="event-beforeitemcontextmenu" class="cls expand">beforeitemcontextmenu</a>(
2981 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
2982 </div><div class="description"><div class="short"><p>Fires before the contextmenu event on an item is processed. Returns false to cancel the default action.</p>
2983 </div><div class="long"><p>Fires before the contextmenu event on an item is processed. Returns false to cancel the default action.</p>
2984 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
2985 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
2986 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
2987 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
2988 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
2989 </div></li></ul></div></div></div><div id="event-beforeitemdblclick" class="member inherited"><a href="Ext.grid.Panel.html#event-beforeitemdblclick" rel="event-beforeitemdblclick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforeitemdblclick" class="viewSource">view source</a></div><a name="beforeitemdblclick"></a><a name="event-beforeitemdblclick"></a><a href="Ext.grid.Panel.html#" rel="event-beforeitemdblclick" class="cls expand">beforeitemdblclick</a>(
2990 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
2991 </div><div class="description"><div class="short"><p>Fires before the dblclick event on an item is processed. Returns false to cancel the default action.</p>
2992 </div><div class="long"><p>Fires before the dblclick event on an item is processed. Returns false to cancel the default action.</p>
2993 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
2994 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
2995 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
2996 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
2997 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
2998 </div></li></ul></div></div></div><div id="event-beforeitemmousedown" class="member inherited"><a href="Ext.grid.Panel.html#event-beforeitemmousedown" rel="event-beforeitemmousedown" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforeitemmousedown" class="viewSource">view source</a></div><a name="beforeitemmousedown"></a><a name="event-beforeitemmousedown"></a><a href="Ext.grid.Panel.html#" rel="event-beforeitemmousedown" class="cls expand">beforeitemmousedown</a>(
2999 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
3000 </div><div class="description"><div class="short"><p>Fires before the mousedown event on an item is processed. Returns false to cancel the default action.</p>
3001 </div><div class="long"><p>Fires before the mousedown event on an item is processed. Returns false to cancel the default action.</p>
3002 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3003 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
3004 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
3005 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
3006 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3007 </div></li></ul></div></div></div><div id="event-beforeitemmouseenter" class="member inherited"><a href="Ext.grid.Panel.html#event-beforeitemmouseenter" rel="event-beforeitemmouseenter" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforeitemmouseenter" class="viewSource">view source</a></div><a name="beforeitemmouseenter"></a><a name="event-beforeitemmouseenter"></a><a href="Ext.grid.Panel.html#" rel="event-beforeitemmouseenter" class="cls expand">beforeitemmouseenter</a>(
3008 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
3009 </div><div class="description"><div class="short"><p>Fires before the mouseenter event on an item is processed. Returns false to cancel the default action.</p>
3010 </div><div class="long"><p>Fires before the mouseenter event on an item is processed. Returns false to cancel the default action.</p>
3011 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3012 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
3013 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
3014 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
3015 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3016 </div></li></ul></div></div></div><div id="event-beforeitemmouseleave" class="member inherited"><a href="Ext.grid.Panel.html#event-beforeitemmouseleave" rel="event-beforeitemmouseleave" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforeitemmouseleave" class="viewSource">view source</a></div><a name="beforeitemmouseleave"></a><a name="event-beforeitemmouseleave"></a><a href="Ext.grid.Panel.html#" rel="event-beforeitemmouseleave" class="cls expand">beforeitemmouseleave</a>(
3017 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
3018 </div><div class="description"><div class="short"><p>Fires before the mouseleave event on an item is processed. Returns false to cancel the default action.</p>
3019 </div><div class="long"><p>Fires before the mouseleave event on an item is processed. Returns false to cancel the default action.</p>
3020 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3021 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
3022 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
3023 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
3024 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3025 </div></li></ul></div></div></div><div id="event-beforeitemmouseup" class="member inherited"><a href="Ext.grid.Panel.html#event-beforeitemmouseup" rel="event-beforeitemmouseup" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforeitemmouseup" class="viewSource">view source</a></div><a name="beforeitemmouseup"></a><a name="event-beforeitemmouseup"></a><a href="Ext.grid.Panel.html#" rel="event-beforeitemmouseup" class="cls expand">beforeitemmouseup</a>(
3026 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
3027 </div><div class="description"><div class="short"><p>Fires before the mouseup event on an item is processed. Returns false to cancel the default action.</p>
3028 </div><div class="long"><p>Fires before the mouseup event on an item is processed. Returns false to cancel the default action.</p>
3029 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3030 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
3031 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
3032 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
3033 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3034 </div></li></ul></div></div></div><div id="event-beforeremove" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-beforeremove" class="cls expand">beforeremove</a>(
3035 <span class="pre">Ext.container.Container this, Ext.Component component</span>)
3036 </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
3037 false to cancel the remove.</p>
3038 </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
3039 false to cancel the remove.</p>
3040 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
3041 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component being removed</p>
3042 </div></li></ul></div></div></div><div id="event-beforerender" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-beforerender" class="cls expand">beforerender</a>(
3043 <span class="pre">Ext.Component this</span>)
3044 </div><div class="description"><div class="short"><p>Fires before the component is <a href="Ext.grid.Panel.html#rendered" rel="Ext.grid.Panel#rendered" class="docClass">rendered</a>. Return false from an
3045 event handler to stop the <a href="Ext.grid.Panel.html#render" rel="Ext.grid.Panel#render" class="docClass">render</a>.</p>
3046 </div><div class="long"><p>Fires before the component is <a href="Ext.grid.Panel.html#rendered" rel="Ext.grid.Panel#rendered" class="docClass">rendered</a>. Return false from an
3047 event handler to stop the <a href="Ext.grid.Panel.html#render" rel="Ext.grid.Panel#render" class="docClass">render</a>.</p>
3048 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
3049 </div></li></ul></div></div></div><div id="event-beforeselect" class="member inherited"><a href="Ext.grid.Panel.html#event-beforeselect" rel="event-beforeselect" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-beforeselect" class="viewSource">view source</a></div><a name="beforeselect"></a><a name="event-beforeselect"></a><a href="Ext.grid.Panel.html#" rel="event-beforeselect" class="cls expand">beforeselect</a>(
3050 <span class="pre">Ext.view.View this, HTMLElement node, Array selections</span>)
3051 </div><div class="description"><div class="short"><p>Fires before a selection is made. If any handlers return false, the selection is cancelled.</p>
3052 </div><div class="long"><p>Fires before a selection is made. If any handlers return false, the selection is cancelled.</p>
3053 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3054 </div></li><li><span class="pre">node</span> : HTMLElement<div class="sub-desc"><p>The node to be selected</p>
3055 </div></li><li><span class="pre">selections</span> : Array<div class="sub-desc"><p>Array of currently selected nodes</p>
3056 </div></li></ul></div></div></div><div id="event-beforeshow" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-beforeshow" class="cls expand">beforeshow</a>(
3057 <span class="pre">Ext.Component this</span>)
3058 </div><div class="description"><div class="short"><p>Fires before the component is shown when calling the <a href="Ext.grid.Panel.html#show" rel="Ext.grid.Panel#show" class="docClass">show</a> method.
3059 Return false from an event handler to stop the show.</p>
3060 </div><div class="long"><p>Fires before the component is shown when calling the <a href="Ext.grid.Panel.html#show" rel="Ext.grid.Panel#show" class="docClass">show</a> method.
3061 Return false from an event handler to stop the show.</p>
3062 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
3063 </div></li></ul></div></div></div><div id="event-beforestaterestore" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-beforestaterestore" class="cls expand">beforestaterestore</a>(
3064 <span class="pre">Ext.state.Stateful this, Object state</span>)
3065 </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>
3066 </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>
3067 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
3068 </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
3069 event is not vetoed, then the state object is passed to <b><tt>applyState</tt></b>. By default,
3070 that simply copies property values into this object. The method maybe overriden to
3071 provide custom state restoration.</p>
3072 </div></li></ul></div></div></div><div id="event-beforestatesave" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-beforestatesave" class="cls expand">beforestatesave</a>(
3073 <span class="pre">Ext.state.Stateful this, Object state</span>)
3074 </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>
3075 </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>
3076 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
3077 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
3078 <b><tt>getState()</tt></b> on the object. This method must be provided by the
3079 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>
3080 has a null implementation.</p>
3081 </div></li></ul></div></div></div><div id="event-bodyresize" class="member inherited"><a href="Ext.grid.Panel.html#event-bodyresize" rel="event-bodyresize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.AbstractPanel.html" class="definedIn docClass">Ext.panel.AbstractPanel</a><br/><a href="../source/AbstractPanel.html#Ext-panel.AbstractPanel-event-bodyresize" class="viewSource">view source</a></div><a name="bodyresize"></a><a name="event-bodyresize"></a><a href="Ext.grid.Panel.html#" rel="event-bodyresize" class="cls expand">bodyresize</a>(
3082 <span class="pre">Ext.panel.Panel p, Number width, Number height</span>)
3083 </div><div class="description"><div class="short"><p>Fires after the Panel has been resized.</p>
3084 </div><div class="long"><p>Fires after the Panel has been resized.</p>
3085 <h3 class="pa">Parameters</h3><ul><li><span class="pre">p</span> : Ext.panel.Panel<div class="sub-desc"><p>the Panel which has been resized.</p>
3086 </div></li><li><span class="pre">width</span> : Number<div class="sub-desc"><p>The Panel body's new width.</p>
3087 </div></li><li><span class="pre">height</span> : Number<div class="sub-desc"><p>The Panel body's new height.</p>
3088 </div></li></ul></div></div></div><div id="event-cardswitch" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-cardswitch" class="cls expand">cardswitch</a>(
3089 <span class="pre">Ext.container.Container this, Ext.Component newCard, Ext.Component oldCard, Number index, Boolean animated</span>)
3090 </div><div class="description"><div class="short">Fires after this container switches the active card. If the card
3091 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
3092 is switched using an animation, this event will fire after the
3093 animation has finished. This event is only available if this container
3094 uses a CardLayout. Note that TabPanel and Carousel both get a CardLayout
3095 by default, so both will have this event.</p>
3096 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
3097 </div></li><li><span class="pre">newCard</span> : Ext.Component<div class="sub-desc"><p>The card that has been switched to</p>
3098 </div></li><li><span class="pre">oldCard</span> : Ext.Component<div class="sub-desc"><p>The card that has been switched from</p>
3099 </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>
3100 </div></li><li><span class="pre">animated</span> : Boolean<div class="sub-desc"><p>True if this cardswitch was animated</p>
3101 </div></li></ul></div></div></div><div id="event-containerclick" class="member inherited"><a href="Ext.grid.Panel.html#event-containerclick" rel="event-containerclick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-containerclick" class="viewSource">view source</a></div><a name="containerclick"></a><a name="event-containerclick"></a><a href="Ext.grid.Panel.html#" rel="event-containerclick" class="cls expand">containerclick</a>(
3102 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
3103 </div><div class="description"><div class="short"><p>Fires when the container is clicked.</p>
3104 </div><div class="long"><p>Fires when the container is clicked.</p>
3105 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3106 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3107 </div></li></ul></div></div></div><div id="event-containercontextmenu" class="member inherited"><a href="Ext.grid.Panel.html#event-containercontextmenu" rel="event-containercontextmenu" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-containercontextmenu" class="viewSource">view source</a></div><a name="containercontextmenu"></a><a name="event-containercontextmenu"></a><a href="Ext.grid.Panel.html#" rel="event-containercontextmenu" class="cls expand">containercontextmenu</a>(
3108 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
3109 </div><div class="description"><div class="short"><p>Fires when the container is right clicked.</p>
3110 </div><div class="long"><p>Fires when the container is right clicked.</p>
3111 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3112 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3113 </div></li></ul></div></div></div><div id="event-containerdblclick" class="member inherited"><a href="Ext.grid.Panel.html#event-containerdblclick" rel="event-containerdblclick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-containerdblclick" class="viewSource">view source</a></div><a name="containerdblclick"></a><a name="event-containerdblclick"></a><a href="Ext.grid.Panel.html#" rel="event-containerdblclick" class="cls expand">containerdblclick</a>(
3114 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
3115 </div><div class="description"><div class="short"><p>Fires when the container is double clicked.</p>
3116 </div><div class="long"><p>Fires when the container is double clicked.</p>
3117 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3118 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3119 </div></li></ul></div></div></div><div id="event-containermouseout" class="member inherited"><a href="Ext.grid.Panel.html#event-containermouseout" rel="event-containermouseout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-containermouseout" class="viewSource">view source</a></div><a name="containermouseout"></a><a name="event-containermouseout"></a><a href="Ext.grid.Panel.html#" rel="event-containermouseout" class="cls expand">containermouseout</a>(
3120 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
3121 </div><div class="description"><div class="short"><p>Fires when you move the mouse out of the container.</p>
3122 </div><div class="long"><p>Fires when you move the mouse out of the container.</p>
3123 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3124 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3125 </div></li></ul></div></div></div><div id="event-containermouseover" class="member inherited"><a href="Ext.grid.Panel.html#event-containermouseover" rel="event-containermouseover" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-containermouseover" class="viewSource">view source</a></div><a name="containermouseover"></a><a name="event-containermouseover"></a><a href="Ext.grid.Panel.html#" rel="event-containermouseover" class="cls expand">containermouseover</a>(
3126 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
3127 </div><div class="description"><div class="short"><p>Fires when you move the mouse over the container.</p>
3128 </div><div class="long"><p>Fires when you move the mouse over the container.</p>
3129 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3130 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3131 </div></li></ul></div></div></div><div id="event-containermouseup" class="member inherited"><a href="Ext.grid.Panel.html#event-containermouseup" rel="event-containermouseup" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-containermouseup" class="viewSource">view source</a></div><a name="containermouseup"></a><a name="event-containermouseup"></a><a href="Ext.grid.Panel.html#" rel="event-containermouseup" class="cls expand">containermouseup</a>(
3132 <span class="pre">Ext.view.View this, Ext.EventObject e</span>)
3133 </div><div class="description"><div class="short"><p>Fires when there is a mouse up on the container</p>
3134 </div><div class="long"><p>Fires when there is a mouse up on the container</p>
3135 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3136 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3137 </div></li></ul></div></div></div><div id="event-deactivate" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-deactivate" class="cls expand">deactivate</a>(
3138 <span class="pre">Ext.Component this</span>)
3139 </div><div class="description"><div class="short"><p>Fires after a Component has been visually deactivated.</p>
3140 </div><div class="long"><p>Fires after a Component has been visually deactivated.</p>
3141 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
3142 </div></li></ul></div></div></div><div id="event-destroy" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-destroy" class="cls expand">destroy</a>(
3143 <span class="pre">Ext.Component this</span>)
3144 </div><div class="description"><div class="short"><p>Fires after the component is <a href="Ext.grid.Panel.html#destroy" rel="Ext.grid.Panel#destroy" class="docClass">destroy</a>ed.</p>
3145 </div><div class="long"><p>Fires after the component is <a href="Ext.grid.Panel.html#destroy" rel="Ext.grid.Panel#destroy" class="docClass">destroy</a>ed.</p>
3146 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
3147 </div></li></ul></div></div></div><div id="event-disable" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-disable" class="cls expand">disable</a>(
3148 <span class="pre">Ext.Component this</span>)
3149 </div><div class="description"><div class="short"><p>Fires after the component is disabled.</p>
3150 </div><div class="long"><p>Fires after the component is disabled.</p>
3151 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
3152 </div></li></ul></div></div></div><div id="event-enable" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-enable" class="cls expand">enable</a>(
3153 <span class="pre">Ext.Component this</span>)
3154 </div><div class="description"><div class="short"><p>Fires after the component is enabled.</p>
3155 </div><div class="long"><p>Fires after the component is enabled.</p>
3156 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
3157 </div></li></ul></div></div></div><div id="event-hide" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-hide" class="cls expand">hide</a>(
3158 <span class="pre">Ext.Component this</span>)
3159 </div><div class="description"><div class="short"><p>Fires after the component is hidden.
3160 Fires after the component is hidden when calling the <a href="Ext.grid.Panel.html#hide" rel="Ext.grid.Panel#hide" class="docClass">hide</a> method.</p>
3161 </div><div class="long"><p>Fires after the component is hidden.
3162 Fires after the component is hidden when calling the <a href="Ext.grid.Panel.html#hide" rel="Ext.grid.Panel#hide" class="docClass">hide</a> method.</p>
3163 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
3164 </div></li></ul></div></div></div><div id="event-iconchange" class="member inherited"><a href="Ext.grid.Panel.html#event-iconchange" rel="event-iconchange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-event-iconchange" class="viewSource">view source</a></div><a name="iconchange"></a><a name="event-iconchange"></a><a href="Ext.grid.Panel.html#" rel="event-iconchange" class="cls expand">iconchange</a>(
3165 <span class="pre">Ext.panel.Panel p, String newIconCls, String oldIconCls</span>)
3166 </div><div class="description"><div class="short"><p>Fires after the Panel iconCls has been set or changed.</p>
3167 </div><div class="long"><p>Fires after the Panel iconCls has been set or changed.</p>
3168 <h3 class="pa">Parameters</h3><ul><li><span class="pre">p</span> : Ext.panel.Panel<div class="sub-desc"><p>the Panel which has been resized.</p>
3169 </div></li><li><span class="pre">newIconCls</span> : String<div class="sub-desc"><p>The new iconCls.</p>
3170 </div></li><li><span class="pre">oldIconCls</span> : String<div class="sub-desc"><p>The previous panel iconCls.</p>
3171 </div></li></ul></div></div></div><div id="event-itemclick" class="member inherited"><a href="Ext.grid.Panel.html#event-itemclick" rel="event-itemclick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-itemclick" class="viewSource">view source</a></div><a name="itemclick"></a><a name="event-itemclick"></a><a href="Ext.grid.Panel.html#" rel="event-itemclick" class="cls expand">itemclick</a>(
3172 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
3173 </div><div class="description"><div class="short"><p>Fires when an item is clicked.</p>
3174 </div><div class="long"><p>Fires when an item is clicked.</p>
3175 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3176 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
3177 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
3178 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
3179 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3180 </div></li></ul></div></div></div><div id="event-itemcontextmenu" class="member inherited"><a href="Ext.grid.Panel.html#event-itemcontextmenu" rel="event-itemcontextmenu" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-itemcontextmenu" class="viewSource">view source</a></div><a name="itemcontextmenu"></a><a name="event-itemcontextmenu"></a><a href="Ext.grid.Panel.html#" rel="event-itemcontextmenu" class="cls expand">itemcontextmenu</a>(
3181 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
3182 </div><div class="description"><div class="short"><p>Fires when an item is right clicked.</p>
3183 </div><div class="long"><p>Fires when an item is right clicked.</p>
3184 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3185 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
3186 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
3187 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
3188 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3189 </div></li></ul></div></div></div><div id="event-itemdblclick" class="member inherited"><a href="Ext.grid.Panel.html#event-itemdblclick" rel="event-itemdblclick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-itemdblclick" class="viewSource">view source</a></div><a name="itemdblclick"></a><a name="event-itemdblclick"></a><a href="Ext.grid.Panel.html#" rel="event-itemdblclick" class="cls expand">itemdblclick</a>(
3190 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
3191 </div><div class="description"><div class="short"><p>Fires when an item is double clicked.</p>
3192 </div><div class="long"><p>Fires when an item is double clicked.</p>
3193 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3194 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
3195 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
3196 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
3197 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3198 </div></li></ul></div></div></div><div id="event-itemmousedown" class="member inherited"><a href="Ext.grid.Panel.html#event-itemmousedown" rel="event-itemmousedown" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-itemmousedown" class="viewSource">view source</a></div><a name="itemmousedown"></a><a name="event-itemmousedown"></a><a href="Ext.grid.Panel.html#" rel="event-itemmousedown" class="cls expand">itemmousedown</a>(
3199 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
3200 </div><div class="description"><div class="short"><p>Fires when there is a mouse down on an item</p>
3201 </div><div class="long"><p>Fires when there is a mouse down on an item</p>
3202 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3203 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
3204 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
3205 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
3206 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3207 </div></li></ul></div></div></div><div id="event-itemmouseenter" class="member inherited"><a href="Ext.grid.Panel.html#event-itemmouseenter" rel="event-itemmouseenter" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-itemmouseenter" class="viewSource">view source</a></div><a name="itemmouseenter"></a><a name="event-itemmouseenter"></a><a href="Ext.grid.Panel.html#" rel="event-itemmouseenter" class="cls expand">itemmouseenter</a>(
3208 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
3209 </div><div class="description"><div class="short"><p>Fires when the mouse enters an item.</p>
3210 </div><div class="long"><p>Fires when the mouse enters an item.</p>
3211 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3212 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
3213 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
3214 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
3215 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3216 </div></li></ul></div></div></div><div id="event-itemmouseleave" class="member inherited"><a href="Ext.grid.Panel.html#event-itemmouseleave" rel="event-itemmouseleave" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-itemmouseleave" class="viewSource">view source</a></div><a name="itemmouseleave"></a><a name="event-itemmouseleave"></a><a href="Ext.grid.Panel.html#" rel="event-itemmouseleave" class="cls expand">itemmouseleave</a>(
3217 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
3218 </div><div class="description"><div class="short"><p>Fires when the mouse leaves an item.</p>
3219 </div><div class="long"><p>Fires when the mouse leaves an item.</p>
3220 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3221 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
3222 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
3223 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
3224 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3225 </div></li></ul></div></div></div><div id="event-itemmouseup" class="member inherited"><a href="Ext.grid.Panel.html#event-itemmouseup" rel="event-itemmouseup" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-itemmouseup" class="viewSource">view source</a></div><a name="itemmouseup"></a><a name="event-itemmouseup"></a><a href="Ext.grid.Panel.html#" rel="event-itemmouseup" class="cls expand">itemmouseup</a>(
3226 <span class="pre">Ext.view.View this, Ext.data.Model record, HTMLElement item, Number index, Ext.EventObject e</span>)
3227 </div><div class="description"><div class="short"><p>Fires when there is a mouse up on an item</p>
3228 </div><div class="long"><p>Fires when there is a mouse up on an item</p>
3229 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3230 </div></li><li><span class="pre">record</span> : Ext.data.Model<div class="sub-desc"><p>The record that belongs to the item</p>
3231 </div></li><li><span class="pre">item</span> : HTMLElement<div class="sub-desc"><p>The item's element</p>
3232 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The item's index</p>
3233 </div></li><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The raw event object</p>
3234 </div></li></ul></div></div></div><div id="event-move" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-move" class="cls expand">move</a>(
3235 <span class="pre">Ext.Component this, Number x, Number y</span>)
3236 </div><div class="description"><div class="short"><p>Fires after the component is moved.</p>
3237 </div><div class="long"><p>Fires after the component is moved.</p>
3238 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
3239 </div></li><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The new x position</p>
3240 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>The new y position</p>
3241 </div></li></ul></div></div></div><div id="event-remove" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-remove" class="cls expand">remove</a>(
3242 <span class="pre">Ext.container.Container this, Ext.Component component</span>)
3243 </div><div class="description"><div class="short"><p>@bubbles
3244 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.</p>
3245 </div><div class="long"><p>@bubbles
3246 Fires after any <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> is removed from the container.</p>
3247 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.container.Container<div class="sub-desc">
3248 </div></li><li><span class="pre">component</span> : Ext.Component<div class="sub-desc"><p>The component that was removed</p>
3249 </div></li></ul></div></div></div><div id="event-removed" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-removed" class="cls expand">removed</a>(
3250 <span class="pre">Ext.Component this, Ext.container.Container ownerCt</span>)
3251 </div><div class="description"><div class="short"><p>Fires when a component is removed from an Ext.container.Container</p>
3252 </div><div class="long"><p>Fires when a component is removed from an Ext.container.Container</p>
3253 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
3254 </div></li><li><span class="pre">ownerCt</span> : Ext.container.Container<div class="sub-desc"><p>Container which holds the component</p>
3255 </div></li></ul></div></div></div><div id="event-render" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-render" class="cls expand">render</a>(
3256 <span class="pre">Ext.Component this</span>)
3257 </div><div class="description"><div class="short"><p>Fires after the component markup is <a href="Ext.grid.Panel.html#rendered" rel="Ext.grid.Panel#rendered" class="docClass">rendered</a>.</p>
3258 </div><div class="long"><p>Fires after the component markup is <a href="Ext.grid.Panel.html#rendered" rel="Ext.grid.Panel#rendered" class="docClass">rendered</a>.</p>
3259 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
3260 </div></li></ul></div></div></div><div id="event-resize" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-resize" class="cls expand">resize</a>(
3261 <span class="pre">Ext.Component this, Number adjWidth, Number adjHeight</span>)
3262 </div><div class="description"><div class="short"><p>Fires after the component is resized.</p>
3263 </div><div class="long"><p>Fires after the component is resized.</p>
3264 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
3265 </div></li><li><span class="pre">adjWidth</span> : Number<div class="sub-desc"><p>The box-adjusted width that was set</p>
3266 </div></li><li><span class="pre">adjHeight</span> : Number<div class="sub-desc"><p>The box-adjusted height that was set</p>
3267 </div></li></ul></div></div></div><div id="event-scrollerhide" class="member inherited"><a href="Ext.grid.Panel.html#event-scrollerhide" rel="event-scrollerhide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-scrollerhide" class="viewSource">view source</a></div><a name="scrollerhide"></a><a name="event-scrollerhide"></a><a href="Ext.grid.Panel.html#" rel="event-scrollerhide" class="cls expand">scrollerhide</a>(
3268 <span class="pre">Ext.grid.Scroller scroller, String orientation</span>)
3269 </div><div class="description"><div class="short"><p>Fires when a scroller is hidden</p>
3270 </div><div class="long"><p>Fires when a scroller is hidden</p>
3271 <h3 class="pa">Parameters</h3><ul><li><span class="pre">scroller</span> : Ext.grid.Scroller<div class="sub-desc">
3272 </div></li><li><span class="pre">orientation</span> : String<div class="sub-desc"><p>Orientation, can be 'vertical' or 'horizontal'</p>
3273 </div></li></ul></div></div></div><div id="event-scrollershow" class="member inherited"><a href="Ext.grid.Panel.html#event-scrollershow" rel="event-scrollershow" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-scrollershow" class="viewSource">view source</a></div><a name="scrollershow"></a><a name="event-scrollershow"></a><a href="Ext.grid.Panel.html#" rel="event-scrollershow" class="cls expand">scrollershow</a>(
3274 <span class="pre">Ext.grid.Scroller scroller, String orientation</span>)
3275 </div><div class="description"><div class="short"><p>Fires when a scroller is shown</p>
3276 </div><div class="long"><p>Fires when a scroller is shown</p>
3277 <h3 class="pa">Parameters</h3><ul><li><span class="pre">scroller</span> : Ext.grid.Scroller<div class="sub-desc">
3278 </div></li><li><span class="pre">orientation</span> : String<div class="sub-desc"><p>Orientation, can be 'vertical' or 'horizontal'</p>
3279 </div></li></ul></div></div></div><div id="event-selectionchange" class="member inherited"><a href="Ext.grid.Panel.html#event-selectionchange" rel="event-selectionchange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Table.html" class="definedIn docClass">Ext.panel.Table</a><br/><a href="../source/Table2.html#Ext-panel.Table-event-selectionchange" class="viewSource">view source</a></div><a name="selectionchange"></a><a name="event-selectionchange"></a><a href="Ext.grid.Panel.html#" rel="event-selectionchange" class="cls expand">selectionchange</a>(
3280 <span class="pre">Ext.view.View this, Array selections</span>)
3281 </div><div class="description"><div class="short"><p>Fires when the selected nodes change. Relayed event from the underlying selection model.</p>
3282 </div><div class="long"><p>Fires when the selected nodes change. Relayed event from the underlying selection model.</p>
3283 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.view.View<div class="sub-desc">
3284 </div></li><li><span class="pre">selections</span> : Array<div class="sub-desc"><p>Array of the selected nodes</p>
3285 </div></li></ul></div></div></div><div id="event-show" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-show" class="cls expand">show</a>(
3286 <span class="pre">Ext.Component this</span>)
3287 </div><div class="description"><div class="short"><p>Fires after the component is shown when calling the <a href="Ext.grid.Panel.html#show" rel="Ext.grid.Panel#show" class="docClass">show</a> method.</p>
3288 </div><div class="long"><p>Fires after the component is shown when calling the <a href="Ext.grid.Panel.html#show" rel="Ext.grid.Panel#show" class="docClass">show</a> method.</p>
3289 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.Component<div class="sub-desc">
3290 </div></li></ul></div></div></div><div id="event-staterestore" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-staterestore" class="cls expand">staterestore</a>(
3291 <span class="pre">Ext.state.Stateful this, Object state</span>)
3292 </div><div class="description"><div class="short"><p>Fires after the state of the object is restored.</p>
3293 </div><div class="long"><p>Fires after the state of the object is restored.</p>
3294 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
3295 </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
3296 to <b><tt>applyState</tt></b>. By default, that simply copies property values into this
3297 object. The method maybe overriden to provide custom state restoration.</p>
3298 </div></li></ul></div></div></div><div id="event-statesave" class="member inherited"><a href="Ext.grid.Panel.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.Panel.html#" rel="event-statesave" class="cls expand">statesave</a>(
3299 <span class="pre">Ext.state.Stateful this, Object state</span>)
3300 </div><div class="description"><div class="short"><p>Fires after the state of the object is saved to the configured state provider.</p>
3301 </div><div class="long"><p>Fires after the state of the object is saved to the configured state provider.</p>
3302 <h3 class="pa">Parameters</h3><ul><li><span class="pre">this</span> : Ext.state.Stateful<div class="sub-desc">
3303 </div></li><li><span class="pre">state</span> : Object<div class="sub-desc"><p>The hash of state values. This is determined by calling
3304 <b><tt>getState()</tt></b> on the object. This method must be provided by the
3305 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>
3306 has a null implementation.</p>
3307 </div></li></ul></div></div></div><div id="event-titlechange" class="member inherited"><a href="Ext.grid.Panel.html#event-titlechange" rel="event-titlechange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.panel.Panel.html" class="definedIn docClass">Ext.panel.Panel</a><br/><a href="../source/Panel3.html#Ext-panel.Panel-event-titlechange" class="viewSource">view source</a></div><a name="titlechange"></a><a name="event-titlechange"></a><a href="Ext.grid.Panel.html#" rel="event-titlechange" class="cls expand">titlechange</a>(
3308 <span class="pre">Ext.panel.Panel p, String newTitle, String oldTitle</span>)
3309 </div><div class="description"><div class="short"><p>Fires after the Panel title has been set or changed.</p>
3310 </div><div class="long"><p>Fires after the Panel title has been set or changed.</p>
3311 <h3 class="pa">Parameters</h3><ul><li><span class="pre">p</span> : Ext.panel.Panel<div class="sub-desc"><p>the Panel which has been resized.</p>
3312 </div></li><li><span class="pre">newTitle</span> : String<div class="sub-desc"><p>The new title.</p>
3313 </div></li><li><span class="pre">oldTitle</span> : String<div class="sub-desc"><p>The previous panel title.</p>
3314 </div></li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>