1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.grid.GridEditor</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.grid.GridEditor-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.grid.GridEditor-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.grid.GridEditor-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.grid.GridEditor-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
48 <img src="../../images/default/s.gif" height="1" width="40"/><img src="../../images/default/tree/elbow-end.gif" class="elbow"/><a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.grid.GridEditor
54 <!-- ============================== class title / details ============================ -->
57 <h1 class="classTitle">
59 Class Roo.grid.GridEditor
62 <table cellspacing="0" class="class-summary-table">
64 <tr><td class="label">Package:</td><td class="hd-info">Roo.grid</td></tr>
66 <tr><td class="label">Defined In:</td><td class="hd-info">
68 <a href="./src/Roo_grid_GridEditor.js.html">Roo/grid/GridEditor.js</a>.
71 <tr><td class="label">Class:</td><td class="hd-info">GridEditor</td></tr>
76 <tr><td class="label">Extends:</td><td class="hd-info">
77 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
85 <!-- ============================== class summary ========================== -->
86 <div class="description">
87 Class for creating and editable grid elements.
91 <!-- ============================== Class comment block... ========================== -->
93 <div class="comments">
94 <b>Class Comments / Notes</B> =>
95 <u onclick="parent.CommentDialog.showCommentId = 'Roo.grid.GridEditor';">[Add Your comment/notes about this class]</u>
97 <iframe frameborder="0" id="comments-Roo.grid" style="border: none;width:100%;"
98 src="/blog.php/GtkDjsComments/Roo.grid.GridEditor.html"></iframe>
103 <!-- ============================== config options ========================== -->
108 <div class="hr"></div>
109 <a id="Roo.grid.GridEditor-configs"></a>
115 <table cellspacing="0" class="member-table">
116 <caption>Config Options (Usually are also Properties)</caption>
120 <th class="sig-header" colspan="2">Options</th>
122 <th class="msource-header">Defined By</th>
129 <tr class="config-row expandable config-row-alt0">
130 <td class="micon"><a class="exi" href="#expand"> </a></td>
133 <a id="Roo.Component-cfg-actionMode" name=".actionMode"></a>
134 <div class="fixedFont">
135 <b class="itemname">actionMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
141 <div class="short">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
145 <div class="long">which property holds the element that used for hide() / show() / disable() / enable()<br/>default is 'el'</div>
153 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
159 <tr class="config-row expandable config-row-alt1">
160 <td class="micon"><a class="exi" href="#expand"> </a></td>
163 <a id="Roo.Editor-cfg-alignment" name=".alignment"></a>
164 <div class="fixedFont">
165 <b class="itemname">alignment</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
171 <div class="short">The position to align to (see {<b>link</b> Roo.Element<b>alignTo</b>} for more details, defaults to "c-c?").</div>
175 <div class="long">The position to align to (see {<b>link</b> Roo.Element<b>alignTo</b>} for more details, defaults to "c-c?").</div>
183 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
189 <tr class="config-row expandable config-row-alt0">
190 <td class="micon"><a class="exi" href="#expand"> </a></td>
193 <a id="Roo.Component-cfg-allowDomMove" name=".allowDomMove"></a>
194 <div class="fixedFont">
195 <b class="itemname">allowDomMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
201 <div class="short">Whether the component can move the Dom node when rendering (defaults to true).</div>
205 <div class="long">Whether the component can move the Dom node when rendering (defaults to true).</div>
213 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
219 <tr class="config-row expandable config-row-alt1">
220 <td class="micon"><a class="exi" href="#expand"> </a></td>
223 <a id="Roo.Editor-cfg-autosize" name=".autosize"></a>
224 <div class="fixedFont">
225 <b class="itemname">autosize</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/String
231 <div class="short">True for the editor to automatically adopt the size of the underlying field, "width" to adopt the width only,<br/>or "height" to adopt the height only (defaults to false)</div>
235 <div class="long">True for the editor to automatically adopt the size of the underlying field, "width" to adopt the width only,<br/>or "height" to adopt the height only (defaults to false)</div>
243 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
249 <tr class="config-row expandable config-row-alt0">
250 <td class="micon"><a class="exi" href="#expand"> </a></td>
253 <a id="Roo.Editor-cfg-cancelOnEsc" name=".cancelOnEsc"></a>
254 <div class="fixedFont">
255 <b class="itemname">cancelOnEsc</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
261 <div class="short">True to cancel the edit when the escape key is pressed (defaults to false)</div>
265 <div class="long">True to cancel the edit when the escape key is pressed (defaults to false)</div>
273 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
279 <tr class="config-row expandable config-row-alt1">
280 <td class="micon"><a class="exi" href="#expand"> </a></td>
283 <a id="Roo.Editor-cfg-completeOnEnter" name=".completeOnEnter"></a>
284 <div class="fixedFont">
285 <b class="itemname">completeOnEnter</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
291 <div class="short">True to complete the edit when the enter key is pressed (defaults to false)</div>
295 <div class="long">True to complete the edit when the enter key is pressed (defaults to false)</div>
303 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
309 <tr class="config-row expandable config-row-alt0">
310 <td class="micon"><a class="exi" href="#expand"> </a></td>
313 <a id="Roo.Editor-cfg-constrain" name=".constrain"></a>
314 <div class="fixedFont">
315 <b class="itemname">constrain</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
321 <div class="short">True to constrain the editor to the viewport</div>
325 <div class="long">True to constrain the editor to the viewport</div>
333 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
339 <tr class="config-row expandable config-row-alt1">
340 <td class="micon"><a class="exi" href="#expand"> </a></td>
343 <a id="Roo.Component-cfg-disableClass" name=".disableClass"></a>
344 <div class="fixedFont">
345 <b class="itemname">disableClass</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
351 <div class="short">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
355 <div class="long">CSS class added to the component when it is disabled (defaults to "x-item-disabled").</div>
363 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
369 <tr class="config-row expandable config-row-alt0 notInherited">
370 <td class="micon"><a class="exi" href="#expand"> </a></td>
373 <a id="Roo.grid.GridEditor-cfg-field" name=".field"></a>
374 <div class="fixedFont">
375 <b class="itemname">field</b> : <a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a>
381 <div class="short">Field to wrap (or xtyped)</div>
385 <div class="long">Field to wrap (or xtyped)</div>
399 <tr class="config-row expandable config-row-alt1">
400 <td class="micon"><a class="exi" href="#expand"> </a></td>
403 <a id="Roo.Editor-cfg-hideEl" name=".hideEl"></a>
404 <div class="fixedFont">
405 <b class="itemname">hideEl</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
411 <div class="short">False to keep the bound element visible while the editor is displayed (defaults to true)</div>
415 <div class="long">False to keep the bound element visible while the editor is displayed (defaults to true)</div>
423 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
429 <tr class="config-row expandable config-row-alt0">
430 <td class="micon"><a class="exi" href="#expand"> </a></td>
433 <a id="Roo.Component-cfg-hideMode" name=".hideMode"></a>
434 <div class="fixedFont">
435 <b class="itemname">hideMode</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
441 <div class="short">How this component should hidden.</div>
445 <div class="long">How this component should hidden. Supported values are<br/>"visibility" (css visibility), "offsets" (negative offset position) and<br/>"display" (css display) - defaults to "display".</div>
453 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
459 <tr class="config-row expandable config-row-alt1">
460 <td class="micon"><a class="exi" href="#expand"> </a></td>
463 <a id="Roo.Editor-cfg-ignoreNoChange" name=".ignoreNoChange"></a>
464 <div class="fixedFont">
465 <b class="itemname">ignoreNoChange</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
471 <div class="short">True to skip the the edit completion process (no save, no events fired) if the user completes an edit and<br/>the value has not changed (defaults to false).</div>
475 <div class="long">True to skip the the edit completion process (no save, no events fired) if the user completes an edit and<br/>the value has not changed (defaults to false). Applies only to string values - edits for other data types<br/>will never be ignored.</div>
483 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
489 <tr class="config-row expandable config-row-alt0">
490 <td class="micon"><a class="exi" href="#expand"> </a></td>
493 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
494 <div class="fixedFont">
495 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
501 <div class="short">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> .</div>
505 <div class="long">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> ..... <br/> } ,<br/> .... <br/> } <br/> </code></pre></div>
513 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
519 <tr class="config-row expandable config-row-alt1">
520 <td class="micon"><a class="exi" href="#expand"> </a></td>
523 <a id="Roo.Editor-cfg-revertInvalid" name=".revertInvalid"></a>
524 <div class="fixedFont">
525 <b class="itemname">revertInvalid</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
531 <div class="short">True to automatically revert the field value and cancel the edit when the user completes an edit and the field<br/>validation fails (defaults to true)</div>
535 <div class="long">True to automatically revert the field value and cancel the edit when the user completes an edit and the field<br/>validation fails (defaults to true)</div>
543 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
549 <tr class="config-row expandable config-row-alt0">
550 <td class="micon"><a class="exi" href="#expand"> </a></td>
553 <a id="Roo.Editor-cfg-shadow" name=".shadow"></a>
554 <div class="fixedFont">
555 <b class="itemname">shadow</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>/String
561 <div class="short">"sides" for sides/bottom only, "frame" for 4-way shadow, and "drop"<br/>for bottom-right shadow (defaults to "frame")</div>
565 <div class="long">"sides" for sides/bottom only, "frame" for 4-way shadow, and "drop"<br/>for bottom-right shadow (defaults to "frame")</div>
573 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
579 <tr class="config-row expandable config-row-alt1">
580 <td class="micon"><a class="exi" href="#expand"> </a></td>
583 <a id="Roo.Editor-cfg-updateEl" name=".updateEl"></a>
584 <div class="fixedFont">
585 <b class="itemname">updateEl</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
591 <div class="short">True to update the innerHTML of the bound element when the update completes (defaults to false)</div>
595 <div class="long">True to update the innerHTML of the bound element when the update completes (defaults to false)</div>
603 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
609 <tr class="config-row expandable config-row-alt0">
610 <td class="micon"><a class="exi" href="#expand"> </a></td>
613 <a id="Roo.Editor-cfg-value" name=".value"></a>
614 <div class="fixedFont">
615 <b class="itemname">value</b> : Mixed
621 <div class="short">The data value of the underlying field (defaults to "")</div>
625 <div class="long">The data value of the underlying field (defaults to "")</div>
633 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
649 <!-- ============================== public properties ==================== -->
653 <a id="Roo.grid.GridEditor-props"></a>
659 <table cellspacing="0" class="member-table">
660 <caption class="Empty">Public Properties - Has None</caption>
666 <!-- ============================== methods summary / details ======================== -->
669 <a id="Roo.grid.GridEditor-methods"></a>
670 <!-- constructor?? -->
677 <!-- then dynamics first -->
684 <table cellspacing="0" class="member-table">
685 <caption>Public Methods</caption>
687 <th class="sig-header" colspan="2">Method</th>
688 <th class="msource-header">Defined By</th>
698 <tr class="method-row config-row-alt0 expandable notInherited">
699 <td class="micon"><a class="exi" href="#expand"> </a></td>
703 <a id="Roo.grid-method-GridEditor" name=".GridEditor"></a>
704 <div class="fixedFont">
705 <span class="attributes">new <B>Roo.grid.</B></span><b class="itemname">GridEditor</b>
707 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
715 <div class="short">Create a new Roo.grid.GridEditor</div>
722 Create a new Roo.grid.GridEditor
725 <dl class="detailList">
726 <dt class="heading">Parameters:</dt>
729 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
732 <dd>any settings (must include field)</dd>
756 <tr class="method-row config-row-alt1 expandable">
757 <td class="micon"><a class="exi" href="#expand"> </a></td>
761 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
762 <div class="fixedFont">
763 <span class="attributes"></span><b class="itemname">addEvents</b>
765 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
772 <div class="short">Used to define events on this Observable</div>
778 Used to define events on this Observable
785 <dl class="detailList">
786 <dt class="heading">Parameters:</dt>
789 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>object</b>
792 <dd>The object with the events defined</dd>
812 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
818 <tr class="method-row config-row-alt0 expandable">
819 <td class="micon"><a class="exi" href="#expand"> </a></td>
823 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
824 <div class="fixedFont">
825 <span class="attributes"></span><b class="itemname">addListener</b>
827 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>)
834 <div class="short">Appends an event handler to this component</div>
840 Appends an event handler to this component
847 <dl class="detailList">
848 <dt class="heading">Parameters:</dt>
851 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
854 <dd>The type of event to listen for</dd>
857 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
860 <dd>The method the event invokes</dd>
863 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
866 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
869 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
872 <dd>(optional) An object containing handler configuration<br/>properties. This may contain any of the following properties:<ul><br/><li>scope {Object} The scope in which to execute the handler function. The handler function's "this" context.</li><br/><li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li><br/><li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li><br/><li>buffer {Number} Causes the handler to be scheduled to run in an {<b>link</b> Roo.util.DelayedTask} delayed<br/>by the specified number of milliseconds. If the event fires again within that time, the original<br/>handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li><br/></ul><br><br/><p><br/><b>Combining Options</b><br><br/>Using the options argument, it is possible to combine different types of listeners:<br><br/><br><br/>A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)<br/> <pre><code><br/> el.on('click', this.onClick, this, {<br/> single: true,<br/> delay: 100,<br/> forumId: 4<br/> });<br/> </code></pre><br/><p><br/><b>Attaching multiple handlers in 1 call</b><br><br/>The method also allows for a single argument to be passed which is a config object containing properties<br/>which specify multiple handlers.<br/><pre><code><br/> el.on({<br/> 'click': {<br/> fn: this.onClick,<br/> scope: this,<br/> delay: 100<br/> }, <br/> 'mouseover': {<br/> fn: this.onMouseOver,<br/> scope: this<br/> },<br/> 'mouseout': {<br/> fn: this.onMouseOut,<br/> scope: this<br/> }<br/> });<br/> </code></pre><br/><p><br/>Or a shorthand syntax which passes the same scope object to all handlers:<br/> <pre><code><br/> el.on({<br/> 'click': this.onClick,<br/> 'mouseover': this.onMouseOver,<br/> 'mouseout': this.onMouseOut,<br/> scope: this<br/> });<br/> </code></pre></dd>
892 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
898 <tr class="method-row config-row-alt1 expandable">
899 <td class="micon"><a class="exi" href="#expand"> </a></td>
903 <a id="Roo.Editor-method-cancelEdit" name=".cancelEdit"></a>
904 <div class="fixedFont">
905 <span class="attributes"></span><b class="itemname">cancelEdit</b>
907 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>remainVisible</i></B>)
914 <div class="short">Cancels the editing process and hides the editor without persisting any changes.</div>
920 Cancels the editing process and hides the editor without persisting any changes. The field value will be<br/>reverted to the original starting value.
927 <dl class="detailList">
928 <dt class="heading">Parameters:</dt>
931 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>remainVisible</b>
934 <dd>Override the default behavior and keep the editor visible after<br/>cancel (defaults to false)</dd>
954 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
960 <tr class="method-row config-row-alt0 expandable">
961 <td class="micon"><a class="exi" href="#expand"> </a></td>
965 <a id="Roo.Editor-method-completeEdit" name=".completeEdit"></a>
966 <div class="fixedFont">
967 <span class="attributes"></span><b class="itemname">completeEdit</b>
969 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>remainVisible</i></B>)
976 <div class="short">Ends the editing process, persists the changed value to the underlying field, and hides the editor.</div>
982 Ends the editing process, persists the changed value to the underlying field, and hides the editor.
989 <dl class="detailList">
990 <dt class="heading">Parameters:</dt>
993 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>remainVisible</b>
996 <dd>Override the default behavior and keep the editor visible after edit (defaults to false)</dd>
1014 <td class="msource">
1016 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
1022 <tr class="method-row config-row-alt1 expandable">
1023 <td class="micon"><a class="exi" href="#expand"> </a></td>
1027 <a id="Roo.Component-method-destroy" name=".destroy"></a>
1028 <div class="fixedFont">
1029 <span class="attributes"></span><b class="itemname">destroy</b>
1038 <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,<br/>removing the component from its {<b>link</b> Roo.Container} (if applicable) and unregistering it from {<b>link</b> Roo.ComponentMgr}.</div>
1044 Destroys this component by purging any event listeners, removing the component's element from the DOM,<br/>removing the component from its {<b>link</b> Roo.Container} (if applicable) and unregistering it from {<b>link</b> Roo.ComponentMgr}.
1065 <td class="msource">
1067 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1073 <tr class="method-row config-row-alt0 expandable">
1074 <td class="micon"><a class="exi" href="#expand"> </a></td>
1078 <a id="Roo.Component-method-disable" name=".disable"></a>
1079 <div class="fixedFont">
1080 <span class="attributes"></span><b class="itemname">disable</b>
1088 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1097 <div class="short">Disable this component.</div>
1103 Disable this component.
1114 <dl class="detailList">
1115 <dt class="heading">Returns:</dt>
1117 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1131 <td class="msource">
1133 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1139 <tr class="method-row config-row-alt1 expandable">
1140 <td class="micon"><a class="exi" href="#expand"> </a></td>
1144 <a id="Roo.Component-method-enable" name=".enable"></a>
1145 <div class="fixedFont">
1146 <span class="attributes"></span><b class="itemname">enable</b>
1154 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1163 <div class="short">Enable this component.</div>
1169 Enable this component.
1180 <dl class="detailList">
1181 <dt class="heading">Returns:</dt>
1183 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1197 <td class="msource">
1199 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1205 <tr class="method-row config-row-alt0 expandable">
1206 <td class="micon"><a class="exi" href="#expand"> </a></td>
1210 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1211 <div class="fixedFont">
1212 <span class="attributes"></span><b class="itemname">fireEvent</b>
1214 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a> <B><i>args</i></B>)
1220 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1229 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1235 Fires the specified event with the passed parameters (minus the event name).
1242 <dl class="detailList">
1243 <dt class="heading">Parameters:</dt>
1246 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1252 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a></span> <b>args</b>
1255 <dd>Variable number of parameters are passed to handlers</dd>
1263 <dl class="detailList">
1264 <dt class="heading">Returns:</dt>
1266 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> returns false if any of the handlers return false otherwise it returns true</dd>
1280 <td class="msource">
1282 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1288 <tr class="method-row config-row-alt1 expandable">
1289 <td class="micon"><a class="exi" href="#expand"> </a></td>
1293 <a id="Roo.Component-method-focus" name=".focus"></a>
1294 <div class="fixedFont">
1295 <span class="attributes"></span><b class="itemname">focus</b>
1297 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>selectText</i></B>)
1303 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1312 <div class="short">Try to focus this component.</div>
1318 Try to focus this component.
1325 <dl class="detailList">
1326 <dt class="heading">Parameters:</dt>
1329 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>selectText</b>
1332 <dd>True to also select the text in this component (if applicable)</dd>
1340 <dl class="detailList">
1341 <dt class="heading">Returns:</dt>
1343 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1357 <td class="msource">
1359 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1365 <tr class="method-row config-row-alt0 expandable">
1366 <td class="micon"><a class="exi" href="#expand"> </a></td>
1370 <a id="Roo.Component-method-getEl" name=".getEl"></a>
1371 <div class="fixedFont">
1372 <span class="attributes"></span><b class="itemname">getEl</b>
1380 <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
1389 <div class="short">Returns the underlying {<b>link</b> Roo.Element}.</div>
1395 Returns the underlying {<b>link</b> Roo.Element}.
1406 <dl class="detailList">
1407 <dt class="heading">Returns:</dt>
1409 <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> The element</dd>
1423 <td class="msource">
1425 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1431 <tr class="method-row config-row-alt1 expandable">
1432 <td class="micon"><a class="exi" href="#expand"> </a></td>
1436 <a id="Roo.Component-method-getId" name=".getId"></a>
1437 <div class="fixedFont">
1438 <span class="attributes"></span><b class="itemname">getId</b>
1446 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1455 <div class="short">Returns the id of this component.</div>
1461 Returns the id of this component.
1472 <dl class="detailList">
1473 <dt class="heading">Returns:</dt>
1475 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1489 <td class="msource">
1491 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1497 <tr class="method-row config-row-alt0 expandable">
1498 <td class="micon"><a class="exi" href="#expand"> </a></td>
1502 <a id="Roo.Editor-method-getValue" name=".getValue"></a>
1503 <div class="fixedFont">
1504 <span class="attributes"></span><b class="itemname">getValue</b>
1521 <div class="short">Gets the data value of the editor</div>
1527 Gets the data value of the editor
1538 <dl class="detailList">
1539 <dt class="heading">Returns:</dt>
1541 <dd><span class="fixedFont">Mixed</span> The data value</dd>
1555 <td class="msource">
1557 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
1563 <tr class="method-row config-row-alt1 expandable">
1564 <td class="micon"><a class="exi" href="#expand"> </a></td>
1568 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1569 <div class="fixedFont">
1570 <span class="attributes"></span><b class="itemname">hasListener</b>
1572 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1578 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1587 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1593 Checks to see if this object has any listeners for a specified event
1600 <dl class="detailList">
1601 <dt class="heading">Parameters:</dt>
1604 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1607 <dd>The name of the event to check for</dd>
1615 <dl class="detailList">
1616 <dt class="heading">Returns:</dt>
1618 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the event is being listened for, else false</dd>
1632 <td class="msource">
1634 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1640 <tr class="method-row config-row-alt0 expandable">
1641 <td class="micon"><a class="exi" href="#expand"> </a></td>
1645 <a id="Roo.Component-method-hide" name=".hide"></a>
1646 <div class="fixedFont">
1647 <span class="attributes"></span><b class="itemname">hide</b>
1655 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1664 <div class="short">Hide this component.</div>
1670 Hide this component.
1681 <dl class="detailList">
1682 <dt class="heading">Returns:</dt>
1684 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
1698 <td class="msource">
1700 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1706 <tr class="method-row config-row-alt1 expandable">
1707 <td class="micon"><a class="exi" href="#expand"> </a></td>
1711 <a id="Roo.Component-method-isVisible" name=".isVisible"></a>
1712 <div class="fixedFont">
1713 <span class="attributes"></span><b class="itemname">isVisible</b>
1722 <div class="short">Returns true if this component is visible.</div>
1728 Returns true if this component is visible.
1749 <td class="msource">
1751 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
1757 <tr class="method-row config-row-alt0 expandable">
1758 <td class="micon"><a class="exi" href="#expand"> </a></td>
1762 <a id="Roo.util.Observable-method-on" name=".on"></a>
1763 <div class="fixedFont">
1764 <span class="attributes"></span><b class="itemname">on</b>
1766 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>)
1773 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1779 Appends an event handler to this element (shorthand for addListener)
1786 <dl class="detailList">
1787 <dt class="heading">Parameters:</dt>
1790 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1793 <dd>The type of event to listen for</dd>
1796 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1799 <dd>The method the event invokes</dd>
1802 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
1805 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1808 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
1829 <td class="msource">
1831 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1837 <tr class="method-row config-row-alt1 expandable">
1838 <td class="micon"><a class="exi" href="#expand"> </a></td>
1842 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1843 <div class="fixedFont">
1844 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1853 <div class="short">Removes all listeners for this object</div>
1859 Removes all listeners for this object
1880 <td class="msource">
1882 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1888 <tr class="method-row config-row-alt0 expandable">
1889 <td class="micon"><a class="exi" href="#expand"> </a></td>
1893 <a id="Roo.Editor-method-realign" name=".realign"></a>
1894 <div class="fixedFont">
1895 <span class="attributes"></span><b class="itemname">realign</b>
1904 <div class="short">Realigns the editor to the bound field based on the current alignment config value.</div>
1910 Realigns the editor to the bound field based on the current alignment config value.
1931 <td class="msource">
1933 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
1939 <tr class="method-row config-row-alt1 expandable">
1940 <td class="micon"><a class="exi" href="#expand"> </a></td>
1944 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1945 <div class="fixedFont">
1946 <span class="attributes"></span><b class="itemname">removeListener</b>
1948 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
1955 <div class="short">Removes a listener</div>
1968 <dl class="detailList">
1969 <dt class="heading">Parameters:</dt>
1972 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1975 <dd>The type of event to listen for</dd>
1978 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1981 <dd>The handler to remove</dd>
1984 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
1987 <dd>(optional) The scope (this object) for the handler</dd>
2005 <td class="msource">
2007 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2013 <tr class="method-row config-row-alt0 expandable">
2014 <td class="micon"><a class="exi" href="#expand"> </a></td>
2018 <a id="Roo.Component-method-render" name=".render"></a>
2019 <div class="fixedFont">
2020 <span class="attributes"></span><b class="itemname">render</b>
2022 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>container</i></B>)
2029 <div class="short">If this is a lazy rendering component, render it to its container element.</div>
2035 If this is a lazy rendering component, render it to its container element.
2042 <dl class="detailList">
2043 <dt class="heading">Parameters:</dt>
2046 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>container</b>
2049 <dd>(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.</dd>
2067 <td class="msource">
2069 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2075 <tr class="method-row config-row-alt1 expandable">
2076 <td class="micon"><a class="exi" href="#expand"> </a></td>
2080 <a id="Roo.Component-method-setDisabled" name=".setDisabled"></a>
2081 <div class="fixedFont">
2082 <span class="attributes"></span><b class="itemname">setDisabled</b>
2084 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>disabled</i></B>)
2091 <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
2097 Convenience function for setting disabled/enabled by boolean.
2104 <dl class="detailList">
2105 <dt class="heading">Parameters:</dt>
2108 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>disabled</b>
2129 <td class="msource">
2131 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2137 <tr class="method-row config-row-alt0 expandable">
2138 <td class="micon"><a class="exi" href="#expand"> </a></td>
2142 <a id="Roo.Editor-method-setSize" name=".setSize"></a>
2143 <div class="fixedFont">
2144 <span class="attributes"></span><b class="itemname">setSize</b>
2146 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>width</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>height</i></B>)
2153 <div class="short">Sets the height and width of this editor.</div>
2159 Sets the height and width of this editor.
2166 <dl class="detailList">
2167 <dt class="heading">Parameters:</dt>
2170 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>width</b>
2173 <dd>The new width</dd>
2176 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>height</b>
2179 <dd>The new height</dd>
2197 <td class="msource">
2199 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
2205 <tr class="method-row config-row-alt1 expandable">
2206 <td class="micon"><a class="exi" href="#expand"> </a></td>
2210 <a id="Roo.Editor-method-setValue" name=".setValue"></a>
2211 <div class="fixedFont">
2212 <span class="attributes"></span><b class="itemname">setValue</b>
2214 (Mixed <B><i>value</i></B>)
2221 <div class="short">Sets the data value of the editor</div>
2227 Sets the data value of the editor
2234 <dl class="detailList">
2235 <dt class="heading">Parameters:</dt>
2238 <span class="fixedFont">Mixed</span> <b>value</b>
2241 <dd>Any valid value supported by the underlying field</dd>
2259 <td class="msource">
2261 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
2267 <tr class="method-row config-row-alt0 expandable">
2268 <td class="micon"><a class="exi" href="#expand"> </a></td>
2272 <a id="Roo.Component-method-setVisible" name=".setVisible"></a>
2273 <div class="fixedFont">
2274 <span class="attributes"></span><b class="itemname">setVisible</b>
2276 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
2282 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2291 <div class="short">Convenience function to hide or show this component by boolean.</div>
2297 Convenience function to hide or show this component by boolean.
2304 <dl class="detailList">
2305 <dt class="heading">Parameters:</dt>
2308 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>visible</b>
2311 <dd>True to show, false to hide</dd>
2319 <dl class="detailList">
2320 <dt class="heading">Returns:</dt>
2322 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2336 <td class="msource">
2338 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2344 <tr class="method-row config-row-alt1 expandable">
2345 <td class="micon"><a class="exi" href="#expand"> </a></td>
2349 <a id="Roo.Component-method-show" name=".show"></a>
2350 <div class="fixedFont">
2351 <span class="attributes"></span><b class="itemname">show</b>
2359 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2368 <div class="short">Show this component.</div>
2374 Show this component.
2385 <dl class="detailList">
2386 <dt class="heading">Returns:</dt>
2388 <dd><span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> this</dd>
2402 <td class="msource">
2404 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2410 <tr class="method-row config-row-alt0 expandable">
2411 <td class="micon"><a class="exi" href="#expand"> </a></td>
2415 <a id="Roo.Editor-method-startEdit" name=".startEdit"></a>
2416 <div class="fixedFont">
2417 <span class="attributes"></span><b class="itemname">startEdit</b>
2419 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>value</i></B>)
2426 <div class="short">Starts the editing process and shows the editor.</div>
2432 Starts the editing process and shows the editor.
2439 <dl class="detailList">
2440 <dt class="heading">Parameters:</dt>
2443 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
2446 <dd>The element to edit</dd>
2449 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>value</b>
2452 <dd>(optional) A value to initialize the editor with. If a value is not provided, it defaults<br/>to the innerHTML of el.</dd>
2470 <td class="msource">
2472 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
2478 <tr class="method-row config-row-alt1 expandable">
2479 <td class="micon"><a class="exi" href="#expand"> </a></td>
2483 <a id="Roo.util.Observable-method-un" name=".un"></a>
2484 <div class="fixedFont">
2485 <span class="attributes"></span><b class="itemname">un</b>
2487 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
2494 <div class="short">Removes a listener (shorthand for removeListener)</div>
2500 Removes a listener (shorthand for removeListener)
2507 <dl class="detailList">
2508 <dt class="heading">Parameters:</dt>
2511 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2514 <dd>The type of event to listen for</dd>
2517 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2520 <dd>The handler to remove</dd>
2523 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
2526 <dd>(optional) The scope (this object) for the handler</dd>
2544 <td class="msource">
2546 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2555 <!-- ============================== events summary / details ======================== -->
2558 <a id="Roo.grid.GridEditor-events"></a>
2567 <table cellspacing="0" class="member-table">
2568 <caption>Events</caption>
2571 <th class="sig-header" colspan="2">Event</th>
2572 <th class="msource-header">Defined By</th>
2581 <tr class="method-row expandable config-row-alt0">
2582 <td class="micon"><a class="exi" href="#expand"> </a></td>
2585 <a id="Roo.Editor-event-*beforecomplete"></a>
2587 <div class="fixedFont">
2588 <b class="itemname">beforecomplete</b> (Editor <B><i>this</i></B>, Mixed <B><i>value</i></B>, Mixed <B><i>startValue</i></B>)
2594 <div class="short">Fires after a change has been made to the field, but before the change is reflected in the underlying<br/>field.
2600 Fires after a change has been made to the field, but before the change is reflected in the underlying<br/>field. Saving the change to the field can be canceled by returning false from the handler of this event.<br/>Note that if the value has not changed and ignoreNoChange = true, the editing will still end but this<br/>event will not fire since no edit actually occurred.
2606 <dl class="detailList">
2607 <dt class="heading">Parameters:</dt>
2610 <span class="fixedFont">Editor</span> <b>this</b>
2616 <span class="fixedFont">Mixed</span> <b>value</b>
2619 <dd>The current field value</dd>
2622 <span class="fixedFont">Mixed</span> <b>startValue</b>
2625 <dd>The original field value</dd>
2643 <td class="msource">
2644 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
2648 <tr class="method-row expandable config-row-alt1">
2649 <td class="micon"><a class="exi" href="#expand"> </a></td>
2652 <a id="Roo.Component-event-*beforedestroy"></a>
2654 <div class="fixedFont">
2655 <b class="itemname">beforedestroy</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
2661 <div class="short">Fires before the component is destroyed.
2667 Fires before the component is destroyed. Return false to stop the destroy.
2673 <dl class="detailList">
2674 <dt class="heading">Parameters:</dt>
2677 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2698 <td class="msource">
2699 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2703 <tr class="method-row expandable config-row-alt0">
2704 <td class="micon"><a class="exi" href="#expand"> </a></td>
2707 <a id="Roo.Component-event-*beforehide"></a>
2709 <div class="fixedFont">
2710 <b class="itemname">beforehide</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
2716 <div class="short">Fires before the component is hidden.
2722 Fires before the component is hidden. Return false to stop the hide.
2728 <dl class="detailList">
2729 <dt class="heading">Parameters:</dt>
2732 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2753 <td class="msource">
2754 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2758 <tr class="method-row expandable config-row-alt1">
2759 <td class="micon"><a class="exi" href="#expand"> </a></td>
2762 <a id="Roo.Component-event-*beforerender"></a>
2764 <div class="fixedFont">
2765 <b class="itemname">beforerender</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
2771 <div class="short">Fires before the component is rendered.
2777 Fires before the component is rendered. Return false to stop the render.
2783 <dl class="detailList">
2784 <dt class="heading">Parameters:</dt>
2787 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2808 <td class="msource">
2809 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2813 <tr class="method-row expandable config-row-alt0">
2814 <td class="micon"><a class="exi" href="#expand"> </a></td>
2817 <a id="Roo.Component-event-*beforeshow"></a>
2819 <div class="fixedFont">
2820 <b class="itemname">beforeshow</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
2826 <div class="short">Fires before the component is shown.
2832 Fires before the component is shown. Return false to stop the show.
2838 <dl class="detailList">
2839 <dt class="heading">Parameters:</dt>
2842 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
2863 <td class="msource">
2864 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
2868 <tr class="method-row expandable config-row-alt1">
2869 <td class="micon"><a class="exi" href="#expand"> </a></td>
2872 <a id="Roo.Editor-event-*beforestartedit"></a>
2874 <div class="fixedFont">
2875 <b class="itemname">beforestartedit</b> (Editor <B><i>this</i></B>, <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a> <B><i>boundEl</i></B>, Mixed <B><i>value</i></B>)
2881 <div class="short">Fires when editing is initiated, but before the value changes.
2887 Fires when editing is initiated, but before the value changes. Editing can be canceled by returning<br/>false from the handler of this event.
2893 <dl class="detailList">
2894 <dt class="heading">Parameters:</dt>
2897 <span class="fixedFont">Editor</span> <b>this</b>
2903 <span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> <b>boundEl</b>
2906 <dd>The underlying element bound to this editor</dd>
2909 <span class="fixedFont">Mixed</span> <b>value</b>
2912 <dd>The field value being set</dd>
2930 <td class="msource">
2931 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
2935 <tr class="method-row expandable config-row-alt0">
2936 <td class="micon"><a class="exi" href="#expand"> </a></td>
2939 <a id="Roo.Editor-event-*complete"></a>
2941 <div class="fixedFont">
2942 <b class="itemname">complete</b> (Editor <B><i>this</i></B>, Mixed <B><i>value</i></B>, Mixed <B><i>startValue</i></B>)
2948 <div class="short">Fires after editing is complete and any changed value has been written to the underlying field.
2954 Fires after editing is complete and any changed value has been written to the underlying field.
2960 <dl class="detailList">
2961 <dt class="heading">Parameters:</dt>
2964 <span class="fixedFont">Editor</span> <b>this</b>
2970 <span class="fixedFont">Mixed</span> <b>value</b>
2973 <dd>The current field value</dd>
2976 <span class="fixedFont">Mixed</span> <b>startValue</b>
2979 <dd>The original field value</dd>
2997 <td class="msource">
2998 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
3002 <tr class="method-row expandable config-row-alt1">
3003 <td class="micon"><a class="exi" href="#expand"> </a></td>
3006 <a id="Roo.Component-event-*destroy"></a>
3008 <div class="fixedFont">
3009 <b class="itemname">destroy</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
3015 <div class="short">Fires after the component is destroyed.
3021 Fires after the component is destroyed.
3027 <dl class="detailList">
3028 <dt class="heading">Parameters:</dt>
3031 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3052 <td class="msource">
3053 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3057 <tr class="method-row expandable config-row-alt0">
3058 <td class="micon"><a class="exi" href="#expand"> </a></td>
3061 <a id="Roo.Component-event-*disable"></a>
3063 <div class="fixedFont">
3064 <b class="itemname">disable</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
3070 <div class="short">Fires after the component is disabled.
3076 Fires after the component is disabled.
3082 <dl class="detailList">
3083 <dt class="heading">Parameters:</dt>
3086 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3107 <td class="msource">
3108 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3112 <tr class="method-row expandable config-row-alt1">
3113 <td class="micon"><a class="exi" href="#expand"> </a></td>
3116 <a id="Roo.Component-event-*enable"></a>
3118 <div class="fixedFont">
3119 <b class="itemname">enable</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
3125 <div class="short">Fires after the component is enabled.
3131 Fires after the component is enabled.
3137 <dl class="detailList">
3138 <dt class="heading">Parameters:</dt>
3141 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3162 <td class="msource">
3163 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3167 <tr class="method-row expandable config-row-alt0">
3168 <td class="micon"><a class="exi" href="#expand"> </a></td>
3171 <a id="Roo.Component-event-*hide"></a>
3173 <div class="fixedFont">
3174 <b class="itemname">hide</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
3180 <div class="short">Fires after the component is hidden.
3186 Fires after the component is hidden.
3192 <dl class="detailList">
3193 <dt class="heading">Parameters:</dt>
3196 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3217 <td class="msource">
3218 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3222 <tr class="method-row expandable config-row-alt1">
3223 <td class="micon"><a class="exi" href="#expand"> </a></td>
3226 <a id="Roo.Component-event-*render"></a>
3228 <div class="fixedFont">
3229 <b class="itemname">render</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
3235 <div class="short">Fires after the component is rendered.
3241 Fires after the component is rendered.
3247 <dl class="detailList">
3248 <dt class="heading">Parameters:</dt>
3251 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3272 <td class="msource">
3273 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3277 <tr class="method-row expandable config-row-alt0">
3278 <td class="micon"><a class="exi" href="#expand"> </a></td>
3281 <a id="Roo.Component-event-*show"></a>
3283 <div class="fixedFont">
3284 <b class="itemname">show</b> (<a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a> <B><i>this</i></B>)
3290 <div class="short">Fires after the component is shown.
3296 Fires after the component is shown.
3302 <dl class="detailList">
3303 <dt class="heading">Parameters:</dt>
3306 <span class="fixedFont"><a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a></span> <b>this</b>
3327 <td class="msource">
3328 <a href="./Roo.Component.html#constructor" roo:cls="Roo.Component.html#constructor">Roo.Component</a>
3332 <tr class="method-row expandable config-row-alt1">
3333 <td class="micon"><a class="exi" href="#expand"> </a></td>
3336 <a id="Roo.Editor-event-*specialkey"></a>
3338 <div class="fixedFont">
3339 <b class="itemname">specialkey</b> (<a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a> <B><i>this</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3345 <div class="short">Fires when any key related to navigation (arrows, tab, enter, esc, etc.
3351 Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. You can check<br/>{<b>link</b> Roo.EventObject<b>getKey</b>} to determine which key was pressed.
3357 <dl class="detailList">
3358 <dt class="heading">Parameters:</dt>
3361 <span class="fixedFont"><a href="./Roo.form.Field.html#constructor" roo:cls="Roo.form.Field.html#constructor">Roo.form.Field</a></span> <b>this</b>
3367 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3370 <dd>The event object</dd>
3388 <td class="msource">
3389 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
3393 <tr class="method-row expandable config-row-alt0">
3394 <td class="micon"><a class="exi" href="#expand"> </a></td>
3397 <a id="Roo.Editor-event-*startedit"></a>
3399 <div class="fixedFont">
3400 <b class="itemname">startedit</b> (<a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a> <B><i>boundEl</i></B>, Mixed <B><i>value</i></B>)
3406 <div class="short">Fires when this editor is displayed
3412 Fires when this editor is displayed
3418 <dl class="detailList">
3419 <dt class="heading">Parameters:</dt>
3422 <span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> <b>boundEl</b>
3425 <dd>The underlying element bound to this editor</dd>
3428 <span class="fixedFont">Mixed</span> <b>value</b>
3431 <dd>The starting field value</dd>
3449 <td class="msource">
3450 <a href="./Roo.Editor.html#constructor" roo:cls="Roo.Editor.html#constructor">Roo.Editor</a>
3461 <!-- ============================== footer ================================= -->
3462 <div class="fineprint" style="clear:both">
3464 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Jul 07 2011 12:26:03 GMT+0800 (HKT)
3466 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>