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.PropertyGrid</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.PropertyGrid-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.grid.PropertyGrid-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.grid.PropertyGrid-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.grid.PropertyGrid-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.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
49 <img src="../../images/default/s.gif" height="1" width="60"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.grid.PropertyGrid
54 <!-- ============================== class title / details ============================ -->
57 <h1 class="classTitle">
59 Class Roo.grid.PropertyGrid
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_PropertyGrid.js.html">Roo/grid/PropertyGrid.js</a>.
71 <tr><td class="label">Class:</td><td class="hd-info">PropertyGrid</td></tr>
76 <tr><td class="label">Extends:</td><td class="hd-info">
77 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
85 <!-- ============================== class summary ========================== -->
86 <div class="description">
87 This class represents the interface of a component based property grid control.<br/><br><br>Usage:<pre><code><br/> var grid = new Roo.grid.PropertyGrid("my-container-id", {<br/> <br/> });<br/> // set any options<br/> grid.render();<br/></code></pre>
91 <!-- ============================== Class comment block... ========================== -->
93 <div class="comments">
94 <b>Class Comments / Notes</B> =>
95 <u onclick="parent.CommentDialog.showCommentId = 'Roo.grid.PropertyGrid';">[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.PropertyGrid.html"></iframe>
103 <!-- ============================== config options ========================== -->
108 <div class="hr"></div>
109 <a id="Roo.grid.PropertyGrid-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.grid.Grid-cfg-autoExpandColumn" name=".autoExpandColumn"></a>
134 <div class="fixedFont">
135 <b class="itemname">autoExpandColumn</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
141 <div class="short">The id (or dataIndex) of a column in this grid that should expand to fill unused space.</div>
145 <div class="long">The id (or dataIndex) of a column in this grid that should expand to fill unused space. This id can not be 0. Default is false.</div>
153 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.Grid-cfg-autoExpandMax" name=".autoExpandMax"></a>
164 <div class="fixedFont">
165 <b class="itemname">autoExpandMax</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
171 <div class="short">The maximum width the autoExpandColumn can have (if enabled).</div>
175 <div class="long">The maximum width the autoExpandColumn can have (if enabled). Default is 1000.</div>
183 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.Grid-cfg-autoExpandMin" name=".autoExpandMin"></a>
194 <div class="fixedFont">
195 <b class="itemname">autoExpandMin</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
201 <div class="short">The minimum width the autoExpandColumn can have (if enabled).</div>
205 <div class="long">The minimum width the autoExpandColumn can have (if enabled).<br/>Default is 50.</div>
213 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.Grid-cfg-autoHeight" name=".autoHeight"></a>
224 <div class="fixedFont">
225 <b class="itemname">autoHeight</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
231 <div class="short">True to fit the height of the grid container to the height of the data.</div>
235 <div class="long">True to fit the height of the grid container to the height of the data. Default is false.</div>
243 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.Grid-cfg-autoSizeColumns" name=".autoSizeColumns"></a>
254 <div class="fixedFont">
255 <b class="itemname">autoSizeColumns</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 automatically resize the columns to fit their content<br/><b>on initial render.</div>
265 <div class="long">True to automatically resize the columns to fit their content<br/><b>on initial render.</b> It is more efficient to explicitly size the columns<br/>through the ColumnModel's {<b>link</b> Roo.grid.ColumnModel<b>width</b>} config option. Default is false.</div>
273 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.Grid-cfg-autoSizeHeaders" name=".autoSizeHeaders"></a>
284 <div class="fixedFont">
285 <b class="itemname">autoSizeHeaders</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 measure headers with column data when auto sizing columns.</div>
295 <div class="long">True to measure headers with column data when auto sizing columns. Default is true.</div>
303 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.Grid-cfg-autoWidth" name=".autoWidth"></a>
314 <div class="fixedFont">
315 <b class="itemname">autoWidth</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 set the grid's width to the default total width of the grid's columns instead<br/>of a fixed width.</div>
325 <div class="long">True to set the grid's width to the default total width of the grid's columns instead<br/>of a fixed width. Default is false.</div>
333 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.EditorGrid-cfg-clicksToEdit" name=".clicksToEdit"></a>
344 <div class="fixedFont">
345 <b class="itemname">clicksToEdit</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
351 <div class="short">The number of clicks on a cell required to display the cell's editor (defaults to 2)</div>
355 <div class="long">The number of clicks on a cell required to display the cell's editor (defaults to 2)</div>
363 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</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.PropertyGrid-cfg-customEditors" name=".customEditors"></a>
374 <div class="fixedFont">
375 <b class="itemname">customEditors</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
381 <div class="short">map of colnames=> custom editors.</div>
385 <div class="long">map of colnames=> custom editors.<br/>the custom editor can be one of the standard ones (date|string|number|int|boolean), or a<br/>grid editor eg. Roo.grid.GridEditor(new Roo.form.TextArea({selectOnFocus:true})),<br/>false disables editing of the field.</div>
393 Roo.grid.PropertyGrid
399 <tr class="config-row expandable config-row-alt1">
400 <td class="micon"><a class="exi" href="#expand"> </a></td>
403 <a id="Roo.grid.Grid-cfg-enableColumnHide" name=".enableColumnHide"></a>
404 <div class="fixedFont">
405 <b class="itemname">enableColumnHide</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
411 <div class="short">True to enable hiding of columns with the header context menu.</div>
415 <div class="long">True to enable hiding of columns with the header context menu. Default is true.</div>
423 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.Grid-cfg-enableColumnMove" name=".enableColumnMove"></a>
434 <div class="fixedFont">
435 <b class="itemname">enableColumnMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
441 <div class="short">True to enable drag and drop reorder of columns.</div>
445 <div class="long">True to enable drag and drop reorder of columns. Default is true.</div>
453 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.Grid-cfg-enableDragDrop" name=".enableDragDrop"></a>
464 <div class="fixedFont">
465 <b class="itemname">enableDragDrop</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 enable drag and drop of rows.</div>
475 <div class="long">True to enable drag and drop of rows. Default is false.</div>
483 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.Grid-cfg-enableRowHeightSync" name=".enableRowHeightSync"></a>
494 <div class="fixedFont">
495 <b class="itemname">enableRowHeightSync</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
501 <div class="short">True to manually sync row heights across locked and not locked rows.</div>
505 <div class="long">True to manually sync row heights across locked and not locked rows. Default is false.</div>
513 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.util.Observable-cfg-listeners" name=".listeners"></a>
524 <div class="fixedFont">
525 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
531 <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>
535 <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>
543 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</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.grid.Grid-cfg-loadMask" name=".loadMask"></a>
554 <div class="fixedFont">
555 <b class="itemname">loadMask</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
561 <div class="short">An {<b>link</b> Roo.LoadMask} config or true to mask the grid while loading.</div>
565 <div class="long">An {<b>link</b> Roo.LoadMask} config or true to mask the grid while loading. Default is false.</div>
573 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.Grid-cfg-maxHeight" name=".maxHeight"></a>
584 <div class="fixedFont">
585 <b class="itemname">maxHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
591 <div class="short">Sets the maximum height of the grid - ignored if autoHeight is not on.</div>
595 <div class="long">Sets the maximum height of the grid - ignored if autoHeight is not on.</div>
603 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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.grid.Grid-cfg-maxRowsToMeasure" name=".maxRowsToMeasure"></a>
614 <div class="fixedFont">
615 <b class="itemname">maxRowsToMeasure</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
621 <div class="short">If autoSizeColumns is on, maxRowsToMeasure can be used to limit the number of<br/>rows measured to get a columns size.</div>
625 <div class="long">If autoSizeColumns is on, maxRowsToMeasure can be used to limit the number of<br/>rows measured to get a columns size. Default is 0 (all rows).</div>
633 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
639 <tr class="config-row expandable config-row-alt1">
640 <td class="micon"><a class="exi" href="#expand"> </a></td>
643 <a id="Roo.grid.Grid-cfg-minColumnWidth" name=".minColumnWidth"></a>
644 <div class="fixedFont">
645 <b class="itemname">minColumnWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
651 <div class="short">The minimum width a column can be resized to.</div>
655 <div class="long">The minimum width a column can be resized to. Default is 25.</div>
663 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
669 <tr class="config-row expandable config-row-alt0">
670 <td class="micon"><a class="exi" href="#expand"> </a></td>
673 <a id="Roo.grid.Grid-cfg-monitorWindowResize" name=".monitorWindowResize"></a>
674 <div class="fixedFont">
675 <b class="itemname">monitorWindowResize</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
681 <div class="short">True to autoSize the grid when the window resizes.</div>
685 <div class="long">True to autoSize the grid when the window resizes. Default is true.</div>
693 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
699 <tr class="config-row expandable config-row-alt1 notInherited">
700 <td class="micon"><a class="exi" href="#expand"> </a></td>
703 <a id="Roo.grid.PropertyGrid-cfg-propertyNames" name=".propertyNames"></a>
704 <div class="fixedFont">
705 <b class="itemname">propertyNames</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
711 <div class="short">map of property Names to their displayed value</div>
715 <div class="long">map of property Names to their displayed value</div>
723 Roo.grid.PropertyGrid
729 <tr class="config-row expandable config-row-alt0">
730 <td class="micon"><a class="exi" href="#expand"> </a></td>
733 <a id="Roo.grid.Grid-cfg-stripeRows" name=".stripeRows"></a>
734 <div class="fixedFont">
735 <b class="itemname">stripeRows</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
741 <div class="short">True to stripe the rows.</div>
745 <div class="long">True to stripe the rows. Default is true.</div>
753 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
759 <tr class="config-row expandable config-row-alt1">
760 <td class="micon"><a class="exi" href="#expand"> </a></td>
763 <a id="Roo.grid.Grid-cfg-trackMouseOver" name=".trackMouseOver"></a>
764 <div class="fixedFont">
765 <b class="itemname">trackMouseOver</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
771 <div class="short">True to highlight rows when the mouse is over.</div>
775 <div class="long">True to highlight rows when the mouse is over. Default is true.</div>
783 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
789 <tr class="config-row expandable config-row-alt0">
790 <td class="micon"><a class="exi" href="#expand"> </a></td>
793 <a id="Roo.grid.Grid-cfg-view" name=".view"></a>
794 <div class="fixedFont">
795 <b class="itemname">view</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
801 <div class="short">The {<b>link</b> Roo.grid.GridView} used by the grid.</div>
805 <div class="long">The {<b>link</b> Roo.grid.GridView} used by the grid. This can be set before a call to render().</div>
813 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
829 <!-- ============================== public properties ==================== -->
833 <a id="Roo.grid.PropertyGrid-props"></a>
839 <table cellspacing="0" class="member-table">
840 <caption class="Empty">Public Properties - Has None</caption>
846 <!-- ============================== methods summary / details ======================== -->
849 <a id="Roo.grid.PropertyGrid-methods"></a>
850 <!-- constructor?? -->
857 <!-- then dynamics first -->
864 <table cellspacing="0" class="member-table">
865 <caption>Public Methods</caption>
867 <th class="sig-header" colspan="2">Method</th>
868 <th class="msource-header">Defined By</th>
878 <tr class="method-row config-row-alt0 expandable notInherited">
879 <td class="micon"><a class="exi" href="#expand"> </a></td>
883 <a id="Roo.grid-method-PropertyGrid" name=".PropertyGrid"></a>
884 <div class="fixedFont">
885 <span class="attributes">new <B>Roo.grid.</B></span><b class="itemname">PropertyGrid</b>
887 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>container</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
895 <div class="short">Create a new Roo.grid.PropertyGrid</div>
902 Create a new Roo.grid.PropertyGrid
905 <dl class="detailList">
906 <dt class="heading">Parameters:</dt>
909 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>container</b>
912 <dd>The element into which this grid will be rendered -<br/>The container MUST have some type of size defined for the grid to fill. The container will be<br/>automatically set to position relative if it isn't already.</dd>
915 <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>
918 <dd>A config object that sets properties on this grid.</dd>
942 <tr class="method-row config-row-alt1 expandable">
943 <td class="micon"><a class="exi" href="#expand"> </a></td>
947 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
948 <div class="fixedFont">
949 <span class="attributes"></span><b class="itemname">addEvents</b>
951 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
958 <div class="short">Used to define events on this Observable</div>
964 Used to define events on this Observable
971 <dl class="detailList">
972 <dt class="heading">Parameters:</dt>
975 <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>
978 <dd>The object with the events defined</dd>
998 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1004 <tr class="method-row config-row-alt0 expandable">
1005 <td class="micon"><a class="exi" href="#expand"> </a></td>
1009 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1010 <div class="fixedFont">
1011 <span class="attributes"></span><b class="itemname">addListener</b>
1013 (<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>)
1020 <div class="short">Appends an event handler to this component</div>
1026 Appends an event handler to this component
1033 <dl class="detailList">
1034 <dt class="heading">Parameters:</dt>
1037 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1040 <dd>The type of event to listen for</dd>
1043 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1046 <dd>The method the event invokes</dd>
1049 <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>
1052 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1055 <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>
1058 <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>
1076 <td class="msource">
1078 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1084 <tr class="method-row config-row-alt1 expandable">
1085 <td class="micon"><a class="exi" href="#expand"> </a></td>
1089 <a id="Roo.grid.Grid-method-autoSize" name=".autoSize"></a>
1090 <div class="fixedFont">
1091 <span class="attributes"></span><b class="itemname">autoSize</b>
1100 <div class="short">Causes the grid to manually recalculate its dimensions.</div>
1106 Causes the grid to manually recalculate its dimensions. Generally this is done automatically,<br/>but if manual update is required this method will initiate it.
1127 <td class="msource">
1129 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1135 <tr class="method-row config-row-alt0 expandable">
1136 <td class="micon"><a class="exi" href="#expand"> </a></td>
1140 <a id="Roo.grid.Grid-method-destroy" name=".destroy"></a>
1141 <div class="fixedFont">
1142 <span class="attributes"></span><b class="itemname">destroy</b>
1144 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
1151 <div class="short">Destroy this grid.</div>
1164 <dl class="detailList">
1165 <dt class="heading">Parameters:</dt>
1168 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>removeEl</b>
1171 <dd>True to remove the element</dd>
1189 <td class="msource">
1191 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1197 <tr class="method-row config-row-alt1 expandable">
1198 <td class="micon"><a class="exi" href="#expand"> </a></td>
1202 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1203 <div class="fixedFont">
1204 <span class="attributes"></span><b class="itemname">fireEvent</b>
1206 (<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>)
1212 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1221 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1227 Fires the specified event with the passed parameters (minus the event name).
1234 <dl class="detailList">
1235 <dt class="heading">Parameters:</dt>
1238 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1244 <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>
1247 <dd>Variable number of parameters are passed to handlers</dd>
1255 <dl class="detailList">
1256 <dt class="heading">Returns:</dt>
1258 <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>
1272 <td class="msource">
1274 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1280 <tr class="method-row config-row-alt0 expandable">
1281 <td class="micon"><a class="exi" href="#expand"> </a></td>
1285 <a id="Roo.grid.Grid-method-getColumnModel" name=".getColumnModel"></a>
1286 <div class="fixedFont">
1287 <span class="attributes"></span><b class="itemname">getColumnModel</b>
1304 <div class="short">Returns the grid's ColumnModel.</div>
1310 Returns the grid's ColumnModel.
1321 <dl class="detailList">
1322 <dt class="heading">Returns:</dt>
1324 <dd><span class="fixedFont">ColumnModel</span> </dd>
1338 <td class="msource">
1340 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1346 <tr class="method-row config-row-alt1 expandable">
1347 <td class="micon"><a class="exi" href="#expand"> </a></td>
1351 <a id="Roo.grid.Grid-method-getDataSource" name=".getDataSource"></a>
1352 <div class="fixedFont">
1353 <span class="attributes"></span><b class="itemname">getDataSource</b>
1370 <div class="short">Returns the grid's DataSource.</div>
1376 Returns the grid's DataSource.
1387 <dl class="detailList">
1388 <dt class="heading">Returns:</dt>
1390 <dd><span class="fixedFont">DataSource</span> </dd>
1404 <td class="msource">
1406 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1412 <tr class="method-row config-row-alt0 expandable">
1413 <td class="micon"><a class="exi" href="#expand"> </a></td>
1417 <a id="Roo.grid.Grid-method-getDragDropText" name=".getDragDropText"></a>
1418 <div class="fixedFont">
1419 <span class="attributes"></span><b class="itemname">getDragDropText</b>
1427 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1436 <div class="short">Called to get grid's drag proxy text, by default returns this.ddText.</div>
1442 Called to get grid's drag proxy text, by default returns this.ddText.
1453 <dl class="detailList">
1454 <dt class="heading">Returns:</dt>
1456 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1470 <td class="msource">
1472 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1478 <tr class="method-row config-row-alt1 expandable">
1479 <td class="micon"><a class="exi" href="#expand"> </a></td>
1483 <a id="Roo.grid.Grid-method-getGridEl" name=".getGridEl"></a>
1484 <div class="fixedFont">
1485 <span class="attributes"></span><b class="itemname">getGridEl</b>
1502 <div class="short">Returns the grid's underlying element.</div>
1508 Returns the grid's underlying element.
1519 <dl class="detailList">
1520 <dt class="heading">Returns:</dt>
1522 <dd><span class="fixedFont">Element</span> The element</dd>
1536 <td class="msource">
1538 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1544 <tr class="method-row config-row-alt0 expandable">
1545 <td class="micon"><a class="exi" href="#expand"> </a></td>
1549 <a id="Roo.grid.Grid-method-getSelectionModel" name=".getSelectionModel"></a>
1550 <div class="fixedFont">
1551 <span class="attributes"></span><b class="itemname">getSelectionModel</b>
1568 <div class="short">Returns the grid's SelectionModel.</div>
1574 Returns the grid's SelectionModel.
1585 <dl class="detailList">
1586 <dt class="heading">Returns:</dt>
1588 <dd><span class="fixedFont">SelectionModel</span> </dd>
1602 <td class="msource">
1604 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1610 <tr class="method-row config-row-alt1 expandable notInherited">
1611 <td class="micon"><a class="exi" href="#expand"> </a></td>
1615 <a id="Roo.grid.PropertyGrid-method-getSource" name=".getSource"></a>
1616 <div class="fixedFont">
1617 <span class="attributes"></span><b class="itemname">getSource</b>
1625 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1634 <div class="short">Gets all the data from the grid.</div>
1640 Gets all the data from the grid.
1651 <dl class="detailList">
1652 <dt class="heading">Returns:</dt>
1654 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> data data stored in grid</dd>
1668 <td class="msource">
1670 Roo.grid.PropertyGrid
1676 <tr class="method-row config-row-alt0 expandable">
1677 <td class="micon"><a class="exi" href="#expand"> </a></td>
1681 <a id="Roo.grid.Grid-method-getView" name=".getView"></a>
1682 <div class="fixedFont">
1683 <span class="attributes"></span><b class="itemname">getView</b>
1700 <div class="short">Returns the grid's GridView object.</div>
1706 Returns the grid's GridView object.
1717 <dl class="detailList">
1718 <dt class="heading">Returns:</dt>
1720 <dd><span class="fixedFont">GridView</span> </dd>
1734 <td class="msource">
1736 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1742 <tr class="method-row config-row-alt1 expandable">
1743 <td class="micon"><a class="exi" href="#expand"> </a></td>
1747 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1748 <div class="fixedFont">
1749 <span class="attributes"></span><b class="itemname">hasListener</b>
1751 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1757 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1766 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1772 Checks to see if this object has any listeners for a specified event
1779 <dl class="detailList">
1780 <dt class="heading">Parameters:</dt>
1783 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1786 <dd>The name of the event to check for</dd>
1794 <dl class="detailList">
1795 <dt class="heading">Returns:</dt>
1797 <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>
1811 <td class="msource">
1813 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1819 <tr class="method-row config-row-alt0 expandable">
1820 <td class="micon"><a class="exi" href="#expand"> </a></td>
1824 <a id="Roo.util.Observable-method-on" name=".on"></a>
1825 <div class="fixedFont">
1826 <span class="attributes"></span><b class="itemname">on</b>
1828 (<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>)
1835 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1841 Appends an event handler to this element (shorthand for addListener)
1848 <dl class="detailList">
1849 <dt class="heading">Parameters:</dt>
1852 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1855 <dd>The type of event to listen for</dd>
1858 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1861 <dd>The method the event invokes</dd>
1864 <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>
1867 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1870 <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>
1891 <td class="msource">
1893 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1899 <tr class="method-row config-row-alt1 expandable">
1900 <td class="micon"><a class="exi" href="#expand"> </a></td>
1904 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1905 <div class="fixedFont">
1906 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1915 <div class="short">Removes all listeners for this object</div>
1921 Removes all listeners for this object
1942 <td class="msource">
1944 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1950 <tr class="method-row config-row-alt0 expandable">
1951 <td class="micon"><a class="exi" href="#expand"> </a></td>
1955 <a id="Roo.grid.Grid-method-reconfigure" name=".reconfigure"></a>
1956 <div class="fixedFont">
1957 <span class="attributes"></span><b class="itemname">reconfigure</b>
1959 (<a href="./Roo.data.Store.html#constructor" roo:cls="Roo.data.Store.html#constructor">Roo.data.Store</a> <B><i>dataSource</i></B>, <a href="./Roo.grid.ColumnModel.html#constructor" roo:cls="Roo.grid.ColumnModel.html#constructor">Roo.grid.ColumnModel</a> <B><i>The</i></B>)
1966 <div class="short">Reconfigures the grid to use a different Store and Column Model.</div>
1972 Reconfigures the grid to use a different Store and Column Model.<br/>The View will be bound to the new objects and refreshed.
1979 <dl class="detailList">
1980 <dt class="heading">Parameters:</dt>
1983 <span class="fixedFont"><a href="./Roo.data.Store.html#constructor" roo:cls="Roo.data.Store.html#constructor">Roo.data.Store</a></span> <b>dataSource</b>
1986 <dd>The new {<b>link</b> Roo.data.Store} object</dd>
1989 <span class="fixedFont"><a href="./Roo.grid.ColumnModel.html#constructor" roo:cls="Roo.grid.ColumnModel.html#constructor">Roo.grid.ColumnModel</a></span> <b>The</b>
1992 <dd>new {<b>link</b> Roo.grid.ColumnModel} object</dd>
2010 <td class="msource">
2012 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2018 <tr class="method-row config-row-alt1 expandable">
2019 <td class="micon"><a class="exi" href="#expand"> </a></td>
2023 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
2024 <div class="fixedFont">
2025 <span class="attributes"></span><b class="itemname">removeListener</b>
2027 (<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>)
2034 <div class="short">Removes a listener</div>
2047 <dl class="detailList">
2048 <dt class="heading">Parameters:</dt>
2051 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2054 <dd>The type of event to listen for</dd>
2057 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2060 <dd>The handler to remove</dd>
2063 <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>
2066 <dd>(optional) The scope (this object) for the handler</dd>
2084 <td class="msource">
2086 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2092 <tr class="method-row config-row-alt0 expandable">
2093 <td class="micon"><a class="exi" href="#expand"> </a></td>
2097 <a id="Roo.grid.Grid-method-render" name=".render"></a>
2098 <div class="fixedFont">
2099 <span class="attributes"></span><b class="itemname">render</b>
2107 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2116 <div class="short">Called once after all setup has been completed and the grid is ready to be rendered.</div>
2122 Called once after all setup has been completed and the grid is ready to be rendered.
2133 <dl class="detailList">
2134 <dt class="heading">Returns:</dt>
2136 <dd><span class="fixedFont"><a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a></span> this</dd>
2150 <td class="msource">
2152 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2158 <tr class="method-row config-row-alt1 expandable notInherited">
2159 <td class="micon"><a class="exi" href="#expand"> </a></td>
2163 <a id="Roo.grid.PropertyGrid-method-setSource" name=".setSource"></a>
2164 <div class="fixedFont">
2165 <span class="attributes"></span><b class="itemname">setSource</b>
2167 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>data</i></B>)
2174 <div class="short">Sets the data for the Grid<br/>accepts a Key => Value object of all the elements avaiable.</div>
2180 Sets the data for the Grid<br/>accepts a Key => Value object of all the elements avaiable.
2187 <dl class="detailList">
2188 <dt class="heading">Parameters:</dt>
2191 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>data</b>
2194 <dd>to appear in grid.</dd>
2212 <td class="msource">
2214 Roo.grid.PropertyGrid
2220 <tr class="method-row config-row-alt0 expandable">
2221 <td class="micon"><a class="exi" href="#expand"> </a></td>
2225 <a id="Roo.grid.EditorGrid-method-startEditing" name=".startEditing"></a>
2226 <div class="fixedFont">
2227 <span class="attributes"></span><b class="itemname">startEditing</b>
2229 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rowIndex</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>colIndex</i></B>)
2236 <div class="short">Starts editing the specified for the specified row/column</div>
2242 Starts editing the specified for the specified row/column
2249 <dl class="detailList">
2250 <dt class="heading">Parameters:</dt>
2253 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2259 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>colIndex</b>
2280 <td class="msource">
2282 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
2288 <tr class="method-row config-row-alt1 expandable">
2289 <td class="micon"><a class="exi" href="#expand"> </a></td>
2293 <a id="Roo.grid.EditorGrid-method-stopEditing" name=".stopEditing"></a>
2294 <div class="fixedFont">
2295 <span class="attributes"></span><b class="itemname">stopEditing</b>
2304 <div class="short">Stops any active editing</div>
2310 Stops any active editing
2331 <td class="msource">
2333 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
2339 <tr class="method-row config-row-alt0 expandable">
2340 <td class="micon"><a class="exi" href="#expand"> </a></td>
2344 <a id="Roo.util.Observable-method-un" name=".un"></a>
2345 <div class="fixedFont">
2346 <span class="attributes"></span><b class="itemname">un</b>
2348 (<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>)
2355 <div class="short">Removes a listener (shorthand for removeListener)</div>
2361 Removes a listener (shorthand for removeListener)
2368 <dl class="detailList">
2369 <dt class="heading">Parameters:</dt>
2372 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2375 <dd>The type of event to listen for</dd>
2378 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2381 <dd>The handler to remove</dd>
2384 <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>
2387 <dd>(optional) The scope (this object) for the handler</dd>
2405 <td class="msource">
2407 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2416 <!-- ============================== events summary / details ======================== -->
2419 <a id="Roo.grid.PropertyGrid-events"></a>
2428 <table cellspacing="0" class="member-table">
2429 <caption>Events</caption>
2432 <th class="sig-header" colspan="2">Event</th>
2433 <th class="msource-header">Defined By</th>
2442 <tr class="method-row expandable config-row-alt0">
2443 <td class="micon"><a class="exi" href="#expand"> </a></td>
2446 <a id="Roo.grid.EditorGrid-event-*afteredit"></a>
2448 <div class="fixedFont">
2449 <b class="itemname">afteredit</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>e</i></B>)
2455 <div class="short">Fires after a cell is edited.
2461 Fires after a cell is edited. <br /><br/><ul style="padding:5px;padding-left:16px;"><br/><li>grid - This grid</li><br/><li>record - The record being edited</li><br/><li>field - The field name being edited</li><br/><li>value - The value being set</li><br/><li>originalValue - The original value for the field, before the edit.</li><br/><li>row - The grid row index</li><br/><li>column - The grid column index</li><br/></ul>
2467 <dl class="detailList">
2468 <dt class="heading">Parameters:</dt>
2471 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>e</b>
2474 <dd>An edit event (see above for description)</dd>
2492 <td class="msource">
2493 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
2497 <tr class="method-row expandable config-row-alt1">
2498 <td class="micon"><a class="exi" href="#expand"> </a></td>
2501 <a id="Roo.grid.EditorGrid-event-*beforeedit"></a>
2503 <div class="fixedFont">
2504 <b class="itemname">beforeedit</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>e</i></B>)
2510 <div class="short">Fires before cell editing is triggered.
2516 Fires before cell editing is triggered. The edit event object has the following properties <br /><br/><ul style="padding:5px;padding-left:16px;"><br/><li>grid - This grid</li><br/><li>record - The record being edited</li><br/><li>field - The field name being edited</li><br/><li>value - The value for the field being edited.</li><br/><li>row - The grid row index</li><br/><li>column - The grid column index</li><br/><li>cancel - Set this to true to cancel the edit or return false from your handler.</li><br/></ul>
2522 <dl class="detailList">
2523 <dt class="heading">Parameters:</dt>
2526 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>e</b>
2529 <dd>An edit event (see above for description)</dd>
2547 <td class="msource">
2548 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
2552 <tr class="method-row expandable config-row-alt0 notInherited">
2553 <td class="micon"><a class="exi" href="#expand"> </a></td>
2556 <a id="Roo.grid.PropertyGrid-event-*beforepropertychange"></a>
2558 <div class="fixedFont">
2559 <b class="itemname">beforepropertychange</b> (<a href="./Roo.grid.PropertyGrid.html#constructor" roo:cls="Roo.grid.PropertyGrid.html#constructor">Roo.grid.PropertyGrid</a> <B><i>grid</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>newval</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>oldval</i></B>)
2565 <div class="short">Fires before a property changes (return false to stop?)
2571 Fires before a property changes (return false to stop?)
2577 <dl class="detailList">
2578 <dt class="heading">Parameters:</dt>
2581 <span class="fixedFont"><a href="./Roo.grid.PropertyGrid.html#constructor" roo:cls="Roo.grid.PropertyGrid.html#constructor">Roo.grid.PropertyGrid</a></span> <b>grid</b>
2584 <dd>property grid? (check could be store)</dd>
2587 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
2593 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>newval</b>
2599 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldval</b>
2620 <td class="msource">
2621 Roo.grid.PropertyGrid
2625 <tr class="method-row expandable config-row-alt1">
2626 <td class="micon"><a class="exi" href="#expand"> </a></td>
2629 <a id="Roo.grid.Grid-event-*bodyscroll"></a>
2631 <div class="fixedFont">
2632 <b class="itemname">bodyscroll</b> (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>scrollLeft</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>scrollTop</i></B>)
2638 <div class="short">Fires when the body element is scrolled
2644 Fires when the body element is scrolled
2650 <dl class="detailList">
2651 <dt class="heading">Parameters:</dt>
2654 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>scrollLeft</b>
2660 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>scrollTop</b>
2681 <td class="msource">
2682 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2686 <tr class="method-row expandable config-row-alt0">
2687 <td class="micon"><a class="exi" href="#expand"> </a></td>
2690 <a id="Roo.grid.Grid-event-*cellclick"></a>
2692 <div class="fixedFont">
2693 <b class="itemname">cellclick</b> (Grid <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rowIndex</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>columnIndex</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
2699 <div class="short">Fires when a cell is clicked
2705 Fires when a cell is clicked
2711 <dl class="detailList">
2712 <dt class="heading">Parameters:</dt>
2715 <span class="fixedFont">Grid</span> <b>this</b>
2721 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2727 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2733 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2754 <td class="msource">
2755 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2759 <tr class="method-row expandable config-row-alt1">
2760 <td class="micon"><a class="exi" href="#expand"> </a></td>
2763 <a id="Roo.grid.Grid-event-*cellcontextmenu"></a>
2765 <div class="fixedFont">
2766 <b class="itemname">cellcontextmenu</b> (Grid <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rowIndex</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>cellIndex</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
2772 <div class="short">Fires when a cell is right clicked
2778 Fires when a cell is right clicked
2784 <dl class="detailList">
2785 <dt class="heading">Parameters:</dt>
2788 <span class="fixedFont">Grid</span> <b>this</b>
2794 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2800 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>cellIndex</b>
2806 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2827 <td class="msource">
2828 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2832 <tr class="method-row expandable config-row-alt0">
2833 <td class="micon"><a class="exi" href="#expand"> </a></td>
2836 <a id="Roo.grid.Grid-event-*celldblclick"></a>
2838 <div class="fixedFont">
2839 <b class="itemname">celldblclick</b> (Grid <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rowIndex</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>columnIndex</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
2845 <div class="short">Fires when a cell is double clicked
2851 Fires when a cell is double clicked
2857 <dl class="detailList">
2858 <dt class="heading">Parameters:</dt>
2861 <span class="fixedFont">Grid</span> <b>this</b>
2867 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2873 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2879 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2900 <td class="msource">
2901 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2905 <tr class="method-row expandable config-row-alt1">
2906 <td class="micon"><a class="exi" href="#expand"> </a></td>
2909 <a id="Roo.grid.Grid-event-*click"></a>
2911 <div class="fixedFont">
2912 <b class="itemname">click</b> (<a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
2918 <div class="short">The raw click event for the entire grid.
2924 The raw click event for the entire grid.
2930 <dl class="detailList">
2931 <dt class="heading">Parameters:</dt>
2934 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2955 <td class="msource">
2956 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2960 <tr class="method-row expandable config-row-alt0">
2961 <td class="micon"><a class="exi" href="#expand"> </a></td>
2964 <a id="Roo.grid.Grid-event-*columnmove"></a>
2966 <div class="fixedFont">
2967 <b class="itemname">columnmove</b> (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>oldIndex</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>newIndex</i></B>)
2973 <div class="short">Fires when the user moves a column
2979 Fires when the user moves a column
2985 <dl class="detailList">
2986 <dt class="heading">Parameters:</dt>
2989 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>oldIndex</b>
2995 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newIndex</b>
3016 <td class="msource">
3017 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3021 <tr class="method-row expandable config-row-alt1">
3022 <td class="micon"><a class="exi" href="#expand"> </a></td>
3025 <a id="Roo.grid.Grid-event-*columnresize"></a>
3027 <div class="fixedFont">
3028 <b class="itemname">columnresize</b> (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>columnIndex</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>newSize</i></B>)
3034 <div class="short">Fires when the user resizes a column
3040 Fires when the user resizes a column
3046 <dl class="detailList">
3047 <dt class="heading">Parameters:</dt>
3050 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3056 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newSize</b>
3077 <td class="msource">
3078 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3082 <tr class="method-row expandable config-row-alt0">
3083 <td class="micon"><a class="exi" href="#expand"> </a></td>
3086 <a id="Roo.grid.Grid-event-*contextmenu"></a>
3088 <div class="fixedFont">
3089 <b class="itemname">contextmenu</b> (<a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3095 <div class="short">The raw contextmenu event for the entire grid.
3101 The raw contextmenu event for the entire grid.
3107 <dl class="detailList">
3108 <dt class="heading">Parameters:</dt>
3111 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3132 <td class="msource">
3133 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3137 <tr class="method-row expandable config-row-alt1">
3138 <td class="micon"><a class="exi" href="#expand"> </a></td>
3141 <a id="Roo.grid.Grid-event-*dblclick"></a>
3143 <div class="fixedFont">
3144 <b class="itemname">dblclick</b> (<a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3150 <div class="short">The raw dblclick event for the entire grid.
3156 The raw dblclick event for the entire grid.
3162 <dl class="detailList">
3163 <dt class="heading">Parameters:</dt>
3166 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3187 <td class="msource">
3188 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3192 <tr class="method-row expandable config-row-alt0">
3193 <td class="micon"><a class="exi" href="#expand"> </a></td>
3196 <a id="Roo.grid.Grid-event-*dragdrop"></a>
3198 <div class="fixedFont">
3199 <b class="itemname">dragdrop</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>targetId</i></B>, event <B><i>e</i></B>)
3205 <div class="short">Fires when dragged row(s) are dropped on a valid DD target
3211 Fires when dragged row(s) are dropped on a valid DD target
3217 <dl class="detailList">
3218 <dt class="heading">Parameters:</dt>
3221 <span class="fixedFont">Grid</span> <b>this</b>
3227 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3230 <dd>The drag drop object</dd>
3233 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3236 <dd>The target drag drop object</dd>
3239 <span class="fixedFont">event</span> <b>e</b>
3242 <dd>The raw browser event</dd>
3260 <td class="msource">
3261 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3265 <tr class="method-row expandable config-row-alt1">
3266 <td class="micon"><a class="exi" href="#expand"> </a></td>
3269 <a id="Roo.grid.Grid-event-*dragenter
3270 Fires when the dragged row(s) first cross another DD target while being dragged"></a>
3272 <div class="fixedFont">
3273 <b class="itemname">dragenter
3274 Fires when the dragged row(s) first cross another DD target while being dragged</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>targetId</i></B>, event <B><i>e</i></B>)
3292 <dl class="detailList">
3293 <dt class="heading">Parameters:</dt>
3296 <span class="fixedFont">Grid</span> <b>this</b>
3302 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3305 <dd>The drag drop object</dd>
3308 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3311 <dd>The target drag drop object</dd>
3314 <span class="fixedFont">event</span> <b>e</b>
3317 <dd>The raw browser event</dd>
3335 <td class="msource">
3336 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3340 <tr class="method-row expandable config-row-alt0">
3341 <td class="micon"><a class="exi" href="#expand"> </a></td>
3344 <a id="Roo.grid.Grid-event-*dragout"></a>
3346 <div class="fixedFont">
3347 <b class="itemname">dragout</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>targetId</i></B>, event <B><i>e</i></B>)
3353 <div class="short">Fires when the dragged row(s) leave another DD target while being dragged
3359 Fires when the dragged row(s) leave another DD target while being dragged
3365 <dl class="detailList">
3366 <dt class="heading">Parameters:</dt>
3369 <span class="fixedFont">Grid</span> <b>this</b>
3375 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3378 <dd>The drag drop object</dd>
3381 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3384 <dd>The target drag drop object</dd>
3387 <span class="fixedFont">event</span> <b>e</b>
3390 <dd>The raw browser event</dd>
3408 <td class="msource">
3409 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3413 <tr class="method-row expandable config-row-alt1">
3414 <td class="micon"><a class="exi" href="#expand"> </a></td>
3417 <a id="Roo.grid.Grid-event-*dragover"></a>
3419 <div class="fixedFont">
3420 <b class="itemname">dragover</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>targetId</i></B>, event <B><i>e</i></B>)
3426 <div class="short">Fires while row(s) are being dragged.
3432 Fires while row(s) are being dragged. "targetId" is the id of the Yahoo.util.DD object the selected rows are being dragged over.
3438 <dl class="detailList">
3439 <dt class="heading">Parameters:</dt>
3442 <span class="fixedFont">Grid</span> <b>this</b>
3448 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3451 <dd>The drag drop object</dd>
3454 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3457 <dd>The target drag drop object</dd>
3460 <span class="fixedFont">event</span> <b>e</b>
3463 <dd>The raw browser event</dd>
3481 <td class="msource">
3482 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3486 <tr class="method-row expandable config-row-alt0">
3487 <td class="micon"><a class="exi" href="#expand"> </a></td>
3490 <a id="Roo.grid.Grid-event-*enddrag"></a>
3492 <div class="fixedFont">
3493 <b class="itemname">enddrag</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, event <B><i>e</i></B>)
3499 <div class="short">Fires when a drag operation is complete
3505 Fires when a drag operation is complete
3511 <dl class="detailList">
3512 <dt class="heading">Parameters:</dt>
3515 <span class="fixedFont">Grid</span> <b>this</b>
3521 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3524 <dd>The drag drop object</dd>
3527 <span class="fixedFont">event</span> <b>e</b>
3530 <dd>The raw browser event</dd>
3548 <td class="msource">
3549 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3553 <tr class="method-row expandable config-row-alt1">
3554 <td class="micon"><a class="exi" href="#expand"> </a></td>
3557 <a id="Roo.grid.Grid-event-*headerclick"></a>
3559 <div class="fixedFont">
3560 <b class="itemname">headerclick</b> (Grid <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>columnIndex</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3566 <div class="short">Fires when a header is clicked
3572 Fires when a header is clicked
3578 <dl class="detailList">
3579 <dt class="heading">Parameters:</dt>
3582 <span class="fixedFont">Grid</span> <b>this</b>
3588 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3594 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3615 <td class="msource">
3616 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3620 <tr class="method-row expandable config-row-alt0">
3621 <td class="micon"><a class="exi" href="#expand"> </a></td>
3624 <a id="Roo.grid.Grid-event-*headercontextmenu"></a>
3626 <div class="fixedFont">
3627 <b class="itemname">headercontextmenu</b> (Grid <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>columnIndex</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3633 <div class="short">Fires when a header is right clicked
3639 Fires when a header is right clicked
3645 <dl class="detailList">
3646 <dt class="heading">Parameters:</dt>
3649 <span class="fixedFont">Grid</span> <b>this</b>
3655 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3661 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3682 <td class="msource">
3683 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3687 <tr class="method-row expandable config-row-alt1">
3688 <td class="micon"><a class="exi" href="#expand"> </a></td>
3691 <a id="Roo.grid.Grid-event-*headerdblclick"></a>
3693 <div class="fixedFont">
3694 <b class="itemname">headerdblclick</b> (Grid <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>columnIndex</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3700 <div class="short">Fires when a header cell is double clicked
3706 Fires when a header cell is double clicked
3712 <dl class="detailList">
3713 <dt class="heading">Parameters:</dt>
3716 <span class="fixedFont">Grid</span> <b>this</b>
3722 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3728 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3749 <td class="msource">
3750 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3754 <tr class="method-row expandable config-row-alt0">
3755 <td class="micon"><a class="exi" href="#expand"> </a></td>
3758 <a id="Roo.grid.Grid-event-*keydown"></a>
3760 <div class="fixedFont">
3761 <b class="itemname">keydown</b> (<a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3767 <div class="short">The raw keydown event for the entire grid.
3773 The raw keydown event for the entire grid.
3779 <dl class="detailList">
3780 <dt class="heading">Parameters:</dt>
3783 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3804 <td class="msource">
3805 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3809 <tr class="method-row expandable config-row-alt1">
3810 <td class="micon"><a class="exi" href="#expand"> </a></td>
3813 <a id="Roo.grid.Grid-event-*keypress"></a>
3815 <div class="fixedFont">
3816 <b class="itemname">keypress</b> (<a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3822 <div class="short">The raw keypress event for the entire grid.
3828 The raw keypress event for the entire grid.
3834 <dl class="detailList">
3835 <dt class="heading">Parameters:</dt>
3838 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3859 <td class="msource">
3860 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3864 <tr class="method-row expandable config-row-alt0">
3865 <td class="micon"><a class="exi" href="#expand"> </a></td>
3868 <a id="Roo.grid.Grid-event-*mousedown"></a>
3870 <div class="fixedFont">
3871 <b class="itemname">mousedown</b> (<a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3877 <div class="short">The raw mousedown event for the entire grid.
3883 The raw mousedown event for the entire grid.
3889 <dl class="detailList">
3890 <dt class="heading">Parameters:</dt>
3893 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3914 <td class="msource">
3915 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3919 <tr class="method-row expandable config-row-alt1">
3920 <td class="micon"><a class="exi" href="#expand"> </a></td>
3923 <a id="Roo.grid.Grid-event-*mouseout"></a>
3925 <div class="fixedFont">
3926 <b class="itemname">mouseout</b> (<a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3932 <div class="short">The raw mouseout event for the entire grid.
3938 The raw mouseout event for the entire grid.
3944 <dl class="detailList">
3945 <dt class="heading">Parameters:</dt>
3948 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3969 <td class="msource">
3970 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3974 <tr class="method-row expandable config-row-alt0">
3975 <td class="micon"><a class="exi" href="#expand"> </a></td>
3978 <a id="Roo.grid.Grid-event-*mouseover"></a>
3980 <div class="fixedFont">
3981 <b class="itemname">mouseover</b> (<a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
3987 <div class="short">The raw mouseover event for the entire grid.
3993 The raw mouseover event for the entire grid.
3999 <dl class="detailList">
4000 <dt class="heading">Parameters:</dt>
4003 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4024 <td class="msource">
4025 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4029 <tr class="method-row expandable config-row-alt1">
4030 <td class="micon"><a class="exi" href="#expand"> </a></td>
4033 <a id="Roo.grid.Grid-event-*mouseup"></a>
4035 <div class="fixedFont">
4036 <b class="itemname">mouseup</b> (<a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
4042 <div class="short">The raw mouseup event for the entire grid.
4048 The raw mouseup event for the entire grid.
4054 <dl class="detailList">
4055 <dt class="heading">Parameters:</dt>
4058 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4079 <td class="msource">
4080 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4084 <tr class="method-row expandable config-row-alt0 notInherited">
4085 <td class="micon"><a class="exi" href="#expand"> </a></td>
4088 <a id="Roo.grid.PropertyGrid-event-*propertychange"></a>
4090 <div class="fixedFont">
4091 <b class="itemname">propertychange</b> (<a href="./Roo.grid.PropertyGrid.html#constructor" roo:cls="Roo.grid.PropertyGrid.html#constructor">Roo.grid.PropertyGrid</a> <B><i>grid</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>newval</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>oldval</i></B>)
4097 <div class="short">Fires after a property changes
4103 Fires after a property changes
4109 <dl class="detailList">
4110 <dt class="heading">Parameters:</dt>
4113 <span class="fixedFont"><a href="./Roo.grid.PropertyGrid.html#constructor" roo:cls="Roo.grid.PropertyGrid.html#constructor">Roo.grid.PropertyGrid</a></span> <b>grid</b>
4116 <dd>property grid? (check could be store)</dd>
4119 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
4125 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>newval</b>
4131 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldval</b>
4152 <td class="msource">
4153 Roo.grid.PropertyGrid
4157 <tr class="method-row expandable config-row-alt1">
4158 <td class="micon"><a class="exi" href="#expand"> </a></td>
4161 <a id="Roo.grid.Grid-event-*render"></a>
4163 <div class="fixedFont">
4164 <b class="itemname">render</b> (Grid <B><i>grid</i></B>)
4170 <div class="short">Fires when the grid is rendered
4176 Fires when the grid is rendered
4182 <dl class="detailList">
4183 <dt class="heading">Parameters:</dt>
4186 <span class="fixedFont">Grid</span> <b>grid</b>
4207 <td class="msource">
4208 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4212 <tr class="method-row expandable config-row-alt0">
4213 <td class="micon"><a class="exi" href="#expand"> </a></td>
4216 <a id="Roo.grid.Grid-event-*rowclick"></a>
4218 <div class="fixedFont">
4219 <b class="itemname">rowclick</b> (Grid <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rowIndex</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
4225 <div class="short">Fires when a row is clicked
4231 Fires when a row is clicked
4237 <dl class="detailList">
4238 <dt class="heading">Parameters:</dt>
4241 <span class="fixedFont">Grid</span> <b>this</b>
4247 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4253 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4274 <td class="msource">
4275 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4279 <tr class="method-row expandable config-row-alt1">
4280 <td class="micon"><a class="exi" href="#expand"> </a></td>
4283 <a id="Roo.grid.Grid-event-*rowcontextmenu"></a>
4285 <div class="fixedFont">
4286 <b class="itemname">rowcontextmenu</b> (Grid <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rowIndex</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
4292 <div class="short">Fires when a row is right clicked
4298 Fires when a row is right clicked
4304 <dl class="detailList">
4305 <dt class="heading">Parameters:</dt>
4308 <span class="fixedFont">Grid</span> <b>this</b>
4314 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4320 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4341 <td class="msource">
4342 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4346 <tr class="method-row expandable config-row-alt0">
4347 <td class="micon"><a class="exi" href="#expand"> </a></td>
4350 <a id="Roo.grid.Grid-event-*rowdblclick"></a>
4352 <div class="fixedFont">
4353 <b class="itemname">rowdblclick</b> (Grid <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rowIndex</i></B>, <a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a> <B><i>e</i></B>)
4359 <div class="short">Fires when a row is double clicked
4365 Fires when a row is double clicked
4371 <dl class="detailList">
4372 <dt class="heading">Parameters:</dt>
4375 <span class="fixedFont">Grid</span> <b>this</b>
4381 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4387 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4408 <td class="msource">
4409 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4413 <tr class="method-row expandable config-row-alt1">
4414 <td class="micon"><a class="exi" href="#expand"> </a></td>
4417 <a id="Roo.grid.Grid-event-*startdrag"></a>
4419 <div class="fixedFont">
4420 <b class="itemname">startdrag</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, event <B><i>e</i></B>)
4426 <div class="short">Fires when row(s) start being dragged
4432 Fires when row(s) start being dragged
4438 <dl class="detailList">
4439 <dt class="heading">Parameters:</dt>
4442 <span class="fixedFont">Grid</span> <b>this</b>
4448 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
4451 <dd>The drag drop object</dd>
4454 <span class="fixedFont">event</span> <b>e</b>
4457 <dd>The raw browser event</dd>
4475 <td class="msource">
4476 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4480 <tr class="method-row expandable config-row-alt0">
4481 <td class="micon"><a class="exi" href="#expand"> </a></td>
4484 <a id="Roo.grid.EditorGrid-event-*validateedit"></a>
4486 <div class="fixedFont">
4487 <b class="itemname">validateedit</b> (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>e</i></B>)
4493 <div class="short">Fires after a cell is edited, but before the value is set in the record.
4499 Fires after a cell is edited, but before the value is set in the record. <br/>You can use this to modify the value being set in the field, Return false<br/>to cancel the change. The edit event object has the following properties <br /><br/><ul style="padding:5px;padding-left:16px;"><br/><li>editor - This editor</li><br/><li>grid - This grid</li><br/><li>record - The record being edited</li><br/><li>field - The field name being edited</li><br/><li>value - The value being set</li><br/><li>originalValue - The original value for the field, before the edit.</li><br/><li>row - The grid row index</li><br/><li>column - The grid column index</li><br/><li>cancel - Set this to true to cancel the edit or return false from your handler.</li><br/></ul>
4505 <dl class="detailList">
4506 <dt class="heading">Parameters:</dt>
4509 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>e</b>
4512 <dd>An edit event (see above for description)</dd>
4530 <td class="msource">
4531 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
4542 <!-- ============================== footer ================================= -->
4543 <div class="fineprint" style="clear:both">
4545 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Tue Jul 27 2010 11:08:34 GMT+0800 (HKT)
4547 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>