Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / docs / output / Ext.grid.feature.Summary.js
1 Ext.data.JsonP.Ext_grid_feature_Summary({
2   "allMixins": [
3
4   ],
5   "deprecated": null,
6   "docauthor": null,
7   "members": {
8     "cfg": [
9       {
10         "type": "Object",
11         "deprecated": null,
12         "alias": null,
13         "protected": false,
14         "tagname": "cfg",
15         "href": "Observable.html#Ext-util-Observable-cfg-listeners",
16         "shortDoc": "A config object containing one or more event handlers to be added to this object during initialization. ...",
17         "static": false,
18         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
19         "private": false,
20         "name": "listeners",
21         "owner": "Ext.util.Observable",
22         "doc": "<p>A config object containing one or more event handlers to be added to this object during initialization. This\nshould be a valid listeners config object as specified in the <a href=\"#/api/Ext.grid.feature.Summary-method-addListener\" rel=\"Ext.grid.feature.Summary-method-addListener\" class=\"docClass\">addListener</a> example for attaching multiple\nhandlers at once.</p>\n\n<p><strong>DOM events from ExtJS <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a></strong></p>\n\n<p>While <em>some</em> ExtJs Component classes export selected DOM events (e.g. \"click\", \"mouseover\" etc), this is usually\nonly done when extra value can be added. For example the <a href=\"#/api/Ext.view.View\" rel=\"Ext.view.View\" class=\"docClass\">DataView</a>'s <strong><code><a href=\"#/api/Ext.view.View-event-itemclick\" rel=\"Ext.view.View-event-itemclick\" class=\"docClass\">itemclick</a></code></strong> event passing the node clicked on. To access DOM events directly from a\nchild element of a Component, we need to specify the <code>element</code> option to identify the Component property to add a\nDOM listener to:</p>\n\n<pre><code>new Ext.panel.Panel({\n    width: 400,\n    height: 200,\n    dockedItems: [{\n        xtype: 'toolbar'\n    }],\n    listeners: {\n        click: {\n            element: 'el', //bind to the underlying el property on the panel\n            fn: function(){ console.log('click el'); }\n        },\n        dblclick: {\n            element: 'body', //bind to the underlying body property on the panel\n            fn: function(){ console.log('dblclick body'); }\n        }\n    }\n});\n</code></pre>\n",
23         "linenr": 102,
24         "html_filename": "Observable.html"
25       },
26       {
27         "type": "Boolean",
28         "deprecated": null,
29         "alias": null,
30         "protected": false,
31         "tagname": "cfg",
32         "href": "AbstractSummary.html#Ext-grid-feature-AbstractSummary-cfg-showSummaryRow",
33         "shortDoc": "True to show the summary row. ...",
34         "static": false,
35         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/AbstractSummary.js",
36         "private": false,
37         "name": "showSummaryRow",
38         "owner": "Ext.grid.feature.AbstractSummary",
39         "doc": "<p>True to show the summary row. Defaults to <tt>true</tt>.</p>\n",
40         "linenr": 17,
41         "html_filename": "AbstractSummary.html"
42       }
43     ],
44     "method": [
45       {
46         "deprecated": null,
47         "alias": null,
48         "protected": false,
49         "tagname": "method",
50         "href": "Observable.html#Ext-util-Observable-method-addEvents",
51         "shortDoc": "Adds the specified events to the list of events which this Observable may fire. ...",
52         "static": false,
53         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
54         "private": false,
55         "params": [
56           {
57             "type": "Object/String",
58             "optional": false,
59             "doc": "<p>Either an object with event names as properties with a value of <code>true</code> or the first\nevent name string if multiple event names are being passed as separate parameters. Usage:</p>\n\n<pre><code>this.addEvents({\n    storeloaded: true,\n    storecleared: true\n});\n</code></pre>\n",
60             "name": "o"
61           },
62           {
63             "type": "String...",
64             "optional": false,
65             "doc": "<p>Optional additional event names if multiple event names are being passed as separate\nparameters. Usage:</p>\n\n<pre><code>this.addEvents('storeloaded', 'storecleared');\n</code></pre>\n",
66             "name": "more"
67           }
68         ],
69         "name": "addEvents",
70         "owner": "Ext.util.Observable",
71         "doc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n",
72         "linenr": 494,
73         "return": {
74           "type": "void",
75           "doc": "\n"
76         },
77         "html_filename": "Observable.html"
78       },
79       {
80         "deprecated": null,
81         "alias": null,
82         "protected": false,
83         "tagname": "method",
84         "href": "Observable.html#Ext-util-Observable-method-addListener",
85         "shortDoc": "Appends an event handler to this object. ...",
86         "static": false,
87         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
88         "private": false,
89         "params": [
90           {
91             "type": "String",
92             "optional": false,
93             "doc": "<p>The name of the event to listen for. May also be an object who's property names are\nevent names.</p>\n",
94             "name": "eventName"
95           },
96           {
97             "type": "Function",
98             "optional": false,
99             "doc": "<p>The method the event invokes.  Will be called with arguments given to\n<a href=\"#/api/Ext.grid.feature.Summary-method-fireEvent\" rel=\"Ext.grid.feature.Summary-method-fireEvent\" class=\"docClass\">fireEvent</a> plus the <code>options</code> parameter described below.</p>\n",
100             "name": "handler"
101           },
102           {
103             "type": "Object",
104             "optional": true,
105             "doc": "<p>(optional) The scope (<code>this</code> reference) in which the handler function is executed. <strong>If\nomitted, defaults to the object which fired the event.</strong></p>\n",
106             "name": "scope"
107           },
108           {
109             "type": "Object",
110             "optional": true,
111             "doc": "<p>(optional) An object containing handler configuration.</p>\n\n<p><strong>Note:</strong> Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.</p>\n\n<p>This object may contain any of the following properties:</p>\n\n<ul>\n<li><p><strong>scope</strong> : Object</p>\n\n<p>The scope (<code>this</code> reference) in which the handler function is executed. <strong>If omitted, defaults to the object\nwhich fired the event.</strong></p></li>\n<li><p><strong>delay</strong> : Number</p>\n\n<p>The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>\n<li><p><strong>single</strong> : Boolean</p>\n\n<p>True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>\n<li><p><strong>buffer</strong> : Number</p>\n\n<p>Causes the handler to be scheduled to run in an <a href=\"#/api/Ext.util.DelayedTask\" rel=\"Ext.util.DelayedTask\" class=\"docClass\">Ext.util.DelayedTask</a> delayed by the specified number of\nmilliseconds. If the event fires again within that time, the original handler is <em>not</em> invoked, but the new\nhandler is scheduled in its place.</p></li>\n<li><p><strong>target</strong> : Observable</p>\n\n<p>Only call the handler if the event was fired on the target Observable, <em>not</em> if the event was bubbled up from a\nchild Observable.</p></li>\n<li><p><strong>element</strong> : String</p>\n\n<p><strong>This option is only valid for listeners bound to <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a>.</strong> The name of a Component\nproperty which references an element to add a listener to.</p>\n\n<p>This option is useful during Component construction to add DOM event listeners to elements of\n<a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a> which will exist only after the Component is rendered.\nFor example, to add a click listener to a Panel's body:</p>\n\n<pre><code>new Ext.panel.Panel({\n    title: 'The title',\n    listeners: {\n        click: this.handlePanelClick,\n        element: 'body'\n    }\n});\n</code></pre></li>\n</ul>\n\n\n<p><strong>Combining Options</strong></p>\n\n<p>Using the options argument, it is possible to combine different types of listeners:</p>\n\n<p>A delayed, one-time listener.</p>\n\n<pre><code>myPanel.on('hide', this.handleClick, this, {\n    single: true,\n    delay: 100\n});\n</code></pre>\n\n<p><strong>Attaching multiple handlers in 1 call</strong></p>\n\n<p>The method also allows for a single argument to be passed which is a config object containing properties which\nspecify multiple events. For example:</p>\n\n<pre><code>myGridPanel.on({\n    cellClick: this.onCellClick,\n    mouseover: this.onMouseOver,\n    mouseout: this.onMouseOut,\n    scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n</code></pre>\n\n<p>One can also specify options for each event handler separately:</p>\n\n<pre><code>myGridPanel.on({\n    cellClick: {fn: this.onCellClick, scope: this, single: true},\n    mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n</code></pre>\n",
112             "name": "options"
113           }
114         ],
115         "name": "addListener",
116         "owner": "Ext.util.Observable",
117         "doc": "<p>Appends an event handler to this object.</p>\n",
118         "linenr": 278,
119         "return": {
120           "type": "void",
121           "doc": "\n"
122         },
123         "html_filename": "Observable.html"
124       },
125       {
126         "deprecated": null,
127         "alias": null,
128         "protected": false,
129         "tagname": "method",
130         "href": "Observable.html#Ext-util-Observable-method-addManagedListener",
131         "shortDoc": "Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed. ...",
132         "static": false,
133         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
134         "private": false,
135         "params": [
136           {
137             "type": "Observable/Element",
138             "optional": false,
139             "doc": "<p>The item to which to add a listener/listeners.</p>\n",
140             "name": "item"
141           },
142           {
143             "type": "Object/String",
144             "optional": false,
145             "doc": "<p>The event name, or an object containing event name properties.</p>\n",
146             "name": "ename"
147           },
148           {
149             "type": "Function",
150             "optional": true,
151             "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
152             "name": "fn"
153           },
154           {
155             "type": "Object",
156             "optional": true,
157             "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the scope (<code>this</code> reference)\nin which the handler function is executed.</p>\n",
158             "name": "scope"
159           },
160           {
161             "type": "Object",
162             "optional": true,
163             "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the\n<a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">addListener</a> options.</p>\n",
164             "name": "opt"
165           }
166         ],
167         "name": "addManagedListener",
168         "owner": "Ext.util.Observable",
169         "doc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed.</p>\n",
170         "linenr": 156,
171         "return": {
172           "type": "void",
173           "doc": "\n"
174         },
175         "html_filename": "Observable.html"
176       },
177       {
178         "deprecated": null,
179         "alias": null,
180         "protected": false,
181         "tagname": "method",
182         "href": "Base3.html#Ext-Base-method-addStatics",
183         "shortDoc": "Add / override static properties of this class. ...",
184         "static": true,
185         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
186         "private": false,
187         "params": [
188           {
189             "type": "Object",
190             "optional": false,
191             "doc": "\n",
192             "name": "members"
193           }
194         ],
195         "name": "addStatics",
196         "owner": "Ext.Base",
197         "doc": "<p>Add / override static properties of this class.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.addStatics({\n    someProperty: 'someValue',      // My.cool.Class.someProperty = 'someValue'\n    method1: function() { ... },    // My.cool.Class.method1 = function() { ... };\n    method2: function() { ... }     // My.cool.Class.method2 = function() { ... };\n});\n</code></pre>\n",
198         "linenr": 388,
199         "return": {
200           "type": "Ext.Base",
201           "doc": "<p>this</p>\n"
202         },
203         "html_filename": "Base3.html"
204       },
205       {
206         "deprecated": null,
207         "alias": null,
208         "protected": false,
209         "tagname": "method",
210         "href": "Feature.html#Ext-grid-feature-Feature-method-attachEvents",
211         "shortDoc": "Approriate place to attach events to the view, selectionmodel, headerCt, etc ...",
212         "static": false,
213         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
214         "private": false,
215         "params": [
216
217         ],
218         "name": "attachEvents",
219         "owner": "Ext.grid.feature.Feature",
220         "doc": "<p>Approriate place to attach events to the view, selectionmodel, headerCt, etc</p>\n",
221         "linenr": 89,
222         "return": {
223           "type": "void",
224           "doc": "\n"
225         },
226         "html_filename": "Feature.html"
227       },
228       {
229         "deprecated": null,
230         "alias": null,
231         "protected": false,
232         "tagname": "method",
233         "href": "Base3.html#Ext-Base-method-callOverridden",
234         "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n    constructo...",
235         "static": false,
236         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
237         "private": false,
238         "params": [
239           {
240             "type": "Array/Arguments",
241             "optional": false,
242             "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
243             "name": "args"
244           }
245         ],
246         "name": "callOverridden",
247         "owner": "Ext.Base",
248         "doc": "<p>Call the original method that was previously overridden with <a href=\"#/api/Ext.Base-method-override\" rel=\"Ext.Base-method-override\" class=\"docClass\">Ext.Base.override</a></p>\n\n<pre><code>Ext.define('My.Cat', {\n    constructor: function() {\n        alert(\"I'm a cat!\");\n\n        return this;\n    }\n});\n\nMy.Cat.override({\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        var instance = this.callOverridden();\n\n        alert(\"Meeeeoooowwww\");\n\n        return instance;\n    }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n                          // alerts \"I'm a cat!\"\n                          // alerts \"Meeeeoooowwww\"\n</code></pre>\n",
249         "linenr": 269,
250         "return": {
251           "type": "Mixed",
252           "doc": "<p>Returns the result after calling the overridden method</p>\n"
253         },
254         "html_filename": "Base3.html"
255       },
256       {
257         "deprecated": null,
258         "alias": null,
259         "protected": true,
260         "tagname": "method",
261         "href": "Base3.html#Ext-Base-method-callParent",
262         "shortDoc": "Call the parent's overridden method. ...",
263         "static": false,
264         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
265         "private": false,
266         "params": [
267           {
268             "type": "Array/Arguments",
269             "optional": false,
270             "doc": "<p>The arguments, either an array or the <code>arguments</code> object\nfrom the current method, for example: <code>this.callParent(arguments)</code></p>\n",
271             "name": "args"
272           }
273         ],
274         "name": "callParent",
275         "owner": "Ext.Base",
276         "doc": "<p>Call the parent's overridden method. For example:</p>\n\n<pre><code>Ext.define('My.own.A', {\n    constructor: function(test) {\n        alert(test);\n    }\n});\n\nExt.define('My.own.B', {\n    extend: 'My.own.A',\n\n    constructor: function(test) {\n        alert(test);\n\n        this.callParent([test + 1]);\n    }\n});\n\nExt.define('My.own.C', {\n    extend: 'My.own.B',\n\n    constructor: function() {\n        alert(\"Going to call parent's overriden constructor...\");\n\n        this.callParent(arguments);\n    }\n});\n\nvar a = new My.own.A(1); // alerts '1'\nvar b = new My.own.B(1); // alerts '1', then alerts '2'\nvar c = new My.own.C(2); // alerts \"Going to call parent's overriden constructor...\"\n                         // alerts '2', then alerts '3'\n</code></pre>\n",
277         "linenr": 124,
278         "return": {
279           "type": "Mixed",
280           "doc": "<p>Returns the result from the superclass' method</p>\n"
281         },
282         "html_filename": "Base3.html"
283       },
284       {
285         "deprecated": null,
286         "alias": null,
287         "protected": false,
288         "tagname": "method",
289         "href": "Observable.html#Ext-util-Observable-method-capture",
290         "shortDoc": "Starts capture on the specified Observable. ...",
291         "static": true,
292         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
293         "private": false,
294         "params": [
295           {
296             "type": "Observable",
297             "optional": false,
298             "doc": "<p>The Observable to capture events from.</p>\n",
299             "name": "o"
300           },
301           {
302             "type": "Function",
303             "optional": false,
304             "doc": "<p>The function to call when an event is fired.</p>\n",
305             "name": "fn"
306           },
307           {
308             "type": "Object",
309             "optional": true,
310             "doc": "<p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to\nthe Observable firing the event.</p>\n",
311             "name": "scope"
312           }
313         ],
314         "name": "capture",
315         "owner": "Ext.util.Observable",
316         "doc": "<p>Starts capture on the specified Observable. All events will be passed to the supplied function with the event\nname + standard signature of the event <strong>before</strong> the event is fired. If the supplied function returns false,\nthe event will not fire.</p>\n",
317         "linenr": 54,
318         "return": {
319           "type": "void",
320           "doc": "\n"
321         },
322         "html_filename": "Observable.html"
323       },
324       {
325         "deprecated": null,
326         "alias": null,
327         "protected": false,
328         "tagname": "method",
329         "href": "Observable.html#Ext-util-Observable-method-clearListeners",
330         "shortDoc": "Removes all listeners for this object including the managed listeners ...",
331         "static": false,
332         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
333         "private": false,
334         "params": [
335
336         ],
337         "name": "clearListeners",
338         "owner": "Ext.util.Observable",
339         "doc": "<p>Removes all listeners for this object including the managed listeners</p>\n",
340         "linenr": 425,
341         "return": {
342           "type": "void",
343           "doc": "\n"
344         },
345         "html_filename": "Observable.html"
346       },
347       {
348         "deprecated": null,
349         "alias": null,
350         "protected": false,
351         "tagname": "method",
352         "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners",
353         "shortDoc": "Removes all managed listeners for this object. ...",
354         "static": false,
355         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
356         "private": false,
357         "params": [
358
359         ],
360         "name": "clearManagedListeners",
361         "owner": "Ext.util.Observable",
362         "doc": "<p>Removes all managed listeners for this object.</p>\n",
363         "linenr": 454,
364         "return": {
365           "type": "void",
366           "doc": "\n"
367         },
368         "html_filename": "Observable.html"
369       },
370       {
371         "deprecated": null,
372         "alias": null,
373         "protected": false,
374         "tagname": "method",
375         "href": "Base3.html#Ext-Base-method-create",
376         "shortDoc": "Create a new instance of this Class. ...",
377         "static": true,
378         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
379         "private": false,
380         "params": [
381
382         ],
383         "name": "create",
384         "owner": "Ext.Base",
385         "doc": "<p>Create a new instance of this Class.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n    ...\n});\n\nMy.cool.Class.create({\n    someConfig: true\n});\n</code></pre>\n\n<p>All parameters are passed to the constructor of the class.</p>\n",
386         "linenr": 329,
387         "return": {
388           "type": "Object",
389           "doc": "<p>the created instance.</p>\n"
390         },
391         "html_filename": "Base3.html"
392       },
393       {
394         "deprecated": null,
395         "alias": null,
396         "protected": false,
397         "tagname": "method",
398         "href": "Base3.html#Ext-Base-method-createAlias",
399         "shortDoc": "Create aliases for existing prototype methods. ...",
400         "static": true,
401         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
402         "private": false,
403         "params": [
404           {
405             "type": "String/Object",
406             "optional": false,
407             "doc": "<p>The new method name, or an object to set multiple aliases. See\n<a href=\"#/api/Ext.Function-method-flexSetter\" rel=\"Ext.Function-method-flexSetter\" class=\"docClass\">flexSetter</a></p>\n",
408             "name": "alias"
409           },
410           {
411             "type": "String/Object",
412             "optional": false,
413             "doc": "<p>The original method name</p>\n",
414             "name": "origin"
415           }
416         ],
417         "name": "createAlias",
418         "owner": "Ext.Base",
419         "doc": "<p>Create aliases for existing prototype methods. Example:</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n    method1: function() { ... },\n    method2: function() { ... }\n});\n\nvar test = new My.cool.Class();\n\nMy.cool.Class.createAlias({\n    method3: 'method1',\n    method4: 'method2'\n});\n\ntest.method3(); // test.method1()\n\nMy.cool.Class.createAlias('method5', 'method3');\n\ntest.method5(); // test.method3() -&gt; test.method1()\n</code></pre>\n",
420         "linenr": 648,
421         "return": {
422           "type": "void",
423           "doc": "\n"
424         },
425         "html_filename": "Base3.html"
426       },
427       {
428         "deprecated": null,
429         "alias": null,
430         "protected": false,
431         "tagname": "method",
432         "href": "Feature.html#Ext-grid-feature-Feature-method-disable",
433         "shortDoc": "Disable a feature ...",
434         "static": false,
435         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
436         "private": false,
437         "params": [
438
439         ],
440         "name": "disable",
441         "owner": "Ext.grid.feature.Feature",
442         "doc": "<p>Disable a feature</p>\n",
443         "linenr": 140,
444         "return": {
445           "type": "void",
446           "doc": "\n"
447         },
448         "html_filename": "Feature.html"
449       },
450       {
451         "deprecated": null,
452         "alias": null,
453         "protected": false,
454         "tagname": "method",
455         "href": "Feature.html#Ext-grid-feature-Feature-method-enable",
456         "shortDoc": "Enable a feature ...",
457         "static": false,
458         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
459         "private": false,
460         "params": [
461
462         ],
463         "name": "enable",
464         "owner": "Ext.grid.feature.Feature",
465         "doc": "<p>Enable a feature</p>\n",
466         "linenr": 133,
467         "return": {
468           "type": "void",
469           "doc": "\n"
470         },
471         "html_filename": "Feature.html"
472       },
473       {
474         "deprecated": null,
475         "alias": null,
476         "protected": false,
477         "tagname": "method",
478         "href": "Observable.html#Ext-util-Observable-method-enableBubble",
479         "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if\npresent. ...",
480         "static": false,
481         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
482         "private": false,
483         "params": [
484           {
485             "type": "String/[String]",
486             "optional": false,
487             "doc": "<p>The event name to bubble, or an Array of event names.</p>\n",
488             "name": "events"
489           }
490         ],
491         "name": "enableBubble",
492         "owner": "Ext.util.Observable",
493         "doc": "<p>Enables events fired by this Observable to bubble up an owner hierarchy by calling <code>this.getBubbleTarget()</code> if\npresent. There is no implementation in the Observable base class.</p>\n\n<p>This is commonly used by Ext.Components to bubble events to owner Containers.\nSee <a href=\"#/api/Ext.Component-method-getBubbleTarget\" rel=\"Ext.Component-method-getBubbleTarget\" class=\"docClass\">Ext.Component.getBubbleTarget</a>. The default implementation in <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Ext.Component</a> returns the\nComponent's immediate owner. But if a known target is required, this can be overridden to access the\nrequired target more quickly.</p>\n\n<p>Example:</p>\n\n<pre><code>Ext.override(Ext.form.field.Base, {\n    //  Add functionality to Field's initComponent to enable the change event to bubble\n    initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {\n        this.enableBubble('change');\n    }),\n\n    //  We know that we want Field's events to bubble directly to the FormPanel.\n    getBubbleTarget : function() {\n        if (!this.formPanel) {\n            this.formPanel = this.findParentByType('form');\n        }\n        return this.formPanel;\n    }\n});\n\nvar myForm = new Ext.formPanel({\n    title: 'User Details',\n    items: [{\n        ...\n    }],\n    listeners: {\n        change: function() {\n            // Title goes red if form has been modified.\n            myForm.header.setStyle('color', 'red');\n        }\n    }\n});\n</code></pre>\n",
494         "linenr": 609,
495         "return": {
496           "type": "void",
497           "doc": "\n"
498         },
499         "html_filename": "Observable.html"
500       },
501       {
502         "deprecated": null,
503         "alias": null,
504         "protected": false,
505         "tagname": "method",
506         "href": "Observable.html#Ext-util-Observable-method-fireEvent",
507         "shortDoc": "Fires the specified event with the passed parameters (minus the event name, plus the options object passed\nto addList...",
508         "static": false,
509         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
510         "private": false,
511         "params": [
512           {
513             "type": "String",
514             "optional": false,
515             "doc": "<p>The name of the event to fire.</p>\n",
516             "name": "eventName"
517           },
518           {
519             "type": "Object...",
520             "optional": false,
521             "doc": "<p>Variable number of parameters are passed to handlers.</p>\n",
522             "name": "args"
523           }
524         ],
525         "name": "fireEvent",
526         "owner": "Ext.util.Observable",
527         "doc": "<p>Fires the specified event with the passed parameters (minus the event name, plus the <code>options</code> object passed\nto <a href=\"#/api/Ext.grid.feature.Summary-method-addListener\" rel=\"Ext.grid.feature.Summary-method-addListener\" class=\"docClass\">addListener</a>).</p>\n\n<p>An event may be set to bubble up an Observable parent hierarchy (See <a href=\"#/api/Ext.Component-method-getBubbleTarget\" rel=\"Ext.Component-method-getBubbleTarget\" class=\"docClass\">Ext.Component.getBubbleTarget</a>) by\ncalling <a href=\"#/api/Ext.grid.feature.Summary-method-enableBubble\" rel=\"Ext.grid.feature.Summary-method-enableBubble\" class=\"docClass\">enableBubble</a>.</p>\n",
528         "linenr": 233,
529         "return": {
530           "type": "Boolean",
531           "doc": "<p>returns false if any of the handlers return false otherwise it returns true.</p>\n"
532         },
533         "html_filename": "Observable.html"
534       },
535       {
536         "deprecated": null,
537         "alias": null,
538         "protected": false,
539         "tagname": "method",
540         "href": "Feature.html#Ext-grid-feature-Feature-method-getAdditionalData",
541         "shortDoc": "Provide additional data to the prepareData call within the grid view. ...",
542         "static": false,
543         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
544         "private": false,
545         "params": [
546           {
547             "type": "Object",
548             "optional": false,
549             "doc": "<p>The data for this particular record.</p>\n",
550             "name": "data"
551           },
552           {
553             "type": "Number",
554             "optional": false,
555             "doc": "<p>The row index for this record.</p>\n",
556             "name": "idx"
557           },
558           {
559             "type": "Ext.data.Model",
560             "optional": false,
561             "doc": "<p>The record instance</p>\n",
562             "name": "record"
563           },
564           {
565             "type": "Object",
566             "optional": false,
567             "doc": "<p>The original result from the prepareData call to massage.</p>\n",
568             "name": "orig"
569           }
570         ],
571         "name": "getAdditionalData",
572         "owner": "Ext.grid.feature.Feature",
573         "doc": "<p>Provide additional data to the prepareData call within the grid view.</p>\n",
574         "linenr": 122,
575         "return": {
576           "type": "void",
577           "doc": "\n"
578         },
579         "html_filename": "Feature.html"
580       },
581       {
582         "deprecated": null,
583         "alias": null,
584         "protected": false,
585         "tagname": "method",
586         "href": "AbstractSummary.html#Ext-grid-feature-AbstractSummary-method-getColumnValue",
587         "shortDoc": "Gets the value for the column from the attached data. ...",
588         "static": false,
589         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/AbstractSummary.js",
590         "private": false,
591         "params": [
592           {
593             "type": "Ext.grid.column.Column",
594             "optional": false,
595             "doc": "<p>The header</p>\n",
596             "name": "column"
597           },
598           {
599             "type": "Object",
600             "optional": false,
601             "doc": "<p>The current data</p>\n",
602             "name": "data"
603           }
604         ],
605         "name": "getColumnValue",
606         "owner": "Ext.grid.feature.AbstractSummary",
607         "doc": "<p>Gets the value for the column from the attached data.</p>\n",
608         "linenr": 71,
609         "return": {
610           "type": "String",
611           "doc": "<p>The value to be rendered</p>\n"
612         },
613         "html_filename": "AbstractSummary.html"
614       },
615       {
616         "deprecated": null,
617         "alias": null,
618         "protected": false,
619         "tagname": "method",
620         "href": "Feature.html#Ext-grid-feature-Feature-method-getFireEventArgs",
621         "shortDoc": "Abstract method to be overriden when a feature should add additional\narguments to its event signature. ...",
622         "static": false,
623         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
624         "private": false,
625         "params": [
626           {
627             "type": "Object",
628             "optional": false,
629             "doc": "\n",
630             "name": "eventName"
631           },
632           {
633             "type": "Object",
634             "optional": false,
635             "doc": "\n",
636             "name": "view"
637           },
638           {
639             "type": "Object",
640             "optional": false,
641             "doc": "\n",
642             "name": "featureTarget"
643           },
644           {
645             "type": "Object",
646             "optional": false,
647             "doc": "\n",
648             "name": "e"
649           }
650         ],
651         "name": "getFireEventArgs",
652         "owner": "Ext.grid.feature.Feature",
653         "doc": "<p>Abstract method to be overriden when a feature should add additional\narguments to its event signature. By default the event will fire:\n- view - The underlying <a href=\"#/api/Ext.view.Table\" rel=\"Ext.view.Table\" class=\"docClass\">Ext.view.Table</a>\n- featureTarget - The matched element by the defined <a href=\"#/api/Ext.grid.feature.Summary-property-eventSelector\" rel=\"Ext.grid.feature.Summary-property-eventSelector\" class=\"docClass\">eventSelector</a></p>\n\n<p>The method must also return the eventName as the first index of the array\nto be passed to fireEvent.</p>\n",
654         "linenr": 76,
655         "return": {
656           "type": "void",
657           "doc": "\n"
658         },
659         "html_filename": "Feature.html"
660       },
661       {
662         "deprecated": null,
663         "alias": null,
664         "protected": false,
665         "tagname": "method",
666         "href": "Feature.html#Ext-grid-feature-Feature-method-getMetaRowTplFragments",
667         "shortDoc": "Allows a feature to inject member methods into the metaRowTpl. ...",
668         "static": false,
669         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
670         "private": false,
671         "params": [
672
673         ],
674         "name": "getMetaRowTplFragments",
675         "owner": "Ext.grid.feature.Feature",
676         "doc": "<p>Allows a feature to inject member methods into the metaRowTpl. This is\nimportant for embedding functionality which will become part of the proper\nrow tpl.</p>\n",
677         "linenr": 109,
678         "return": {
679           "type": "void",
680           "doc": "\n"
681         },
682         "html_filename": "Feature.html"
683       },
684       {
685         "deprecated": null,
686         "alias": null,
687         "protected": false,
688         "tagname": "method",
689         "href": "Base3.html#Ext-Base-method-getName",
690         "shortDoc": "Get the current class' name in string format. ...",
691         "static": false,
692         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
693         "private": false,
694         "params": [
695
696         ],
697         "name": "getName",
698         "owner": "Ext.Base",
699         "doc": "<p>Get the current class' name in string format.</p>\n\n<pre><code>Ext.define('My.cool.Class', {\n    constructor: function() {\n        alert(this.self.getName()); // alerts 'My.cool.Class'\n    }\n});\n\nMy.cool.Class.getName(); // 'My.cool.Class'\n</code></pre>\n",
700         "linenr": 631,
701         "return": {
702           "type": "String",
703           "doc": "<p>className</p>\n"
704         },
705         "html_filename": "Base3.html"
706       },
707       {
708         "deprecated": null,
709         "alias": null,
710         "protected": false,
711         "tagname": "method",
712         "href": "Observable.html#Ext-util-Observable-method-hasListener",
713         "shortDoc": "Checks to see if this object has any listeners for a specified event ...",
714         "static": false,
715         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
716         "private": false,
717         "params": [
718           {
719             "type": "String",
720             "optional": false,
721             "doc": "<p>The name of the event to check for</p>\n",
722             "name": "eventName"
723           }
724         ],
725         "name": "hasListener",
726         "owner": "Ext.util.Observable",
727         "doc": "<p>Checks to see if this object has any listeners for a specified event</p>\n",
728         "linenr": 530,
729         "return": {
730           "type": "Boolean",
731           "doc": "<p>True if the event is being listened for, else false</p>\n"
732         },
733         "html_filename": "Observable.html"
734       },
735       {
736         "deprecated": null,
737         "alias": null,
738         "protected": false,
739         "tagname": "method",
740         "href": "Base3.html#Ext-Base-method-implement",
741         "shortDoc": "Add methods / properties to the prototype of this class. ...",
742         "static": true,
743         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
744         "private": false,
745         "params": [
746           {
747             "type": "Object",
748             "optional": false,
749             "doc": "\n",
750             "name": "members"
751           }
752         ],
753         "name": "implement",
754         "owner": "Ext.Base",
755         "doc": "<p>Add methods / properties to the prototype of this class.</p>\n\n<pre><code>Ext.define('My.awesome.Cat', {\n    constructor: function() {\n        ...\n    }\n});\n\n My.awesome.Cat.implement({\n     meow: function() {\n        alert('Meowww...');\n     }\n });\n\n var kitty = new My.awesome.Cat;\n kitty.meow();\n</code></pre>\n",
756         "linenr": 415,
757         "return": {
758           "type": "void",
759           "doc": "\n"
760         },
761         "html_filename": "Base3.html"
762       },
763       {
764         "deprecated": null,
765         "alias": null,
766         "protected": true,
767         "tagname": "method",
768         "href": "Base3.html#Ext-Base-method-initConfig",
769         "shortDoc": "Initialize configuration for this class. ...",
770         "static": false,
771         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
772         "private": false,
773         "params": [
774           {
775             "type": "Object",
776             "optional": false,
777             "doc": "\n",
778             "name": "config"
779           }
780         ],
781         "name": "initConfig",
782         "owner": "Ext.Base",
783         "doc": "<p>Initialize configuration for this class. a typical example:</p>\n\n<pre><code>Ext.define('My.awesome.Class', {\n    // The default config\n    config: {\n        name: 'Awesome',\n        isAwesome: true\n    },\n\n    constructor: function(config) {\n        this.initConfig(config);\n\n        return this;\n    }\n});\n\nvar awesome = new My.awesome.Class({\n    name: 'Super Awesome'\n});\n\nalert(awesome.getName()); // 'Super Awesome'\n</code></pre>\n",
784         "linenr": 63,
785         "return": {
786           "type": "Object",
787           "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
788         },
789         "html_filename": "Base3.html"
790       },
791       {
792         "deprecated": null,
793         "alias": {
794           "tagname": "alias",
795           "cls": "Ext.util.Observable",
796           "doc": null,
797           "owner": "addManagedListener"
798         },
799         "protected": false,
800         "tagname": "method",
801         "href": "Observable.html#Ext-util-Observable-method-mon",
802         "shortDoc": "Shorthand for addManagedListener. ...",
803         "static": false,
804         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
805         "private": false,
806         "params": [
807           {
808             "type": "Observable/Element",
809             "optional": false,
810             "doc": "<p>The item to which to add a listener/listeners.</p>\n",
811             "name": "item"
812           },
813           {
814             "type": "Object/String",
815             "optional": false,
816             "doc": "<p>The event name, or an object containing event name properties.</p>\n",
817             "name": "ename"
818           },
819           {
820             "type": "Function",
821             "optional": true,
822             "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
823             "name": "fn"
824           },
825           {
826             "type": "Object",
827             "optional": true,
828             "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the scope (<code>this</code> reference)\nin which the handler function is executed.</p>\n",
829             "name": "scope"
830           },
831           {
832             "type": "Object",
833             "optional": true,
834             "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the\n<a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">addListener</a> options.</p>\n",
835             "name": "opt"
836           }
837         ],
838         "name": "mon",
839         "owner": "Ext.util.Observable",
840         "doc": "<p>Shorthand for <a href=\"#/api/Ext.grid.feature.Summary-method-addManagedListener\" rel=\"Ext.grid.feature.Summary-method-addManagedListener\" class=\"docClass\">addManagedListener</a>.</p>\n\n<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed.</p>\n",
841         "linenr": 681,
842         "return": {
843           "type": "void",
844           "doc": "\n"
845         },
846         "html_filename": "Observable.html"
847       },
848       {
849         "deprecated": null,
850         "alias": {
851           "tagname": "alias",
852           "cls": "Ext.util.Observable",
853           "doc": null,
854           "owner": "removeManagedListener"
855         },
856         "protected": false,
857         "tagname": "method",
858         "href": "Observable.html#Ext-util-Observable-method-mun",
859         "shortDoc": "Shorthand for removeManagedListener. ...",
860         "static": false,
861         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
862         "private": false,
863         "params": [
864           {
865             "type": "Observable|Element",
866             "optional": false,
867             "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
868             "name": "item"
869           },
870           {
871             "type": "Object|String",
872             "optional": false,
873             "doc": "<p>The event name, or an object containing event name properties.</p>\n",
874             "name": "ename"
875           },
876           {
877             "type": "Function",
878             "optional": false,
879             "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
880             "name": "fn"
881           },
882           {
883             "type": "Object",
884             "optional": false,
885             "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the scope (<code>this</code> reference)\nin which the handler function is executed.</p>\n",
886             "name": "scope"
887           }
888         ],
889         "name": "mun",
890         "owner": "Ext.util.Observable",
891         "doc": "<p>Shorthand for <a href=\"#/api/Ext.grid.feature.Summary-method-removeManagedListener\" rel=\"Ext.grid.feature.Summary-method-removeManagedListener\" class=\"docClass\">removeManagedListener</a>.</p>\n\n<p>Removes listeners that were added by the <a href=\"#/api/Ext.grid.feature.Summary-method-mon\" rel=\"Ext.grid.feature.Summary-method-mon\" class=\"docClass\">mon</a> method.</p>\n",
892         "linenr": 687,
893         "return": {
894           "type": "void",
895           "doc": "\n"
896         },
897         "html_filename": "Observable.html"
898       },
899       {
900         "deprecated": null,
901         "alias": null,
902         "protected": false,
903         "tagname": "method",
904         "href": "Feature.html#Ext-grid-feature-Feature-method-mutateMetaRowTpl",
905         "shortDoc": "Allows a feature to mutate the metaRowTpl. ...",
906         "static": false,
907         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
908         "private": false,
909         "params": [
910           {
911             "type": "Object",
912             "optional": false,
913             "doc": "\n",
914             "name": "metaRowTplArray"
915           }
916         ],
917         "name": "mutateMetaRowTpl",
918         "owner": "Ext.grid.feature.Feature",
919         "doc": "<p>Allows a feature to mutate the metaRowTpl.\nThe array received as a single argument can be manipulated to add things\non the end/begining of a particular row.</p>\n",
920         "linenr": 100,
921         "return": {
922           "type": "void",
923           "doc": "\n"
924         },
925         "html_filename": "Feature.html"
926       },
927       {
928         "deprecated": null,
929         "alias": null,
930         "protected": false,
931         "tagname": "method",
932         "href": "Observable.html#Ext-util-Observable-method-observe",
933         "shortDoc": "Sets observability on the passed class constructor. ...",
934         "static": true,
935         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
936         "private": false,
937         "params": [
938           {
939             "type": "Function",
940             "optional": false,
941             "doc": "<p>The class constructor to make observable.</p>\n",
942             "name": "c"
943           },
944           {
945             "type": "Object",
946             "optional": false,
947             "doc": "<p>An object containing a series of listeners to add. See <a href=\"#/api/Ext.grid.feature.Summary-method-addListener\" rel=\"Ext.grid.feature.Summary-method-addListener\" class=\"docClass\">addListener</a>.</p>\n",
948             "name": "listeners"
949           }
950         ],
951         "name": "observe",
952         "owner": "Ext.util.Observable",
953         "doc": "<p>Sets observability on the passed class constructor.</p>\n\n<p>This makes any event fired on any instance of the passed class also fire a single event through\nthe <strong>class</strong> allowing for central handling of events on many instances at once.</p>\n\n<p>Usage:</p>\n\n<pre><code>Ext.util.Observable.observe(Ext.data.Connection);\nExt.data.Connection.on('beforerequest', function(con, options) {\n    console.log('Ajax request made to ' + options.url);\n});\n</code></pre>\n",
954         "linenr": 69,
955         "return": {
956           "type": "void",
957           "doc": "\n"
958         },
959         "html_filename": "Observable.html"
960       },
961       {
962         "deprecated": null,
963         "alias": {
964           "tagname": "alias",
965           "cls": "Ext.util.Observable",
966           "doc": null,
967           "owner": "addListener"
968         },
969         "protected": false,
970         "tagname": "method",
971         "href": "Observable.html#Ext-util-Observable-method-on",
972         "shortDoc": "Shorthand for addListener. ...",
973         "static": false,
974         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
975         "private": false,
976         "params": [
977           {
978             "type": "String",
979             "optional": false,
980             "doc": "<p>The name of the event to listen for. May also be an object who's property names are\nevent names.</p>\n",
981             "name": "eventName"
982           },
983           {
984             "type": "Function",
985             "optional": false,
986             "doc": "<p>The method the event invokes.  Will be called with arguments given to\n<a href=\"#/api/Ext.grid.feature.Summary-method-fireEvent\" rel=\"Ext.grid.feature.Summary-method-fireEvent\" class=\"docClass\">fireEvent</a> plus the <code>options</code> parameter described below.</p>\n",
987             "name": "handler"
988           },
989           {
990             "type": "Object",
991             "optional": true,
992             "doc": "<p>(optional) The scope (<code>this</code> reference) in which the handler function is executed. <strong>If\nomitted, defaults to the object which fired the event.</strong></p>\n",
993             "name": "scope"
994           },
995           {
996             "type": "Object",
997             "optional": true,
998             "doc": "<p>(optional) An object containing handler configuration.</p>\n\n<p><strong>Note:</strong> Unlike in ExtJS 3.x, the options object will also be passed as the last argument to every event handler.</p>\n\n<p>This object may contain any of the following properties:</p>\n\n<ul>\n<li><p><strong>scope</strong> : Object</p>\n\n<p>The scope (<code>this</code> reference) in which the handler function is executed. <strong>If omitted, defaults to the object\nwhich fired the event.</strong></p></li>\n<li><p><strong>delay</strong> : Number</p>\n\n<p>The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>\n<li><p><strong>single</strong> : Boolean</p>\n\n<p>True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>\n<li><p><strong>buffer</strong> : Number</p>\n\n<p>Causes the handler to be scheduled to run in an <a href=\"#/api/Ext.util.DelayedTask\" rel=\"Ext.util.DelayedTask\" class=\"docClass\">Ext.util.DelayedTask</a> delayed by the specified number of\nmilliseconds. If the event fires again within that time, the original handler is <em>not</em> invoked, but the new\nhandler is scheduled in its place.</p></li>\n<li><p><strong>target</strong> : Observable</p>\n\n<p>Only call the handler if the event was fired on the target Observable, <em>not</em> if the event was bubbled up from a\nchild Observable.</p></li>\n<li><p><strong>element</strong> : String</p>\n\n<p><strong>This option is only valid for listeners bound to <a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a>.</strong> The name of a Component\nproperty which references an element to add a listener to.</p>\n\n<p>This option is useful during Component construction to add DOM event listeners to elements of\n<a href=\"#/api/Ext.Component\" rel=\"Ext.Component\" class=\"docClass\">Components</a> which will exist only after the Component is rendered.\nFor example, to add a click listener to a Panel's body:</p>\n\n<pre><code>new Ext.panel.Panel({\n    title: 'The title',\n    listeners: {\n        click: this.handlePanelClick,\n        element: 'body'\n    }\n});\n</code></pre></li>\n</ul>\n\n\n<p><strong>Combining Options</strong></p>\n\n<p>Using the options argument, it is possible to combine different types of listeners:</p>\n\n<p>A delayed, one-time listener.</p>\n\n<pre><code>myPanel.on('hide', this.handleClick, this, {\n    single: true,\n    delay: 100\n});\n</code></pre>\n\n<p><strong>Attaching multiple handlers in 1 call</strong></p>\n\n<p>The method also allows for a single argument to be passed which is a config object containing properties which\nspecify multiple events. For example:</p>\n\n<pre><code>myGridPanel.on({\n    cellClick: this.onCellClick,\n    mouseover: this.onMouseOver,\n    mouseout: this.onMouseOut,\n    scope: this // Important. Ensure \"this\" is correct during handler execution\n});\n</code></pre>\n\n<p>One can also specify options for each event handler separately:</p>\n\n<pre><code>myGridPanel.on({\n    cellClick: {fn: this.onCellClick, scope: this, single: true},\n    mouseover: {fn: panel.onMouseOver, scope: panel}\n});\n</code></pre>\n",
999             "name": "options"
1000           }
1001         ],
1002         "name": "on",
1003         "owner": "Ext.util.Observable",
1004         "doc": "<p>Shorthand for <a href=\"#/api/Ext.grid.feature.Summary-method-addListener\" rel=\"Ext.grid.feature.Summary-method-addListener\" class=\"docClass\">addListener</a>.</p>\n\n<p>Appends an event handler to this object.</p>\n",
1005         "linenr": 669,
1006         "return": {
1007           "type": "void",
1008           "doc": "\n"
1009         },
1010         "html_filename": "Observable.html"
1011       },
1012       {
1013         "deprecated": null,
1014         "alias": null,
1015         "protected": false,
1016         "tagname": "method",
1017         "href": "Base3.html#Ext-Base-method-override",
1018         "shortDoc": "Override prototype members of this class. ...",
1019         "static": true,
1020         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1021         "private": false,
1022         "params": [
1023           {
1024             "type": "Object",
1025             "optional": false,
1026             "doc": "\n",
1027             "name": "members"
1028           }
1029         ],
1030         "name": "override",
1031         "owner": "Ext.Base",
1032         "doc": "<p>Override prototype members of this class. Overridden methods can be invoked via\n<a href=\"#/api/Ext.Base-method-callOverridden\" rel=\"Ext.Base-method-callOverridden\" class=\"docClass\">Ext.Base.callOverridden</a></p>\n\n<pre><code>Ext.define('My.Cat', {\n    constructor: function() {\n        alert(\"I'm a cat!\");\n\n        return this;\n    }\n});\n\nMy.Cat.override({\n    constructor: function() {\n        alert(\"I'm going to be a cat!\");\n\n        var instance = this.callOverridden();\n\n        alert(\"Meeeeoooowwww\");\n\n        return instance;\n    }\n});\n\nvar kitty = new My.Cat(); // alerts \"I'm going to be a cat!\"\n                          // alerts \"I'm a cat!\"\n                          // alerts \"Meeeeoooowwww\"\n</code></pre>\n",
1033         "linenr": 518,
1034         "return": {
1035           "type": "Ext.Base",
1036           "doc": "<p>this</p>\n"
1037         },
1038         "html_filename": "Base3.html"
1039       },
1040       {
1041         "deprecated": null,
1042         "alias": null,
1043         "protected": false,
1044         "tagname": "method",
1045         "href": "Observable.html#Ext-util-Observable-method-relayEvents",
1046         "shortDoc": "Relays selected events from the specified Observable as if the events were fired by this. ...",
1047         "static": false,
1048         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1049         "private": false,
1050         "params": [
1051           {
1052             "type": "Object",
1053             "optional": false,
1054             "doc": "<p>The Observable whose events this object is to relay.</p>\n",
1055             "name": "origin"
1056           },
1057           {
1058             "type": "[String]",
1059             "optional": false,
1060             "doc": "<p>Array of event names to relay.</p>\n",
1061             "name": "events"
1062           },
1063           {
1064             "type": "Object",
1065             "optional": false,
1066             "doc": "\n",
1067             "name": "prefix"
1068           }
1069         ],
1070         "name": "relayEvents",
1071         "owner": "Ext.util.Observable",
1072         "doc": "<p>Relays selected events from the specified Observable as if the events were fired by <code>this</code>.</p>\n",
1073         "linenr": 573,
1074         "return": {
1075           "type": "void",
1076           "doc": "\n"
1077         },
1078         "html_filename": "Observable.html"
1079       },
1080       {
1081         "deprecated": null,
1082         "alias": null,
1083         "protected": false,
1084         "tagname": "method",
1085         "href": "Observable.html#Ext-util-Observable-method-releaseCapture",
1086         "shortDoc": "Removes all added captures from the Observable. ...",
1087         "static": true,
1088         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1089         "private": false,
1090         "params": [
1091           {
1092             "type": "Observable",
1093             "optional": false,
1094             "doc": "<p>The Observable to release</p>\n",
1095             "name": "o"
1096           }
1097         ],
1098         "name": "releaseCapture",
1099         "owner": "Ext.util.Observable",
1100         "doc": "<p>Removes <strong>all</strong> added captures from the Observable.</p>\n",
1101         "linenr": 44,
1102         "return": {
1103           "type": "void",
1104           "doc": "\n"
1105         },
1106         "html_filename": "Observable.html"
1107       },
1108       {
1109         "deprecated": null,
1110         "alias": null,
1111         "protected": false,
1112         "tagname": "method",
1113         "href": "Observable.html#Ext-util-Observable-method-removeListener",
1114         "shortDoc": "Removes an event handler. ...",
1115         "static": false,
1116         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1117         "private": false,
1118         "params": [
1119           {
1120             "type": "String",
1121             "optional": false,
1122             "doc": "<p>The type of event the handler was associated with.</p>\n",
1123             "name": "eventName"
1124           },
1125           {
1126             "type": "Function",
1127             "optional": false,
1128             "doc": "<p>The handler to remove. <strong>This must be a reference to the function passed into the\n<a href=\"#/api/Ext.grid.feature.Summary-method-addListener\" rel=\"Ext.grid.feature.Summary-method-addListener\" class=\"docClass\">addListener</a> call.</strong></p>\n",
1129             "name": "handler"
1130           },
1131           {
1132             "type": "Object",
1133             "optional": true,
1134             "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1135             "name": "scope"
1136           }
1137         ],
1138         "name": "removeListener",
1139         "owner": "Ext.util.Observable",
1140         "doc": "<p>Removes an event handler.</p>\n",
1141         "linenr": 392,
1142         "return": {
1143           "type": "void",
1144           "doc": "\n"
1145         },
1146         "html_filename": "Observable.html"
1147       },
1148       {
1149         "deprecated": null,
1150         "alias": null,
1151         "protected": false,
1152         "tagname": "method",
1153         "href": "Observable.html#Ext-util-Observable-method-removeManagedListener",
1154         "shortDoc": "Removes listeners that were added by the mon method. ...",
1155         "static": false,
1156         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1157         "private": false,
1158         "params": [
1159           {
1160             "type": "Observable|Element",
1161             "optional": false,
1162             "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
1163             "name": "item"
1164           },
1165           {
1166             "type": "Object|String",
1167             "optional": false,
1168             "doc": "<p>The event name, or an object containing event name properties.</p>\n",
1169             "name": "ename"
1170           },
1171           {
1172             "type": "Function",
1173             "optional": false,
1174             "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
1175             "name": "fn"
1176           },
1177           {
1178             "type": "Object",
1179             "optional": false,
1180             "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the scope (<code>this</code> reference)\nin which the handler function is executed.</p>\n",
1181             "name": "scope"
1182           }
1183         ],
1184         "name": "removeManagedListener",
1185         "owner": "Ext.util.Observable",
1186         "doc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.grid.feature.Summary-method-mon\" rel=\"Ext.grid.feature.Summary-method-mon\" class=\"docClass\">mon</a> method.</p>\n",
1187         "linenr": 197,
1188         "return": {
1189           "type": "void",
1190           "doc": "\n"
1191         },
1192         "html_filename": "Observable.html"
1193       },
1194       {
1195         "deprecated": null,
1196         "alias": null,
1197         "protected": false,
1198         "tagname": "method",
1199         "href": "Observable.html#Ext-util-Observable-method-resumeEvents",
1200         "shortDoc": "Resumes firing events (see suspendEvents). ...",
1201         "static": false,
1202         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1203         "private": false,
1204         "params": [
1205
1206         ],
1207         "name": "resumeEvents",
1208         "owner": "Ext.util.Observable",
1209         "doc": "<p>Resumes firing events (see <a href=\"#/api/Ext.grid.feature.Summary-method-suspendEvents\" rel=\"Ext.grid.feature.Summary-method-suspendEvents\" class=\"docClass\">suspendEvents</a>).</p>\n\n<p>If events were suspended using the <code>**queueSuspended**</code> parameter, then all events fired\nduring event suspension will be sent to any listeners now.</p>\n",
1210         "linenr": 554,
1211         "return": {
1212           "type": "void",
1213           "doc": "\n"
1214         },
1215         "html_filename": "Observable.html"
1216       },
1217       {
1218         "deprecated": null,
1219         "alias": null,
1220         "protected": true,
1221         "tagname": "method",
1222         "href": "Base3.html#Ext-Base-method-statics",
1223         "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
1224         "static": false,
1225         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1226         "private": false,
1227         "params": [
1228
1229         ],
1230         "name": "statics",
1231         "owner": "Ext.Base",
1232         "doc": "<p>Get the reference to the class from which this object was instantiated. Note that unlike <a href=\"#/api/Ext.Base-property-self\" rel=\"Ext.Base-property-self\" class=\"docClass\">Ext.Base.self</a>,\n<code>this.statics()</code> is scope-independent and it always returns the class from which it was called, regardless of what\n<code>this</code> points to during run-time</p>\n\n<pre><code>Ext.define('My.Cat', {\n    statics: {\n        totalCreated: 0,\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        var statics = this.statics();\n\n        alert(statics.speciesName);     // always equals to 'Cat' no matter what 'this' refers to\n                                        // equivalent to: My.Cat.speciesName\n\n        alert(this.self.speciesName);   // dependent on 'this'\n\n        statics.totalCreated++;\n\n        return this;\n    },\n\n    clone: function() {\n        var cloned = new this.self;                      // dependent on 'this'\n\n        cloned.groupName = this.statics().speciesName;   // equivalent to: My.Cat.speciesName\n\n        return cloned;\n    }\n});\n\n\nExt.define('My.SnowLeopard', {\n    extend: 'My.Cat',\n\n    statics: {\n        speciesName: 'Snow Leopard'     // My.SnowLeopard.speciesName = 'Snow Leopard'\n    },\n\n    constructor: function() {\n        this.callParent();\n    }\n});\n\nvar cat = new My.Cat();                 // alerts 'Cat', then alerts 'Cat'\n\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Cat', then alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone));         // alerts 'My.SnowLeopard'\nalert(clone.groupName);                 // alerts 'Cat'\n\nalert(My.Cat.totalCreated);             // alerts 3\n</code></pre>\n",
1233         "linenr": 199,
1234         "return": {
1235           "type": "Class",
1236           "doc": "\n"
1237         },
1238         "html_filename": "Base3.html"
1239       },
1240       {
1241         "deprecated": null,
1242         "alias": null,
1243         "protected": false,
1244         "tagname": "method",
1245         "href": "Observable.html#Ext-util-Observable-method-suspendEvents",
1246         "shortDoc": "Suspends the firing of all events. ...",
1247         "static": false,
1248         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1249         "private": false,
1250         "params": [
1251           {
1252             "type": "Boolean",
1253             "optional": false,
1254             "doc": "<p>Pass as true to queue up suspended events to be fired\nafter the <a href=\"#/api/Ext.grid.feature.Summary-method-resumeEvents\" rel=\"Ext.grid.feature.Summary-method-resumeEvents\" class=\"docClass\">resumeEvents</a> call instead of discarding all suspended events.</p>\n",
1255             "name": "queueSuspended"
1256           }
1257         ],
1258         "name": "suspendEvents",
1259         "owner": "Ext.util.Observable",
1260         "doc": "<p>Suspends the firing of all events. (see <a href=\"#/api/Ext.grid.feature.Summary-method-resumeEvents\" rel=\"Ext.grid.feature.Summary-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n",
1261         "linenr": 541,
1262         "return": {
1263           "type": "void",
1264           "doc": "\n"
1265         },
1266         "html_filename": "Observable.html"
1267       },
1268       {
1269         "deprecated": null,
1270         "alias": null,
1271         "protected": false,
1272         "tagname": "method",
1273         "href": "AbstractSummary.html#Ext-grid-feature-AbstractSummary-method-toggleSummaryRow",
1274         "shortDoc": "Toggle whether or not to show the summary row. ...",
1275         "static": false,
1276         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/AbstractSummary.js",
1277         "private": false,
1278         "params": [
1279           {
1280             "type": "Boolan",
1281             "optional": false,
1282             "doc": "<p>True to show the summary row</p>\n",
1283             "name": "visible"
1284           }
1285         ],
1286         "name": "toggleSummaryRow",
1287         "owner": "Ext.grid.feature.AbstractSummary",
1288         "doc": "<p>Toggle whether or not to show the summary row.</p>\n",
1289         "linenr": 25,
1290         "return": {
1291           "type": "void",
1292           "doc": "\n"
1293         },
1294         "html_filename": "AbstractSummary.html"
1295       },
1296       {
1297         "deprecated": null,
1298         "alias": {
1299           "tagname": "alias",
1300           "cls": "Ext.util.Observable",
1301           "doc": null,
1302           "owner": "removeListener"
1303         },
1304         "protected": false,
1305         "tagname": "method",
1306         "href": "Observable.html#Ext-util-Observable-method-un",
1307         "shortDoc": "Shorthand for removeListener. ...",
1308         "static": false,
1309         "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1310         "private": false,
1311         "params": [
1312           {
1313             "type": "String",
1314             "optional": false,
1315             "doc": "<p>The type of event the handler was associated with.</p>\n",
1316             "name": "eventName"
1317           },
1318           {
1319             "type": "Function",
1320             "optional": false,
1321             "doc": "<p>The handler to remove. <strong>This must be a reference to the function passed into the\n<a href=\"#/api/Ext.grid.feature.Summary-method-addListener\" rel=\"Ext.grid.feature.Summary-method-addListener\" class=\"docClass\">addListener</a> call.</strong></p>\n",
1322             "name": "handler"
1323           },
1324           {
1325             "type": "Object",
1326             "optional": true,
1327             "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1328             "name": "scope"
1329           }
1330         ],
1331         "name": "un",
1332         "owner": "Ext.util.Observable",
1333         "doc": "<p>Shorthand for <a href=\"#/api/Ext.grid.feature.Summary-method-removeListener\" rel=\"Ext.grid.feature.Summary-method-removeListener\" class=\"docClass\">removeListener</a>.</p>\n\n<p>Removes an event handler.</p>\n",
1334         "linenr": 675,
1335         "return": {
1336           "type": "void",
1337           "doc": "\n"
1338         },
1339         "html_filename": "Observable.html"
1340       }
1341     ],
1342     "property": [
1343       {
1344         "type": "Boolean",
1345         "deprecated": null,
1346         "alias": null,
1347         "protected": false,
1348         "tagname": "property",
1349         "href": "Feature.html#Ext-grid-feature-Feature-property-collectData",
1350         "shortDoc": "Most features will not modify the data returned to the view. ...",
1351         "static": false,
1352         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
1353         "private": false,
1354         "name": "collectData",
1355         "owner": "Ext.grid.feature.Feature",
1356         "doc": "<p>Most features will not modify the data returned to the view.\nThis is limited to one feature that manipulates the data per grid view.</p>\n",
1357         "linenr": 66,
1358         "html_filename": "Feature.html"
1359       },
1360       {
1361         "type": "String",
1362         "deprecated": null,
1363         "alias": null,
1364         "protected": false,
1365         "tagname": "property",
1366         "href": "Feature.html#Ext-grid-feature-Feature-property-eventPrefix",
1367         "shortDoc": "Prefix to use when firing events on the view. ...",
1368         "static": false,
1369         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
1370         "private": false,
1371         "name": "eventPrefix",
1372         "owner": "Ext.grid.feature.Feature",
1373         "doc": "<p>Prefix to use when firing events on the view.\nFor example a prefix of group would expose \"groupclick\", \"groupcontextmenu\", \"groupdblclick\".</p>\n",
1374         "linenr": 41,
1375         "html_filename": "Feature.html"
1376       },
1377       {
1378         "type": "String",
1379         "deprecated": null,
1380         "alias": null,
1381         "protected": false,
1382         "tagname": "property",
1383         "href": "Feature.html#Ext-grid-feature-Feature-property-eventSelector",
1384         "static": false,
1385         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
1386         "private": false,
1387         "name": "eventSelector",
1388         "owner": "Ext.grid.feature.Feature",
1389         "doc": "<p>Selector used to determine when to fire the event with the eventPrefix.</p>\n",
1390         "linenr": 48,
1391         "html_filename": "Feature.html"
1392       },
1393       {
1394         "type": "Ext.grid.Panel",
1395         "deprecated": null,
1396         "alias": null,
1397         "protected": false,
1398         "tagname": "property",
1399         "href": "Feature.html#Ext-grid-feature-Feature-property-grid",
1400         "static": false,
1401         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
1402         "private": false,
1403         "name": "grid",
1404         "owner": "Ext.grid.feature.Feature",
1405         "doc": "<p>Reference to the grid panel</p>\n",
1406         "linenr": 60,
1407         "html_filename": "Feature.html"
1408       },
1409       {
1410         "type": "Boolean",
1411         "deprecated": null,
1412         "alias": null,
1413         "protected": false,
1414         "tagname": "property",
1415         "href": "Feature.html#Ext-grid-feature-Feature-property-hasFeatureEvent",
1416         "static": false,
1417         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
1418         "private": false,
1419         "name": "hasFeatureEvent",
1420         "owner": "Ext.grid.feature.Feature",
1421         "doc": "<p>Most features will expose additional events, some may not and will\nneed to change this to false.</p>\n",
1422         "linenr": 34,
1423         "html_filename": "Feature.html"
1424       },
1425       {
1426         "type": "Class",
1427         "deprecated": null,
1428         "alias": null,
1429         "protected": true,
1430         "tagname": "property",
1431         "href": "Base3.html#Ext-Base-property-self",
1432         "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
1433         "static": false,
1434         "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1435         "private": false,
1436         "name": "self",
1437         "owner": "Ext.Base",
1438         "doc": "<p>Get the reference to the current class from which this object was instantiated. Unlike <a href=\"#/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">Ext.Base.statics</a>,\n<code>this.self</code> is scope-dependent and it's meant to be used for dynamic inheritance. See <a href=\"#/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">Ext.Base.statics</a>\nfor a detailed comparison</p>\n\n<pre><code>Ext.define('My.Cat', {\n    statics: {\n        speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n    },\n\n    constructor: function() {\n        alert(this.self.speciesName); / dependent on 'this'\n\n        return this;\n    },\n\n    clone: function() {\n        return new this.self();\n    }\n});\n\n\nExt.define('My.SnowLeopard', {\n    extend: 'My.Cat',\n    statics: {\n        speciesName: 'Snow Leopard'         // My.SnowLeopard.speciesName = 'Snow Leopard'\n    }\n});\n\nvar cat = new My.Cat();                     // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard();     // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone));             // alerts 'My.SnowLeopard'\n</code></pre>\n",
1439         "linenr": 18,
1440         "html_filename": "Base3.html"
1441       },
1442       {
1443         "type": "Ext.view.Table",
1444         "deprecated": null,
1445         "alias": null,
1446         "protected": false,
1447         "tagname": "property",
1448         "href": "Feature.html#Ext-grid-feature-Feature-property-view",
1449         "static": false,
1450         "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Feature.js",
1451         "private": false,
1452         "name": "view",
1453         "owner": "Ext.grid.feature.Feature",
1454         "doc": "<p>Reference to the TableView.</p>\n",
1455         "linenr": 54,
1456         "html_filename": "Feature.html"
1457       }
1458     ],
1459     "cssVar": [
1460
1461     ],
1462     "cssMixin": [
1463
1464     ],
1465     "event": [
1466
1467     ]
1468   },
1469   "singleton": false,
1470   "alias": null,
1471   "superclasses": [
1472     "Ext.Base",
1473     "Ext.util.Observable",
1474     "Ext.grid.feature.Feature",
1475     "Ext.grid.feature.AbstractSummary"
1476   ],
1477   "protected": false,
1478   "tagname": "class",
1479   "mixins": [
1480
1481   ],
1482   "href": "Summary.html#Ext-grid-feature-Summary",
1483   "subclasses": [
1484
1485   ],
1486   "static": false,
1487   "author": null,
1488   "component": false,
1489   "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/feature/Summary.js",
1490   "private": false,
1491   "alternateClassNames": [
1492
1493   ],
1494   "name": "Ext.grid.feature.Summary",
1495   "doc": "<p>This feature is used to place a summary row at the bottom of the grid. If using a grouping,\nsee <a href=\"#/api/Ext.grid.feature.GroupingSummary\" rel=\"Ext.grid.feature.GroupingSummary\" class=\"docClass\">Ext.grid.feature.GroupingSummary</a>. There are 2 aspects to calculating the summaries,\ncalculation and rendering.</p>\n\n<h2>Calculation</h2>\n\n<p>The summary value needs to be calculated for each column in the grid. This is controlled\nby the summaryType option specified on the column. There are several built in summary types,\nwhich can be specified as a string on the column configuration. These call underlying methods\non the store:</p>\n\n<ul>\n<li><a href=\"#/api/Ext.data.Store-method-count\" rel=\"Ext.data.Store-method-count\" class=\"docClass\">count</a></li>\n<li><a href=\"#/api/Ext.data.Store-method-sum\" rel=\"Ext.data.Store-method-sum\" class=\"docClass\">sum</a></li>\n<li><a href=\"#/api/Ext.data.Store-method-min\" rel=\"Ext.data.Store-method-min\" class=\"docClass\">min</a></li>\n<li><a href=\"#/api/Ext.data.Store-method-max\" rel=\"Ext.data.Store-method-max\" class=\"docClass\">max</a></li>\n<li><a href=\"#/api/Ext.data.Store-method-average\" rel=\"Ext.data.Store-method-average\" class=\"docClass\">average</a></li>\n</ul>\n\n\n<p>Alternatively, the summaryType can be a function definition. If this is the case,\nthe function is called with an array of records to calculate the summary value.</p>\n\n<h2>Rendering</h2>\n\n<p>Similar to a column, the summary also supports a summaryRenderer function. This\nsummaryRenderer is called before displaying a value. The function is optional, if\nnot specified the default calculated value is shown. The summaryRenderer is called with:</p>\n\n<ul>\n<li>value {Object} - The calculated value.</li>\n<li>summaryData {Object} - Contains all raw summary values for the row.</li>\n<li>field {String} - The name of the field we are calculating</li>\n</ul>\n\n\n<h2>Example Usage</h2>\n\n<pre><code>Ext.define('TestResult', {\n    extend: 'Ext.data.Model',\n    fields: ['student', {\n        name: 'mark',\n        type: 'int'\n    }]\n});\n\nExt.create('Ext.grid.Panel', {\n    width: 200,\n    height: 140,\n    renderTo: document.body,\n    features: [{\n        ftype: 'summary'\n    }],\n    store: {\n        model: 'TestResult',\n        data: [{\n            student: 'Student 1',\n            mark: 84\n        },{\n            student: 'Student 2',\n            mark: 72\n        },{\n            student: 'Student 3',\n            mark: 96\n        },{\n            student: 'Student 4',\n            mark: 68\n        }]\n    },\n    columns: [{\n        dataIndex: 'student',\n        text: 'Name',\n        summaryType: 'count',\n        summaryRenderer: function(value, summaryData, dataIndex) {\n            return Ext.String.format('{0} student{1}', value, value !== 1 ? 's' : ''); \n        }\n    }, {\n        dataIndex: 'mark',\n        text: 'Mark',\n        summaryType: 'average'\n    }]\n});\n</code></pre>\n",
1496   "mixedInto": [
1497
1498   ],
1499   "linenr": 1,
1500   "xtypes": [
1501
1502   ],
1503   "html_filename": "Summary.html",
1504   "extends": "Ext.grid.feature.AbstractSummary"
1505 });