1 Ext.data.JsonP.Ext_grid_plugin_RowEditing({
15 "href": "RowEditing.html#Ext-grid-plugin-RowEditing-cfg-autoCancel",
16 "shortDoc": "true to automatically cancel any pending changes when the row editor begins editing a new row. ...",
18 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/plugin/RowEditing.js",
21 "owner": "Ext.grid.plugin.RowEditing",
22 "doc": "<p><code>true</code> to automatically cancel any pending changes when the row editor begins editing a new row.\n<code>false</code> to force the user to explicitly cancel the pending changes. Defaults to <code>true</code>.</p>\n",
24 "html_filename": "RowEditing.html"
32 "href": "Editing.html#Ext-grid-plugin-Editing-cfg-clicksToEdit",
34 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/plugin/Editing.js",
36 "name": "clicksToEdit",
37 "owner": "Ext.grid.plugin.Editing",
38 "doc": "<p>The number of clicks on a grid required to display the editor (defaults to 2).</p>\n",
40 "html_filename": "Editing.html"
48 "href": "RowEditing.html#Ext-grid-plugin-RowEditing-cfg-clicksToMoveEditor",
49 "shortDoc": "The number of clicks to move the row editor to a new row while it is visible and actively editing another row. ...",
51 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/plugin/RowEditing.js",
53 "name": "clicksToMoveEditor",
54 "owner": "Ext.grid.plugin.RowEditing",
55 "doc": "<p>The number of clicks to move the row editor to a new row while it is visible and actively editing another row.\nThis will default to the same value as <a href=\"#/api/Ext.grid.plugin.Editing-cfg-clicksToEdit\" rel=\"Ext.grid.plugin.Editing-cfg-clicksToEdit\" class=\"docClass\">clicksToEdit</a>.</p>\n",
57 "html_filename": "RowEditing.html"
65 "href": "RowEditing.html#Ext-grid-plugin-RowEditing-cfg-errorSummary",
66 "shortDoc": "true to show a tooltip that summarizes all validation errors present\nin the row editor. ...",
68 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/plugin/RowEditing.js",
70 "name": "errorSummary",
71 "owner": "Ext.grid.plugin.RowEditing",
72 "doc": "<p><code>true</code> to show a <a href=\"#/api/Ext.tip.ToolTip\" rel=\"Ext.tip.ToolTip\" class=\"docClass\">tooltip</a> that summarizes all validation errors present\nin the row editor. Set to <code>false</code> to prevent the tooltip from showing. Defaults to <code>true</code>.</p>\n",
74 "html_filename": "RowEditing.html"
82 "href": "Observable.html#Ext-util-Observable-cfg-listeners",
83 "shortDoc": "A config object containing one or more event handlers to be added to this object during initialization. ...",
85 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
88 "owner": "Ext.util.Observable",
89 "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.plugin.RowEditing-method-addListener\" rel=\"Ext.grid.plugin.RowEditing-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",
91 "html_filename": "Observable.html"
100 "href": "Observable.html#Ext-util-Observable-method-addEvents",
101 "shortDoc": "Adds the specified events to the list of events which this Observable may fire. ...",
103 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
107 "type": "Object/String",
109 "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",
115 "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",
120 "owner": "Ext.util.Observable",
121 "doc": "<p>Adds the specified events to the list of events which this Observable may fire.</p>\n",
127 "html_filename": "Observable.html"
134 "href": "Observable.html#Ext-util-Observable-method-addListener",
135 "shortDoc": "Appends an event handler to this object. ...",
137 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
143 "doc": "<p>The name of the event to listen for. May also be an object who's property names are\nevent names.</p>\n",
149 "doc": "<p>The method the event invokes. Will be called with arguments given to\n<a href=\"#/api/Ext.grid.plugin.RowEditing-method-fireEvent\" rel=\"Ext.grid.plugin.RowEditing-method-fireEvent\" class=\"docClass\">fireEvent</a> plus the <code>options</code> parameter described below.</p>\n",
155 "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",
161 "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",
165 "name": "addListener",
166 "owner": "Ext.util.Observable",
167 "doc": "<p>Appends an event handler to this object.</p>\n",
173 "html_filename": "Observable.html"
180 "href": "Observable.html#Ext-util-Observable-method-addManagedListener",
181 "shortDoc": "Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed. ...",
183 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
187 "type": "Observable/Element",
189 "doc": "<p>The item to which to add a listener/listeners.</p>\n",
193 "type": "Object/String",
195 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
201 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
207 "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",
213 "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",
217 "name": "addManagedListener",
218 "owner": "Ext.util.Observable",
219 "doc": "<p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component is\ndestroyed.</p>\n",
225 "html_filename": "Observable.html"
232 "href": "Base3.html#Ext-Base-method-addStatics",
233 "shortDoc": "Add / override static properties of this class. ...",
235 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
245 "name": "addStatics",
247 "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",
251 "doc": "<p>this</p>\n"
253 "html_filename": "Base3.html"
260 "href": "Base3.html#Ext-Base-method-callOverridden",
261 "shortDoc": "Call the original method that was previously overridden with Ext.Base.override\n\nExt.define('My.Cat', {\n constructo...",
263 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
267 "type": "Array/Arguments",
269 "doc": "<p>The arguments, either an array or the <code>arguments</code> object</p>\n",
273 "name": "callOverridden",
275 "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",
279 "doc": "<p>Returns the result after calling the overridden method</p>\n"
281 "html_filename": "Base3.html"
288 "href": "Base3.html#Ext-Base-method-callParent",
289 "shortDoc": "Call the parent's overridden method. ...",
291 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
295 "type": "Array/Arguments",
297 "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",
301 "name": "callParent",
303 "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",
307 "doc": "<p>Returns the result from the superclass' method</p>\n"
309 "html_filename": "Base3.html"
316 "href": "Editing.html#Ext-grid-plugin-Editing-method-cancelEdit",
317 "shortDoc": "Cancel any active edit that is in progress. ...",
319 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/plugin/Editing.js",
324 "name": "cancelEdit",
325 "owner": "Ext.grid.plugin.Editing",
326 "doc": "<p>Cancel any active edit that is in progress.</p>\n",
332 "html_filename": "Editing.html"
339 "href": "Observable.html#Ext-util-Observable-method-capture",
340 "shortDoc": "Starts capture on the specified Observable. ...",
342 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
346 "type": "Observable",
348 "doc": "<p>The Observable to capture events from.</p>\n",
354 "doc": "<p>The function to call when an event is fired.</p>\n",
360 "doc": "<p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to\nthe Observable firing the event.</p>\n",
365 "owner": "Ext.util.Observable",
366 "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",
372 "html_filename": "Observable.html"
379 "href": "Observable.html#Ext-util-Observable-method-clearListeners",
380 "shortDoc": "Removes all listeners for this object including the managed listeners ...",
382 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
387 "name": "clearListeners",
388 "owner": "Ext.util.Observable",
389 "doc": "<p>Removes all listeners for this object including the managed listeners</p>\n",
395 "html_filename": "Observable.html"
402 "href": "Observable.html#Ext-util-Observable-method-clearManagedListeners",
403 "shortDoc": "Removes all managed listeners for this object. ...",
405 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
410 "name": "clearManagedListeners",
411 "owner": "Ext.util.Observable",
412 "doc": "<p>Removes all managed listeners for this object.</p>\n",
418 "html_filename": "Observable.html"
425 "href": "Editing.html#Ext-grid-plugin-Editing-method-completeEdit",
426 "shortDoc": "Complete the edit if there is an active edit in progress. ...",
428 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/plugin/Editing.js",
433 "name": "completeEdit",
434 "owner": "Ext.grid.plugin.Editing",
435 "doc": "<p>Complete the edit if there is an active edit in progress.</p>\n",
441 "html_filename": "Editing.html"
448 "href": "Base3.html#Ext-Base-method-create",
449 "shortDoc": "Create a new instance of this Class. ...",
451 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
458 "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",
462 "doc": "<p>the created instance.</p>\n"
464 "html_filename": "Base3.html"
471 "href": "Base3.html#Ext-Base-method-createAlias",
472 "shortDoc": "Create aliases for existing prototype methods. ...",
474 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
478 "type": "String/Object",
480 "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",
484 "type": "String/Object",
486 "doc": "<p>The original method name</p>\n",
490 "name": "createAlias",
492 "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() -> test.method1()\n</code></pre>\n",
498 "html_filename": "Base3.html"
505 "href": "Observable.html#Ext-util-Observable-method-enableBubble",
506 "shortDoc": "Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if\npresent. ...",
508 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
512 "type": "String/[String]",
514 "doc": "<p>The event name to bubble, or an Array of event names.</p>\n",
518 "name": "enableBubble",
519 "owner": "Ext.util.Observable",
520 "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",
526 "html_filename": "Observable.html"
533 "href": "Observable.html#Ext-util-Observable-method-fireEvent",
534 "shortDoc": "Fires the specified event with the passed parameters (minus the event name, plus the options object passed\nto addList...",
536 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
542 "doc": "<p>The name of the event to fire.</p>\n",
548 "doc": "<p>Variable number of parameters are passed to handlers.</p>\n",
553 "owner": "Ext.util.Observable",
554 "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.plugin.RowEditing-method-addListener\" rel=\"Ext.grid.plugin.RowEditing-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.plugin.RowEditing-method-enableBubble\" rel=\"Ext.grid.plugin.RowEditing-method-enableBubble\" class=\"docClass\">enableBubble</a>.</p>\n",
558 "doc": "<p>returns false if any of the handlers return false otherwise it returns true.</p>\n"
560 "html_filename": "Observable.html"
567 "href": "Base3.html#Ext-Base-method-getName",
568 "shortDoc": "Get the current class' name in string format. ...",
570 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
577 "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",
581 "doc": "<p>className</p>\n"
583 "html_filename": "Base3.html"
590 "href": "Observable.html#Ext-util-Observable-method-hasListener",
591 "shortDoc": "Checks to see if this object has any listeners for a specified event ...",
593 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
599 "doc": "<p>The name of the event to check for</p>\n",
603 "name": "hasListener",
604 "owner": "Ext.util.Observable",
605 "doc": "<p>Checks to see if this object has any listeners for a specified event</p>\n",
609 "doc": "<p>True if the event is being listened for, else false</p>\n"
611 "html_filename": "Observable.html"
618 "href": "Base3.html#Ext-Base-method-implement",
619 "shortDoc": "Add methods / properties to the prototype of this class. ...",
621 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
633 "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",
639 "html_filename": "Base3.html"
646 "href": "Base3.html#Ext-Base-method-initConfig",
647 "shortDoc": "Initialize configuration for this class. ...",
649 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
659 "name": "initConfig",
661 "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",
665 "doc": "<p>mixins The mixin prototypes as key - value pairs</p>\n"
667 "html_filename": "Base3.html"
673 "cls": "Ext.util.Observable",
675 "owner": "addManagedListener"
679 "href": "Observable.html#Ext-util-Observable-method-mon",
680 "shortDoc": "Shorthand for addManagedListener. ...",
682 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
686 "type": "Observable/Element",
688 "doc": "<p>The item to which to add a listener/listeners.</p>\n",
692 "type": "Object/String",
694 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
700 "doc": "<p>(optional) If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
706 "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",
712 "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",
717 "owner": "Ext.util.Observable",
718 "doc": "<p>Shorthand for <a href=\"#/api/Ext.grid.plugin.RowEditing-method-addManagedListener\" rel=\"Ext.grid.plugin.RowEditing-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",
724 "html_filename": "Observable.html"
730 "cls": "Ext.util.Observable",
732 "owner": "removeManagedListener"
736 "href": "Observable.html#Ext-util-Observable-method-mun",
737 "shortDoc": "Shorthand for removeManagedListener. ...",
739 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
743 "type": "Observable|Element",
745 "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
749 "type": "Object|String",
751 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
757 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
763 "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",
768 "owner": "Ext.util.Observable",
769 "doc": "<p>Shorthand for <a href=\"#/api/Ext.grid.plugin.RowEditing-method-removeManagedListener\" rel=\"Ext.grid.plugin.RowEditing-method-removeManagedListener\" class=\"docClass\">removeManagedListener</a>.</p>\n\n<p>Removes listeners that were added by the <a href=\"#/api/Ext.grid.plugin.RowEditing-method-mon\" rel=\"Ext.grid.plugin.RowEditing-method-mon\" class=\"docClass\">mon</a> method.</p>\n",
775 "html_filename": "Observable.html"
782 "href": "Observable.html#Ext-util-Observable-method-observe",
783 "shortDoc": "Sets observability on the passed class constructor. ...",
785 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
791 "doc": "<p>The class constructor to make observable.</p>\n",
797 "doc": "<p>An object containing a series of listeners to add. See <a href=\"#/api/Ext.grid.plugin.RowEditing-method-addListener\" rel=\"Ext.grid.plugin.RowEditing-method-addListener\" class=\"docClass\">addListener</a>.</p>\n",
802 "owner": "Ext.util.Observable",
803 "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",
809 "html_filename": "Observable.html"
815 "cls": "Ext.util.Observable",
817 "owner": "addListener"
821 "href": "Observable.html#Ext-util-Observable-method-on",
822 "shortDoc": "Shorthand for addListener. ...",
824 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
830 "doc": "<p>The name of the event to listen for. May also be an object who's property names are\nevent names.</p>\n",
836 "doc": "<p>The method the event invokes. Will be called with arguments given to\n<a href=\"#/api/Ext.grid.plugin.RowEditing-method-fireEvent\" rel=\"Ext.grid.plugin.RowEditing-method-fireEvent\" class=\"docClass\">fireEvent</a> plus the <code>options</code> parameter described below.</p>\n",
842 "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",
848 "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",
853 "owner": "Ext.util.Observable",
854 "doc": "<p>Shorthand for <a href=\"#/api/Ext.grid.plugin.RowEditing-method-addListener\" rel=\"Ext.grid.plugin.RowEditing-method-addListener\" class=\"docClass\">addListener</a>.</p>\n\n<p>Appends an event handler to this object.</p>\n",
860 "html_filename": "Observable.html"
867 "href": "Base3.html#Ext-Base-method-override",
868 "shortDoc": "Override prototype members of this class. ...",
870 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
882 "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",
886 "doc": "<p>this</p>\n"
888 "html_filename": "Base3.html"
895 "href": "Observable.html#Ext-util-Observable-method-relayEvents",
896 "shortDoc": "Relays selected events from the specified Observable as if the events were fired by this. ...",
898 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
904 "doc": "<p>The Observable whose events this object is to relay.</p>\n",
910 "doc": "<p>Array of event names to relay.</p>\n",
920 "name": "relayEvents",
921 "owner": "Ext.util.Observable",
922 "doc": "<p>Relays selected events from the specified Observable as if the events were fired by <code>this</code>.</p>\n",
928 "html_filename": "Observable.html"
935 "href": "Observable.html#Ext-util-Observable-method-releaseCapture",
936 "shortDoc": "Removes all added captures from the Observable. ...",
938 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
942 "type": "Observable",
944 "doc": "<p>The Observable to release</p>\n",
948 "name": "releaseCapture",
949 "owner": "Ext.util.Observable",
950 "doc": "<p>Removes <strong>all</strong> added captures from the Observable.</p>\n",
956 "html_filename": "Observable.html"
963 "href": "Observable.html#Ext-util-Observable-method-removeListener",
964 "shortDoc": "Removes an event handler. ...",
966 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
972 "doc": "<p>The type of event the handler was associated with.</p>\n",
978 "doc": "<p>The handler to remove. <strong>This must be a reference to the function passed into the\n<a href=\"#/api/Ext.grid.plugin.RowEditing-method-addListener\" rel=\"Ext.grid.plugin.RowEditing-method-addListener\" class=\"docClass\">addListener</a> call.</strong></p>\n",
984 "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
988 "name": "removeListener",
989 "owner": "Ext.util.Observable",
990 "doc": "<p>Removes an event handler.</p>\n",
996 "html_filename": "Observable.html"
1002 "tagname": "method",
1003 "href": "Observable.html#Ext-util-Observable-method-removeManagedListener",
1004 "shortDoc": "Removes listeners that were added by the mon method. ...",
1006 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1010 "type": "Observable|Element",
1012 "doc": "<p>The item from which to remove a listener/listeners.</p>\n",
1016 "type": "Object|String",
1018 "doc": "<p>The event name, or an object containing event name properties.</p>\n",
1024 "doc": "<p>Optional. If the <code>ename</code> parameter was an event name, this is the handler function.</p>\n",
1030 "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",
1034 "name": "removeManagedListener",
1035 "owner": "Ext.util.Observable",
1036 "doc": "<p>Removes listeners that were added by the <a href=\"#/api/Ext.grid.plugin.RowEditing-method-mon\" rel=\"Ext.grid.plugin.RowEditing-method-mon\" class=\"docClass\">mon</a> method.</p>\n",
1042 "html_filename": "Observable.html"
1048 "tagname": "method",
1049 "href": "Observable.html#Ext-util-Observable-method-resumeEvents",
1050 "shortDoc": "Resumes firing events (see suspendEvents). ...",
1052 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1057 "name": "resumeEvents",
1058 "owner": "Ext.util.Observable",
1059 "doc": "<p>Resumes firing events (see <a href=\"#/api/Ext.grid.plugin.RowEditing-method-suspendEvents\" rel=\"Ext.grid.plugin.RowEditing-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",
1065 "html_filename": "Observable.html"
1071 "tagname": "method",
1072 "href": "RowEditing.html#Ext-grid-plugin-RowEditing-method-startEdit",
1073 "shortDoc": "Start editing the specified record, using the specified Column definition to define which field is being edited. ...",
1075 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/plugin/RowEditing.js",
1081 "doc": "<p>The Store data record which backs the row to be edited.</p>\n",
1087 "doc": "<p>The Column object defining the column to be edited.\n@override</p>\n",
1088 "name": "columnHeader"
1091 "name": "startEdit",
1092 "owner": "Ext.grid.plugin.RowEditing",
1093 "doc": "<p>Start editing the specified record, using the specified Column definition to define which field is being edited.</p>\n",
1099 "html_filename": "RowEditing.html"
1105 "tagname": "method",
1106 "href": "Base3.html#Ext-Base-method-statics",
1107 "shortDoc": "Get the reference to the class from which this object was instantiated. ...",
1109 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1115 "owner": "Ext.Base",
1116 "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",
1122 "html_filename": "Base3.html"
1128 "tagname": "method",
1129 "href": "Observable.html#Ext-util-Observable-method-suspendEvents",
1130 "shortDoc": "Suspends the firing of all events. ...",
1132 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1138 "doc": "<p>Pass as true to queue up suspended events to be fired\nafter the <a href=\"#/api/Ext.grid.plugin.RowEditing-method-resumeEvents\" rel=\"Ext.grid.plugin.RowEditing-method-resumeEvents\" class=\"docClass\">resumeEvents</a> call instead of discarding all suspended events.</p>\n",
1139 "name": "queueSuspended"
1142 "name": "suspendEvents",
1143 "owner": "Ext.util.Observable",
1144 "doc": "<p>Suspends the firing of all events. (see <a href=\"#/api/Ext.grid.plugin.RowEditing-method-resumeEvents\" rel=\"Ext.grid.plugin.RowEditing-method-resumeEvents\" class=\"docClass\">resumeEvents</a>)</p>\n",
1150 "html_filename": "Observable.html"
1156 "cls": "Ext.util.Observable",
1158 "owner": "removeListener"
1161 "tagname": "method",
1162 "href": "Observable.html#Ext-util-Observable-method-un",
1163 "shortDoc": "Shorthand for removeListener. ...",
1165 "filename": "/mnt/ebs/nightly/git/SDK/platform/src/util/Observable.js",
1171 "doc": "<p>The type of event the handler was associated with.</p>\n",
1177 "doc": "<p>The handler to remove. <strong>This must be a reference to the function passed into the\n<a href=\"#/api/Ext.grid.plugin.RowEditing-method-addListener\" rel=\"Ext.grid.plugin.RowEditing-method-addListener\" class=\"docClass\">addListener</a> call.</strong></p>\n",
1183 "doc": "<p>(optional) The scope originally specified for the handler.</p>\n",
1188 "owner": "Ext.util.Observable",
1189 "doc": "<p>Shorthand for <a href=\"#/api/Ext.grid.plugin.RowEditing-method-removeListener\" rel=\"Ext.grid.plugin.RowEditing-method-removeListener\" class=\"docClass\">removeListener</a>.</p>\n\n<p>Removes an event handler.</p>\n",
1195 "html_filename": "Observable.html"
1204 "tagname": "property",
1205 "href": "Base3.html#Ext-Base-property-self",
1206 "shortDoc": "Get the reference to the current class from which this object was instantiated. ...",
1208 "filename": "/mnt/ebs/nightly/git/SDK/platform/core/src/class/Base.js",
1211 "owner": "Ext.Base",
1212 "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",
1214 "html_filename": "Base3.html"
1229 "href": "RowEditing.html#Ext-grid-plugin-RowEditing-event-beforeedit",
1230 "shortDoc": "Fires before row editing is triggered. ...",
1232 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/plugin/RowEditing.js",
1236 "type": "Ext.grid.plugin.Editing",
1244 "doc": "<p>An edit event (see above for description)</p>\n",
1251 "doc": "<p>The options object passed to <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n"
1254 "name": "beforeedit",
1255 "owner": "Ext.grid.plugin.RowEditing",
1256 "doc": "<p>Fires before row editing is triggered. The edit event object has the following properties <br /></p>\n\n<ul style=\"padding:5px;padding-left:16px;\">\n<li>grid - The grid this editor is on</li>\n<li>view - The grid view</li>\n<li>store - The grid store</li>\n<li>record - The record being edited</li>\n<li>row - The grid table row</li>\n<li>column - The grid <a href=\"#/api/Ext.grid.column.Column\" rel=\"Ext.grid.column.Column\" class=\"docClass\">Column</a> defining the column that initiated the edit</li>\n<li>rowIdx - The row index that is being edited</li>\n<li>colIdx - The column index that initiated the edit</li>\n<li>cancel - Set this to true to cancel the edit or return false from your handler.</li>\n</ul>\n\n",
1258 "html_filename": "RowEditing.html"
1265 "href": "RowEditing.html#Ext-grid-plugin-RowEditing-event-edit",
1266 "shortDoc": "Fires after a row is edited. ...",
1268 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/plugin/RowEditing.js",
1272 "type": "Ext.grid.plugin.Editing",
1280 "doc": "<p>An edit event (see above for description)</p>\n",
1287 "doc": "<p>The options object passed to <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n"
1291 "owner": "Ext.grid.plugin.RowEditing",
1292 "doc": "<p>Fires after a row is edited. The edit event object has the following properties <br /></p>\n\n<ul style=\"padding:5px;padding-left:16px;\">\n<li>grid - The grid this editor is on</li>\n<li>view - The grid view</li>\n<li>store - The grid store</li>\n<li>record - The record being edited</li>\n<li>row - The grid table row</li>\n<li>column - The grid <a href=\"#/api/Ext.grid.column.Column\" rel=\"Ext.grid.column.Column\" class=\"docClass\">Column</a> defining the column that initiated the edit</li>\n<li>rowIdx - The row index that is being edited</li>\n<li>colIdx - The column index that initiated the edit</li>\n</ul>\n\n\n\n\n<pre><code>grid.on('edit', onEdit, this);\n\nfunction onEdit(e) {\n // execute an XHR to send/commit data to the server, in callback do (if successful):\n e.record.commit();\n};\n</code></pre>\n\n",
1294 "html_filename": "RowEditing.html"
1301 "href": "RowEditing.html#Ext-grid-plugin-RowEditing-event-validateedit",
1302 "shortDoc": "Fires after a cell is edited, but before the value is set in the record. ...",
1304 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/plugin/RowEditing.js",
1308 "type": "Ext.grid.plugin.Editing",
1316 "doc": "<p>An edit event (see above for description)</p>\n",
1323 "doc": "<p>The options object passed to <a href=\"#/api/Ext.util.Observable-method-addListener\" rel=\"Ext.util.Observable-method-addListener\" class=\"docClass\">Ext.util.Observable.addListener</a>.</p>\n"
1326 "name": "validateedit",
1327 "owner": "Ext.grid.plugin.RowEditing",
1328 "doc": "<p>Fires after a cell is edited, but before the value is set in the record. Return false\nto cancel the change. The edit event object has the following properties <br /></p>\n\n<ul style=\"padding:5px;padding-left:16px;\">\n<li>grid - The grid this editor is on</li>\n<li>view - The grid view</li>\n<li>store - The grid store</li>\n<li>record - The record being edited</li>\n<li>row - The grid table row</li>\n<li>column - The grid <a href=\"#/api/Ext.grid.column.Column\" rel=\"Ext.grid.column.Column\" class=\"docClass\">Column</a> defining the column that initiated the edit</li>\n<li>rowIdx - The row index that is being edited</li>\n<li>colIdx - The column index that initiated the edit</li>\n<li>cancel - Set this to true to cancel the edit or return false from your handler.</li>\n</ul>\n\n\n<p>Usage example showing how to remove the red triangle (dirty record indicator) from some\nrecords (not all). By observing the grid's validateedit event, it can be cancelled if\nthe edit occurs on a targeted row (for example) and then setting the field's new value\nin the Record directly:</p>\n\n<pre><code>grid.on('validateedit', function(e) {\n var myTargetRow = 6;\n\n if (e.rowIdx == myTargetRow) {\n e.cancel = true;\n e.record.data[e.field] = e.value;\n }\n});\n</code></pre>\n\n",
1330 "html_filename": "RowEditing.html"
1338 "Ext.grid.plugin.Editing"
1345 "href": "RowEditing.html#Ext-grid-plugin-RowEditing",
1352 "filename": "/mnt/ebs/nightly/git/SDK/extjs/src/grid/plugin/RowEditing.js",
1354 "alternateClassNames": [
1357 "name": "Ext.grid.plugin.RowEditing",
1358 "doc": "<p>The <a href=\"#/api/Ext.grid.plugin.RowEditing\" rel=\"Ext.grid.plugin.RowEditing\" class=\"docClass\">Ext.grid.plugin.RowEditing</a> plugin injects editing at a row level for a Grid. When editing begins,\na small floating dialog will be shown for the appropriate row. Each editable column will show a field\nfor editing. There is a button to save or cancel all changes for the edit.</p>\n\n<p>The field that will be used for the editor is defined at the\nfield. The editor can be a field instance or a field configuration.\nIf an editor is not specified for a particular column then that column won't be editable and the value of\nthe column will be displayed.</p>\n\n<p>The editor may be shared for each column in the grid, or a different one may be specified for each column.\nAn appropriate field type should be chosen to match the data structure that it will be editing. For example,\nto edit a date, it would be useful to specify <a href=\"#/api/Ext.form.field.Date\" rel=\"Ext.form.field.Date\" class=\"docClass\">Ext.form.field.Date</a> as the editor.</p>\n\n<p><p><img src=\"doc-resources/Ext.grid.plugin.RowEditing/Ext.grid.plugin.RowEditing.png\" alt=\"Ext.grid.plugin.RowEditing plugin\"></p></p>\n\n<h2>Example Usage</h2>\n\n<pre><code>Ext.create('Ext.data.Store', {\n storeId:'simpsonsStore',\n fields:['name', 'email', 'phone'],\n data:{'items':[\n {\"name\":\"Lisa\", \"email\":\"lisa@simpsons.com\", \"phone\":\"555-111-1224\"},\n {\"name\":\"Bart\", \"email\":\"bart@simpsons.com\", \"phone\":\"555--222-1234\"},\n {\"name\":\"Homer\", \"email\":\"home@simpsons.com\", \"phone\":\"555-222-1244\"}, \n {\"name\":\"Marge\", \"email\":\"marge@simpsons.com\", \"phone\":\"555-222-1254\"} \n ]},\n proxy: {\n type: 'memory',\n reader: {\n type: 'json',\n root: 'items'\n }\n }\n});\n\nExt.create('Ext.grid.Panel', {\n title: 'Simpsons',\n store: Ext.data.StoreManager.lookup('simpsonsStore'),\n columns: [\n {header: 'Name', dataIndex: 'name', field: 'textfield'},\n {header: 'Email', dataIndex: 'email', flex:1, \n editor: {\n xtype:'textfield',\n allowBlank:false\n }\n },\n {header: 'Phone', dataIndex: 'phone'}\n ],\n selType: 'rowmodel',\n plugins: [\n Ext.create('Ext.grid.plugin.RowEditing', {\n clicksToEdit: 1\n })\n ],\n height: 200,\n width: 400,\n renderTo: Ext.getBody()\n});\n</code></pre>\n",
1366 "html_filename": "RowEditing.html",
1367 "extends": "Ext.grid.plugin.Editing"