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-ddGroup" name=".ddGroup"></a>
404 <div class="fixedFont">
405 <b class="itemname">ddGroup</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
411 <div class="short">- drag drop group.</div>
415 <div class="long">- drag drop group.</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-dropTarget" name=".dropTarget"></a>
434 <div class="fixedFont">
435 <b class="itemname">dropTarget</b> : <a href="./Roo.dd.DropTarget.html#constructor" roo:cls="Roo.dd.DropTarget.html#constructor">Roo.dd.DropTarget</a>
441 <div class="short">An {<b>link</b> Roo.dd.DropTarget} config</div>
445 <div class="long">An {<b>link</b> Roo.dd.DropTarget} config</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-enableColumnHide" name=".enableColumnHide"></a>
464 <div class="fixedFont">
465 <b class="itemname">enableColumnHide</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 hiding of columns with the header context menu.</div>
475 <div class="long">True to enable hiding of columns with the header context menu. Default is true.</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-enableColumnMove" name=".enableColumnMove"></a>
494 <div class="fixedFont">
495 <b class="itemname">enableColumnMove</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 enable drag and drop reorder of columns.</div>
505 <div class="long">True to enable drag and drop reorder of columns. Default is true.</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.grid.Grid-cfg-enableDrag" name=".enableDrag"></a>
524 <div class="fixedFont">
525 <b class="itemname">enableDrag</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 enable drag of rows.</div>
535 <div class="long">True to enable drag of rows. Default is false. (double check if this is needed?)</div>
543 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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-enableDragDrop" name=".enableDragDrop"></a>
554 <div class="fixedFont">
555 <b class="itemname">enableDragDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
561 <div class="short">True to enable drag and drop of rows.</div>
565 <div class="long">True to enable drag and drop of rows. 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-enableRowHeightSync" name=".enableRowHeightSync"></a>
584 <div class="fixedFont">
585 <b class="itemname">enableRowHeightSync</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 manually sync row heights across locked and not locked rows.</div>
595 <div class="long">True to manually sync row heights across locked and not locked rows. Default is false.</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.util.Observable-cfg-listeners" name=".listeners"></a>
614 <div class="fixedFont">
615 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
621 <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>
625 <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>
633 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</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-loadMask" name=".loadMask"></a>
644 <div class="fixedFont">
645 <b class="itemname">loadMask</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
651 <div class="short">An {<b>link</b> Roo.LoadMask} config or true to mask the grid while loading.</div>
655 <div class="long">An {<b>link</b> Roo.LoadMask} config or true to mask the grid while loading. Default is false.</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-maxHeight" name=".maxHeight"></a>
674 <div class="fixedFont">
675 <b class="itemname">maxHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
681 <div class="short">Sets the maximum height of the grid - ignored if autoHeight is not on.</div>
685 <div class="long">Sets the maximum height of the grid - ignored if autoHeight is not on.</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">
700 <td class="micon"><a class="exi" href="#expand"> </a></td>
703 <a id="Roo.grid.Grid-cfg-maxRowsToMeasure" name=".maxRowsToMeasure"></a>
704 <div class="fixedFont">
705 <b class="itemname">maxRowsToMeasure</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
711 <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>
715 <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>
723 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
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-minColumnWidth" name=".minColumnWidth"></a>
734 <div class="fixedFont">
735 <b class="itemname">minColumnWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
741 <div class="short">The minimum width a column can be resized to.</div>
745 <div class="long">The minimum width a column can be resized to. Default is 25.</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-monitorWindowResize" name=".monitorWindowResize"></a>
764 <div class="fixedFont">
765 <b class="itemname">monitorWindowResize</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 autoSize the grid when the window resizes.</div>
775 <div class="long">True to autoSize the grid when the window resizes. 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 notInherited">
790 <td class="micon"><a class="exi" href="#expand"> </a></td>
793 <a id="Roo.grid.PropertyGrid-cfg-propertyNames" name=".propertyNames"></a>
794 <div class="fixedFont">
795 <b class="itemname">propertyNames</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
801 <div class="short">map of property Names to their displayed value</div>
805 <div class="long">map of property Names to their displayed value</div>
813 Roo.grid.PropertyGrid
819 <tr class="config-row expandable config-row-alt1">
820 <td class="micon"><a class="exi" href="#expand"> </a></td>
823 <a id="Roo.grid.Grid-cfg-stripeRows" name=".stripeRows"></a>
824 <div class="fixedFont">
825 <b class="itemname">stripeRows</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
831 <div class="short">True to stripe the rows.</div>
835 <div class="long">True to stripe the rows. Default is true.</div>
843 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
849 <tr class="config-row expandable config-row-alt0">
850 <td class="micon"><a class="exi" href="#expand"> </a></td>
853 <a id="Roo.grid.Grid-cfg-trackMouseOver" name=".trackMouseOver"></a>
854 <div class="fixedFont">
855 <b class="itemname">trackMouseOver</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
861 <div class="short">True to highlight rows when the mouse is over.</div>
865 <div class="long">True to highlight rows when the mouse is over. Default is true.</div>
873 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
879 <tr class="config-row expandable config-row-alt1">
880 <td class="micon"><a class="exi" href="#expand"> </a></td>
883 <a id="Roo.grid.Grid-cfg-view" name=".view"></a>
884 <div class="fixedFont">
885 <b class="itemname">view</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
891 <div class="short">The {<b>link</b> Roo.grid.GridView} used by the grid.</div>
895 <div class="long">The {<b>link</b> Roo.grid.GridView} used by the grid. This can be set before a call to render().</div>
903 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
919 <!-- ============================== public properties ==================== -->
923 <a id="Roo.grid.PropertyGrid-props"></a>
929 <table cellspacing="0" class="member-table">
930 <caption class="Empty">Public Properties - Has None</caption>
936 <!-- ============================== methods summary / details ======================== -->
939 <a id="Roo.grid.PropertyGrid-methods"></a>
940 <!-- constructor?? -->
947 <!-- then dynamics first -->
954 <table cellspacing="0" class="member-table">
955 <caption>Public Methods</caption>
957 <th class="sig-header" colspan="2">Method</th>
958 <th class="msource-header">Defined By</th>
968 <tr class="method-row config-row-alt0 expandable notInherited">
969 <td class="micon"><a class="exi" href="#expand"> </a></td>
973 <a id="Roo.grid-method-PropertyGrid" name=".PropertyGrid"></a>
974 <div class="fixedFont">
975 <span class="attributes">new <B>Roo.grid.</B></span><b class="itemname">PropertyGrid</b>
977 (<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>)
985 <div class="short">Create a new Roo.grid.PropertyGrid</div>
992 Create a new Roo.grid.PropertyGrid
995 <dl class="detailList">
996 <dt class="heading">Parameters:</dt>
999 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>container</b>
1002 <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>
1005 <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>
1008 <dd>A config object that sets properties on this grid.</dd>
1026 <td class="msource">
1032 <tr class="method-row config-row-alt1 expandable">
1033 <td class="micon"><a class="exi" href="#expand"> </a></td>
1037 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1038 <div class="fixedFont">
1039 <span class="attributes"></span><b class="itemname">addEvents</b>
1041 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1048 <div class="short">Used to define events on this Observable</div>
1054 Used to define events on this Observable
1061 <dl class="detailList">
1062 <dt class="heading">Parameters:</dt>
1065 <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>
1068 <dd>The object with the events defined</dd>
1086 <td class="msource">
1088 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1094 <tr class="method-row config-row-alt0 expandable">
1095 <td class="micon"><a class="exi" href="#expand"> </a></td>
1099 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1100 <div class="fixedFont">
1101 <span class="attributes"></span><b class="itemname">addListener</b>
1103 (<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>)
1110 <div class="short">Appends an event handler to this component</div>
1116 Appends an event handler to this component
1123 <dl class="detailList">
1124 <dt class="heading">Parameters:</dt>
1127 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1130 <dd>The type of event to listen for</dd>
1133 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1136 <dd>The method the event invokes</dd>
1139 <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>
1142 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1145 <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>
1148 <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>
1166 <td class="msource">
1168 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1174 <tr class="method-row config-row-alt1 expandable">
1175 <td class="micon"><a class="exi" href="#expand"> </a></td>
1179 <a id="Roo.grid.Grid-method-autoSize" name=".autoSize"></a>
1180 <div class="fixedFont">
1181 <span class="attributes"></span><b class="itemname">autoSize</b>
1190 <div class="short">Causes the grid to manually recalculate its dimensions.</div>
1196 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.
1217 <td class="msource">
1219 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1225 <tr class="method-row config-row-alt0 expandable">
1226 <td class="micon"><a class="exi" href="#expand"> </a></td>
1230 <a id="Roo.grid.Grid-method-destroy" name=".destroy"></a>
1231 <div class="fixedFont">
1232 <span class="attributes"></span><b class="itemname">destroy</b>
1234 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
1241 <div class="short">Destroy this grid.</div>
1254 <dl class="detailList">
1255 <dt class="heading">Parameters:</dt>
1258 <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>
1261 <dd>True to remove the element</dd>
1279 <td class="msource">
1281 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1287 <tr class="method-row config-row-alt1 expandable">
1288 <td class="micon"><a class="exi" href="#expand"> </a></td>
1292 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1293 <div class="fixedFont">
1294 <span class="attributes"></span><b class="itemname">fireEvent</b>
1296 (<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>)
1302 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1311 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1317 Fires the specified event with the passed parameters (minus the event name).
1324 <dl class="detailList">
1325 <dt class="heading">Parameters:</dt>
1328 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1334 <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>
1337 <dd>Variable number of parameters are passed to handlers</dd>
1345 <dl class="detailList">
1346 <dt class="heading">Returns:</dt>
1348 <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>
1362 <td class="msource">
1364 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1370 <tr class="method-row config-row-alt0 expandable">
1371 <td class="micon"><a class="exi" href="#expand"> </a></td>
1375 <a id="Roo.grid.Grid-method-getColumnModel" name=".getColumnModel"></a>
1376 <div class="fixedFont">
1377 <span class="attributes"></span><b class="itemname">getColumnModel</b>
1394 <div class="short">Returns the grid's ColumnModel.</div>
1400 Returns the grid's ColumnModel.
1411 <dl class="detailList">
1412 <dt class="heading">Returns:</dt>
1414 <dd><span class="fixedFont">ColumnModel</span> </dd>
1428 <td class="msource">
1430 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1436 <tr class="method-row config-row-alt1 expandable">
1437 <td class="micon"><a class="exi" href="#expand"> </a></td>
1441 <a id="Roo.grid.Grid-method-getDataSource" name=".getDataSource"></a>
1442 <div class="fixedFont">
1443 <span class="attributes"></span><b class="itemname">getDataSource</b>
1460 <div class="short">Returns the grid's DataSource.</div>
1466 Returns the grid's DataSource.
1477 <dl class="detailList">
1478 <dt class="heading">Returns:</dt>
1480 <dd><span class="fixedFont">DataSource</span> </dd>
1494 <td class="msource">
1496 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1502 <tr class="method-row config-row-alt0 expandable">
1503 <td class="micon"><a class="exi" href="#expand"> </a></td>
1507 <a id="Roo.grid.EditorGrid-method-getDragDropText" name=".getDragDropText"></a>
1508 <div class="fixedFont">
1509 <span class="attributes"></span><b class="itemname">getDragDropText</b>
1517 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1526 <div class="short">Called to get grid's drag proxy text, by default returns this.ddText.</div>
1532 Called to get grid's drag proxy text, by default returns this.ddText.
1543 <dl class="detailList">
1544 <dt class="heading">Returns:</dt>
1546 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1560 <td class="msource">
1562 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
1568 <tr class="method-row config-row-alt1 expandable">
1569 <td class="micon"><a class="exi" href="#expand"> </a></td>
1573 <a id="Roo.grid.Grid-method-getGridEl" name=".getGridEl"></a>
1574 <div class="fixedFont">
1575 <span class="attributes"></span><b class="itemname">getGridEl</b>
1592 <div class="short">Returns the grid's underlying element.</div>
1598 Returns the grid's underlying element.
1609 <dl class="detailList">
1610 <dt class="heading">Returns:</dt>
1612 <dd><span class="fixedFont">Element</span> The element</dd>
1626 <td class="msource">
1628 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1634 <tr class="method-row config-row-alt0 expandable">
1635 <td class="micon"><a class="exi" href="#expand"> </a></td>
1639 <a id="Roo.grid.Grid-method-getSelectionModel" name=".getSelectionModel"></a>
1640 <div class="fixedFont">
1641 <span class="attributes"></span><b class="itemname">getSelectionModel</b>
1658 <div class="short">Returns the grid's SelectionModel.</div>
1664 Returns the grid's SelectionModel.
1675 <dl class="detailList">
1676 <dt class="heading">Returns:</dt>
1678 <dd><span class="fixedFont">SelectionModel</span> </dd>
1692 <td class="msource">
1694 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1700 <tr class="method-row config-row-alt1 expandable notInherited">
1701 <td class="micon"><a class="exi" href="#expand"> </a></td>
1705 <a id="Roo.grid.PropertyGrid-method-getSource" name=".getSource"></a>
1706 <div class="fixedFont">
1707 <span class="attributes"></span><b class="itemname">getSource</b>
1715 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1724 <div class="short">Gets all the data from the grid.</div>
1730 Gets all the data from the grid.
1741 <dl class="detailList">
1742 <dt class="heading">Returns:</dt>
1744 <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>
1758 <td class="msource">
1760 Roo.grid.PropertyGrid
1766 <tr class="method-row config-row-alt0 expandable">
1767 <td class="micon"><a class="exi" href="#expand"> </a></td>
1771 <a id="Roo.grid.Grid-method-getView" name=".getView"></a>
1772 <div class="fixedFont">
1773 <span class="attributes"></span><b class="itemname">getView</b>
1790 <div class="short">Returns the grid's GridView object.</div>
1796 Returns the grid's GridView object.
1807 <dl class="detailList">
1808 <dt class="heading">Returns:</dt>
1810 <dd><span class="fixedFont">GridView</span> </dd>
1824 <td class="msource">
1826 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1832 <tr class="method-row config-row-alt1 expandable">
1833 <td class="micon"><a class="exi" href="#expand"> </a></td>
1837 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1838 <div class="fixedFont">
1839 <span class="attributes"></span><b class="itemname">hasListener</b>
1841 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1847 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1856 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1862 Checks to see if this object has any listeners for a specified event
1869 <dl class="detailList">
1870 <dt class="heading">Parameters:</dt>
1873 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1876 <dd>The name of the event to check for</dd>
1884 <dl class="detailList">
1885 <dt class="heading">Returns:</dt>
1887 <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>
1901 <td class="msource">
1903 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1909 <tr class="method-row config-row-alt0 expandable">
1910 <td class="micon"><a class="exi" href="#expand"> </a></td>
1914 <a id="Roo.util.Observable-method-on" name=".on"></a>
1915 <div class="fixedFont">
1916 <span class="attributes"></span><b class="itemname">on</b>
1918 (<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>)
1925 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1931 Appends an event handler to this element (shorthand for addListener)
1938 <dl class="detailList">
1939 <dt class="heading">Parameters:</dt>
1942 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1945 <dd>The type of event to listen for</dd>
1948 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1951 <dd>The method the event invokes</dd>
1954 <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>
1957 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1960 <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>
1981 <td class="msource">
1983 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1989 <tr class="method-row config-row-alt1 expandable">
1990 <td class="micon"><a class="exi" href="#expand"> </a></td>
1994 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1995 <div class="fixedFont">
1996 <span class="attributes"></span><b class="itemname">purgeListeners</b>
2005 <div class="short">Removes all listeners for this object</div>
2011 Removes all listeners for this object
2032 <td class="msource">
2034 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2040 <tr class="method-row config-row-alt0 expandable">
2041 <td class="micon"><a class="exi" href="#expand"> </a></td>
2045 <a id="Roo.grid.Grid-method-reconfigure" name=".reconfigure"></a>
2046 <div class="fixedFont">
2047 <span class="attributes"></span><b class="itemname">reconfigure</b>
2049 (<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>)
2056 <div class="short">Reconfigures the grid to use a different Store and Column Model.</div>
2062 Reconfigures the grid to use a different Store and Column Model.<br/>The View will be bound to the new objects and refreshed.
2069 <dl class="detailList">
2070 <dt class="heading">Parameters:</dt>
2073 <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>
2076 <dd>The new {<b>link</b> Roo.data.Store} object</dd>
2079 <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>
2082 <dd>new {<b>link</b> Roo.grid.ColumnModel} object</dd>
2100 <td class="msource">
2102 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2108 <tr class="method-row config-row-alt1 expandable">
2109 <td class="micon"><a class="exi" href="#expand"> </a></td>
2113 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
2114 <div class="fixedFont">
2115 <span class="attributes"></span><b class="itemname">removeListener</b>
2117 (<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>)
2124 <div class="short">Removes a listener</div>
2137 <dl class="detailList">
2138 <dt class="heading">Parameters:</dt>
2141 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2144 <dd>The type of event to listen for</dd>
2147 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2150 <dd>The handler to remove</dd>
2153 <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>
2156 <dd>(optional) The scope (this object) for the handler</dd>
2174 <td class="msource">
2176 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2182 <tr class="method-row config-row-alt0 expandable">
2183 <td class="micon"><a class="exi" href="#expand"> </a></td>
2187 <a id="Roo.grid.Grid-method-render" name=".render"></a>
2188 <div class="fixedFont">
2189 <span class="attributes"></span><b class="itemname">render</b>
2197 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2206 <div class="short">Called once after all setup has been completed and the grid is ready to be rendered.</div>
2212 Called once after all setup has been completed and the grid is ready to be rendered.
2223 <dl class="detailList">
2224 <dt class="heading">Returns:</dt>
2226 <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>
2240 <td class="msource">
2242 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2248 <tr class="method-row config-row-alt1 expandable notInherited">
2249 <td class="micon"><a class="exi" href="#expand"> </a></td>
2253 <a id="Roo.grid.PropertyGrid-method-setSource" name=".setSource"></a>
2254 <div class="fixedFont">
2255 <span class="attributes"></span><b class="itemname">setSource</b>
2257 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>data</i></B>)
2264 <div class="short">Sets the data for the Grid<br/>accepts a Key => Value object of all the elements avaiable.</div>
2270 Sets the data for the Grid<br/>accepts a Key => Value object of all the elements avaiable.
2277 <dl class="detailList">
2278 <dt class="heading">Parameters:</dt>
2281 <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>
2284 <dd>to appear in grid.</dd>
2302 <td class="msource">
2304 Roo.grid.PropertyGrid
2310 <tr class="method-row config-row-alt0 expandable">
2311 <td class="micon"><a class="exi" href="#expand"> </a></td>
2315 <a id="Roo.grid.EditorGrid-method-startEditing" name=".startEditing"></a>
2316 <div class="fixedFont">
2317 <span class="attributes"></span><b class="itemname">startEditing</b>
2319 (<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>)
2326 <div class="short">Starts editing the specified for the specified row/column</div>
2332 Starts editing the specified for the specified row/column
2339 <dl class="detailList">
2340 <dt class="heading">Parameters:</dt>
2343 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2349 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>colIndex</b>
2370 <td class="msource">
2372 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
2378 <tr class="method-row config-row-alt1 expandable">
2379 <td class="micon"><a class="exi" href="#expand"> </a></td>
2383 <a id="Roo.grid.EditorGrid-method-stopEditing" name=".stopEditing"></a>
2384 <div class="fixedFont">
2385 <span class="attributes"></span><b class="itemname">stopEditing</b>
2394 <div class="short">Stops any active editing</div>
2400 Stops any active editing
2421 <td class="msource">
2423 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
2429 <tr class="method-row config-row-alt0 expandable">
2430 <td class="micon"><a class="exi" href="#expand"> </a></td>
2434 <a id="Roo.util.Observable-method-un" name=".un"></a>
2435 <div class="fixedFont">
2436 <span class="attributes"></span><b class="itemname">un</b>
2438 (<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>)
2445 <div class="short">Removes a listener (shorthand for removeListener)</div>
2451 Removes a listener (shorthand for removeListener)
2458 <dl class="detailList">
2459 <dt class="heading">Parameters:</dt>
2462 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2465 <dd>The type of event to listen for</dd>
2468 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2471 <dd>The handler to remove</dd>
2474 <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>
2477 <dd>(optional) The scope (this object) for the handler</dd>
2495 <td class="msource">
2497 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2506 <!-- ============================== events summary / details ======================== -->
2509 <a id="Roo.grid.PropertyGrid-events"></a>
2518 <table cellspacing="0" class="member-table">
2519 <caption>Events</caption>
2522 <th class="sig-header" colspan="2">Event</th>
2523 <th class="msource-header">Defined By</th>
2532 <tr class="method-row expandable config-row-alt0">
2533 <td class="micon"><a class="exi" href="#expand"> </a></td>
2536 <a id="Roo.grid.EditorGrid-event-*afteredit"></a>
2538 <div class="fixedFont">
2539 <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>)
2545 <div class="short">Fires after a cell is edited.
2551 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>
2557 <dl class="detailList">
2558 <dt class="heading">Parameters:</dt>
2561 <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>
2564 <dd>An edit event (see above for description)</dd>
2582 <td class="msource">
2583 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
2587 <tr class="method-row expandable config-row-alt1">
2588 <td class="micon"><a class="exi" href="#expand"> </a></td>
2591 <a id="Roo.grid.EditorGrid-event-*beforeedit"></a>
2593 <div class="fixedFont">
2594 <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>)
2600 <div class="short">Fires before cell editing is triggered.
2606 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>
2612 <dl class="detailList">
2613 <dt class="heading">Parameters:</dt>
2616 <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>
2619 <dd>An edit event (see above for description)</dd>
2637 <td class="msource">
2638 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
2642 <tr class="method-row expandable config-row-alt0 notInherited">
2643 <td class="micon"><a class="exi" href="#expand"> </a></td>
2646 <a id="Roo.grid.PropertyGrid-event-*beforepropertychange"></a>
2648 <div class="fixedFont">
2649 <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>)
2655 <div class="short">Fires before a property changes (return false to stop?)
2661 Fires before a property changes (return false to stop?)
2667 <dl class="detailList">
2668 <dt class="heading">Parameters:</dt>
2671 <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>
2674 <dd>property grid? (check could be store)</dd>
2677 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
2683 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>newval</b>
2689 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldval</b>
2710 <td class="msource">
2711 Roo.grid.PropertyGrid
2715 <tr class="method-row expandable config-row-alt1">
2716 <td class="micon"><a class="exi" href="#expand"> </a></td>
2719 <a id="Roo.grid.Grid-event-*bodyscroll"></a>
2721 <div class="fixedFont">
2722 <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>)
2728 <div class="short">Fires when the body element is scrolled
2734 Fires when the body element is scrolled
2740 <dl class="detailList">
2741 <dt class="heading">Parameters:</dt>
2744 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>scrollLeft</b>
2750 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>scrollTop</b>
2771 <td class="msource">
2772 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2776 <tr class="method-row expandable config-row-alt0">
2777 <td class="micon"><a class="exi" href="#expand"> </a></td>
2780 <a id="Roo.grid.Grid-event-*cellclick"></a>
2782 <div class="fixedFont">
2783 <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>)
2789 <div class="short">Fires when a cell is clicked
2795 Fires when a cell is clicked
2801 <dl class="detailList">
2802 <dt class="heading">Parameters:</dt>
2805 <span class="fixedFont">Grid</span> <b>this</b>
2811 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2817 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2823 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2844 <td class="msource">
2845 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2849 <tr class="method-row expandable config-row-alt1">
2850 <td class="micon"><a class="exi" href="#expand"> </a></td>
2853 <a id="Roo.grid.Grid-event-*cellcontextmenu"></a>
2855 <div class="fixedFont">
2856 <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>)
2862 <div class="short">Fires when a cell is right clicked
2868 Fires when a cell is right clicked
2874 <dl class="detailList">
2875 <dt class="heading">Parameters:</dt>
2878 <span class="fixedFont">Grid</span> <b>this</b>
2884 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2890 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>cellIndex</b>
2896 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2917 <td class="msource">
2918 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2922 <tr class="method-row expandable config-row-alt0">
2923 <td class="micon"><a class="exi" href="#expand"> </a></td>
2926 <a id="Roo.grid.Grid-event-*celldblclick"></a>
2928 <div class="fixedFont">
2929 <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>)
2935 <div class="short">Fires when a cell is double clicked
2941 Fires when a cell is double clicked
2947 <dl class="detailList">
2948 <dt class="heading">Parameters:</dt>
2951 <span class="fixedFont">Grid</span> <b>this</b>
2957 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2963 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2969 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2990 <td class="msource">
2991 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2995 <tr class="method-row expandable config-row-alt1">
2996 <td class="micon"><a class="exi" href="#expand"> </a></td>
2999 <a id="Roo.grid.Grid-event-*click"></a>
3001 <div class="fixedFont">
3002 <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>)
3008 <div class="short">The raw click event for the entire grid.
3014 The raw click event for the entire grid.
3020 <dl class="detailList">
3021 <dt class="heading">Parameters:</dt>
3024 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3045 <td class="msource">
3046 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3050 <tr class="method-row expandable config-row-alt0">
3051 <td class="micon"><a class="exi" href="#expand"> </a></td>
3054 <a id="Roo.grid.Grid-event-*columnmove"></a>
3056 <div class="fixedFont">
3057 <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>)
3063 <div class="short">Fires when the user moves a column
3069 Fires when the user moves a column
3075 <dl class="detailList">
3076 <dt class="heading">Parameters:</dt>
3079 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>oldIndex</b>
3085 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newIndex</b>
3106 <td class="msource">
3107 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3111 <tr class="method-row expandable config-row-alt1">
3112 <td class="micon"><a class="exi" href="#expand"> </a></td>
3115 <a id="Roo.grid.Grid-event-*columnresize"></a>
3117 <div class="fixedFont">
3118 <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>)
3124 <div class="short">Fires when the user resizes a column
3130 Fires when the user resizes a column
3136 <dl class="detailList">
3137 <dt class="heading">Parameters:</dt>
3140 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3146 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newSize</b>
3167 <td class="msource">
3168 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3172 <tr class="method-row expandable config-row-alt0">
3173 <td class="micon"><a class="exi" href="#expand"> </a></td>
3176 <a id="Roo.grid.Grid-event-*contextmenu"></a>
3178 <div class="fixedFont">
3179 <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>)
3185 <div class="short">The raw contextmenu event for the entire grid.
3191 The raw contextmenu event for the entire grid.
3197 <dl class="detailList">
3198 <dt class="heading">Parameters:</dt>
3201 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3222 <td class="msource">
3223 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3227 <tr class="method-row expandable config-row-alt1">
3228 <td class="micon"><a class="exi" href="#expand"> </a></td>
3231 <a id="Roo.grid.Grid-event-*dblclick"></a>
3233 <div class="fixedFont">
3234 <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>)
3240 <div class="short">The raw dblclick event for the entire grid.
3246 The raw dblclick event for the entire grid.
3252 <dl class="detailList">
3253 <dt class="heading">Parameters:</dt>
3256 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3277 <td class="msource">
3278 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3282 <tr class="method-row expandable config-row-alt0">
3283 <td class="micon"><a class="exi" href="#expand"> </a></td>
3286 <a id="Roo.grid.Grid-event-*dragdrop"></a>
3288 <div class="fixedFont">
3289 <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>)
3295 <div class="short">Fires when dragged row(s) are dropped on a valid DD target
3301 Fires when dragged row(s) are dropped on a valid DD target
3307 <dl class="detailList">
3308 <dt class="heading">Parameters:</dt>
3311 <span class="fixedFont">Grid</span> <b>this</b>
3317 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3320 <dd>The drag drop object</dd>
3323 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3326 <dd>The target drag drop object</dd>
3329 <span class="fixedFont">event</span> <b>e</b>
3332 <dd>The raw browser event</dd>
3350 <td class="msource">
3351 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3355 <tr class="method-row expandable config-row-alt1">
3356 <td class="micon"><a class="exi" href="#expand"> </a></td>
3359 <a id="Roo.grid.Grid-event-*dragenter
3360 Fires when the dragged row(s) first cross another DD target while being dragged"></a>
3362 <div class="fixedFont">
3363 <b class="itemname">dragenter
3364 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>)
3382 <dl class="detailList">
3383 <dt class="heading">Parameters:</dt>
3386 <span class="fixedFont">Grid</span> <b>this</b>
3392 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3395 <dd>The drag drop object</dd>
3398 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3401 <dd>The target drag drop object</dd>
3404 <span class="fixedFont">event</span> <b>e</b>
3407 <dd>The raw browser event</dd>
3425 <td class="msource">
3426 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3430 <tr class="method-row expandable config-row-alt0">
3431 <td class="micon"><a class="exi" href="#expand"> </a></td>
3434 <a id="Roo.grid.Grid-event-*dragout"></a>
3436 <div class="fixedFont">
3437 <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>)
3443 <div class="short">Fires when the dragged row(s) leave another DD target while being dragged
3449 Fires when the dragged row(s) leave another DD target while being dragged
3455 <dl class="detailList">
3456 <dt class="heading">Parameters:</dt>
3459 <span class="fixedFont">Grid</span> <b>this</b>
3465 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3468 <dd>The drag drop object</dd>
3471 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3474 <dd>The target drag drop object</dd>
3477 <span class="fixedFont">event</span> <b>e</b>
3480 <dd>The raw browser event</dd>
3498 <td class="msource">
3499 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3503 <tr class="method-row expandable config-row-alt1">
3504 <td class="micon"><a class="exi" href="#expand"> </a></td>
3507 <a id="Roo.grid.Grid-event-*dragover"></a>
3509 <div class="fixedFont">
3510 <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>)
3516 <div class="short">Fires while row(s) are being dragged.
3522 Fires while row(s) are being dragged. "targetId" is the id of the Yahoo.util.DD object the selected rows are being dragged over.
3528 <dl class="detailList">
3529 <dt class="heading">Parameters:</dt>
3532 <span class="fixedFont">Grid</span> <b>this</b>
3538 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3541 <dd>The drag drop object</dd>
3544 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3547 <dd>The target drag drop object</dd>
3550 <span class="fixedFont">event</span> <b>e</b>
3553 <dd>The raw browser event</dd>
3571 <td class="msource">
3572 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3576 <tr class="method-row expandable config-row-alt0">
3577 <td class="micon"><a class="exi" href="#expand"> </a></td>
3580 <a id="Roo.grid.Grid-event-*enddrag"></a>
3582 <div class="fixedFont">
3583 <b class="itemname">enddrag</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, event <B><i>e</i></B>)
3589 <div class="short">Fires when a drag operation is complete
3595 Fires when a drag operation is complete
3601 <dl class="detailList">
3602 <dt class="heading">Parameters:</dt>
3605 <span class="fixedFont">Grid</span> <b>this</b>
3611 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3614 <dd>The drag drop object</dd>
3617 <span class="fixedFont">event</span> <b>e</b>
3620 <dd>The raw browser event</dd>
3638 <td class="msource">
3639 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3643 <tr class="method-row expandable config-row-alt1">
3644 <td class="micon"><a class="exi" href="#expand"> </a></td>
3647 <a id="Roo.grid.Grid-event-*headerclick"></a>
3649 <div class="fixedFont">
3650 <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>)
3656 <div class="short">Fires when a header is clicked
3662 Fires when a header is clicked
3668 <dl class="detailList">
3669 <dt class="heading">Parameters:</dt>
3672 <span class="fixedFont">Grid</span> <b>this</b>
3678 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3684 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3705 <td class="msource">
3706 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3710 <tr class="method-row expandable config-row-alt0">
3711 <td class="micon"><a class="exi" href="#expand"> </a></td>
3714 <a id="Roo.grid.Grid-event-*headercontextmenu"></a>
3716 <div class="fixedFont">
3717 <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>)
3723 <div class="short">Fires when a header is right clicked
3729 Fires when a header is right clicked
3735 <dl class="detailList">
3736 <dt class="heading">Parameters:</dt>
3739 <span class="fixedFont">Grid</span> <b>this</b>
3745 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3751 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3772 <td class="msource">
3773 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3777 <tr class="method-row expandable config-row-alt1">
3778 <td class="micon"><a class="exi" href="#expand"> </a></td>
3781 <a id="Roo.grid.Grid-event-*headerdblclick"></a>
3783 <div class="fixedFont">
3784 <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>)
3790 <div class="short">Fires when a header cell is double clicked
3796 Fires when a header cell is double clicked
3802 <dl class="detailList">
3803 <dt class="heading">Parameters:</dt>
3806 <span class="fixedFont">Grid</span> <b>this</b>
3812 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3818 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3839 <td class="msource">
3840 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3844 <tr class="method-row expandable config-row-alt0">
3845 <td class="micon"><a class="exi" href="#expand"> </a></td>
3848 <a id="Roo.grid.Grid-event-*keydown"></a>
3850 <div class="fixedFont">
3851 <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>)
3857 <div class="short">The raw keydown event for the entire grid.
3863 The raw keydown event for the entire grid.
3869 <dl class="detailList">
3870 <dt class="heading">Parameters:</dt>
3873 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3894 <td class="msource">
3895 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3899 <tr class="method-row expandable config-row-alt1">
3900 <td class="micon"><a class="exi" href="#expand"> </a></td>
3903 <a id="Roo.grid.Grid-event-*keypress"></a>
3905 <div class="fixedFont">
3906 <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>)
3912 <div class="short">The raw keypress event for the entire grid.
3918 The raw keypress event for the entire grid.
3924 <dl class="detailList">
3925 <dt class="heading">Parameters:</dt>
3928 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3949 <td class="msource">
3950 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3954 <tr class="method-row expandable config-row-alt0">
3955 <td class="micon"><a class="exi" href="#expand"> </a></td>
3958 <a id="Roo.grid.Grid-event-*mousedown"></a>
3960 <div class="fixedFont">
3961 <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>)
3967 <div class="short">The raw mousedown event for the entire grid.
3973 The raw mousedown event for the entire grid.
3979 <dl class="detailList">
3980 <dt class="heading">Parameters:</dt>
3983 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4004 <td class="msource">
4005 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4009 <tr class="method-row expandable config-row-alt1">
4010 <td class="micon"><a class="exi" href="#expand"> </a></td>
4013 <a id="Roo.grid.Grid-event-*mouseout"></a>
4015 <div class="fixedFont">
4016 <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>)
4022 <div class="short">The raw mouseout event for the entire grid.
4028 The raw mouseout event for the entire grid.
4034 <dl class="detailList">
4035 <dt class="heading">Parameters:</dt>
4038 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4059 <td class="msource">
4060 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4064 <tr class="method-row expandable config-row-alt0">
4065 <td class="micon"><a class="exi" href="#expand"> </a></td>
4068 <a id="Roo.grid.Grid-event-*mouseover"></a>
4070 <div class="fixedFont">
4071 <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>)
4077 <div class="short">The raw mouseover event for the entire grid.
4083 The raw mouseover event for the entire grid.
4089 <dl class="detailList">
4090 <dt class="heading">Parameters:</dt>
4093 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4114 <td class="msource">
4115 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4119 <tr class="method-row expandable config-row-alt1">
4120 <td class="micon"><a class="exi" href="#expand"> </a></td>
4123 <a id="Roo.grid.Grid-event-*mouseup"></a>
4125 <div class="fixedFont">
4126 <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>)
4132 <div class="short">The raw mouseup event for the entire grid.
4138 The raw mouseup event for the entire grid.
4144 <dl class="detailList">
4145 <dt class="heading">Parameters:</dt>
4148 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4169 <td class="msource">
4170 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4174 <tr class="method-row expandable config-row-alt0 notInherited">
4175 <td class="micon"><a class="exi" href="#expand"> </a></td>
4178 <a id="Roo.grid.PropertyGrid-event-*propertychange"></a>
4180 <div class="fixedFont">
4181 <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>)
4187 <div class="short">Fires after a property changes
4193 Fires after a property changes
4199 <dl class="detailList">
4200 <dt class="heading">Parameters:</dt>
4203 <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>
4206 <dd>property grid? (check could be store)</dd>
4209 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
4215 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>newval</b>
4221 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldval</b>
4242 <td class="msource">
4243 Roo.grid.PropertyGrid
4247 <tr class="method-row expandable config-row-alt1">
4248 <td class="micon"><a class="exi" href="#expand"> </a></td>
4251 <a id="Roo.grid.Grid-event-*render"></a>
4253 <div class="fixedFont">
4254 <b class="itemname">render</b> (Grid <B><i>grid</i></B>)
4260 <div class="short">Fires when the grid is rendered
4266 Fires when the grid is rendered
4272 <dl class="detailList">
4273 <dt class="heading">Parameters:</dt>
4276 <span class="fixedFont">Grid</span> <b>grid</b>
4297 <td class="msource">
4298 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4302 <tr class="method-row expandable config-row-alt0">
4303 <td class="micon"><a class="exi" href="#expand"> </a></td>
4306 <a id="Roo.grid.Grid-event-*rowclass"></a>
4308 <div class="fixedFont">
4309 <b class="itemname">rowclass</b> (GridView <B><i>gridview</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>rowcfg</i></B>)
4315 <div class="short">Fires when a row is rendered, so you can change add a style to it.
4321 Fires when a row is rendered, so you can change add a style to it.
4327 <dl class="detailList">
4328 <dt class="heading">Parameters:</dt>
4331 <span class="fixedFont">GridView</span> <b>gridview</b>
4334 <dd>The grid view</dd>
4337 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>rowcfg</b>
4340 <dd>contains record rowIndex and rowClass - set rowClass to add a style.</dd>
4358 <td class="msource">
4359 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4363 <tr class="method-row expandable config-row-alt1">
4364 <td class="micon"><a class="exi" href="#expand"> </a></td>
4367 <a id="Roo.grid.Grid-event-*rowclick"></a>
4369 <div class="fixedFont">
4370 <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>)
4376 <div class="short">Fires when a row is clicked
4382 Fires when a row is clicked
4388 <dl class="detailList">
4389 <dt class="heading">Parameters:</dt>
4392 <span class="fixedFont">Grid</span> <b>this</b>
4398 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4404 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4425 <td class="msource">
4426 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4430 <tr class="method-row expandable config-row-alt0">
4431 <td class="micon"><a class="exi" href="#expand"> </a></td>
4434 <a id="Roo.grid.Grid-event-*rowcontextmenu"></a>
4436 <div class="fixedFont">
4437 <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>)
4443 <div class="short">Fires when a row is right clicked
4449 Fires when a row is right clicked
4455 <dl class="detailList">
4456 <dt class="heading">Parameters:</dt>
4459 <span class="fixedFont">Grid</span> <b>this</b>
4465 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4471 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4492 <td class="msource">
4493 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4497 <tr class="method-row expandable config-row-alt1">
4498 <td class="micon"><a class="exi" href="#expand"> </a></td>
4501 <a id="Roo.grid.Grid-event-*rowdblclick"></a>
4503 <div class="fixedFont">
4504 <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>)
4510 <div class="short">Fires when a row is double clicked
4516 Fires when a row is double clicked
4522 <dl class="detailList">
4523 <dt class="heading">Parameters:</dt>
4526 <span class="fixedFont">Grid</span> <b>this</b>
4532 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4538 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4559 <td class="msource">
4560 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4564 <tr class="method-row expandable config-row-alt0">
4565 <td class="micon"><a class="exi" href="#expand"> </a></td>
4568 <a id="Roo.grid.Grid-event-*startdrag"></a>
4570 <div class="fixedFont">
4571 <b class="itemname">startdrag</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, event <B><i>e</i></B>)
4577 <div class="short">Fires when row(s) start being dragged
4583 Fires when row(s) start being dragged
4589 <dl class="detailList">
4590 <dt class="heading">Parameters:</dt>
4593 <span class="fixedFont">Grid</span> <b>this</b>
4599 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
4602 <dd>The drag drop object</dd>
4605 <span class="fixedFont">event</span> <b>e</b>
4608 <dd>The raw browser event</dd>
4626 <td class="msource">
4627 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4631 <tr class="method-row expandable config-row-alt1">
4632 <td class="micon"><a class="exi" href="#expand"> </a></td>
4635 <a id="Roo.grid.EditorGrid-event-*validateedit"></a>
4637 <div class="fixedFont">
4638 <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>)
4644 <div class="short">Fires after a cell is edited, but before the value is set in the record.
4650 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>
4656 <dl class="detailList">
4657 <dt class="heading">Parameters:</dt>
4660 <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>
4663 <dd>An edit event (see above for description)</dd>
4681 <td class="msource">
4682 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
4693 <!-- ============================== footer ================================= -->
4694 <div class="fineprint" style="clear:both">
4696 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Mon Apr 07 2014 13:37:32 GMT+0800 (HKT)
4698 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>