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-enableColumnHide" name=".enableColumnHide"></a>
434 <div class="fixedFont">
435 <b class="itemname">enableColumnHide</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 hiding of columns with the header context menu.</div>
445 <div class="long">True to enable hiding of columns with the header context menu. 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-enableColumnMove" name=".enableColumnMove"></a>
464 <div class="fixedFont">
465 <b class="itemname">enableColumnMove</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 reorder of columns.</div>
475 <div class="long">True to enable drag and drop reorder of columns. 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-enableDrag" name=".enableDrag"></a>
494 <div class="fixedFont">
495 <b class="itemname">enableDrag</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 of rows.</div>
505 <div class="long">True to enable drag of rows. Default is false. (double check if this is needed?)</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-enableDragDrop" name=".enableDragDrop"></a>
524 <div class="fixedFont">
525 <b class="itemname">enableDragDrop</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 and drop of rows.</div>
535 <div class="long">True to enable drag and drop of rows. Default is false.</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-enableRowHeightSync" name=".enableRowHeightSync"></a>
554 <div class="fixedFont">
555 <b class="itemname">enableRowHeightSync</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 manually sync row heights across locked and not locked rows.</div>
565 <div class="long">True to manually sync row heights across locked and not locked 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.util.Observable-cfg-listeners" name=".listeners"></a>
584 <div class="fixedFont">
585 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
591 <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>
595 <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>
603 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</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-loadMask" name=".loadMask"></a>
614 <div class="fixedFont">
615 <b class="itemname">loadMask</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
621 <div class="short">An {<b>link</b> Roo.LoadMask} config or true to mask the grid while loading.</div>
625 <div class="long">An {<b>link</b> Roo.LoadMask} config or true to mask the grid while loading. Default is false.</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-maxHeight" name=".maxHeight"></a>
644 <div class="fixedFont">
645 <b class="itemname">maxHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
651 <div class="short">Sets the maximum height of the grid - ignored if autoHeight is not on.</div>
655 <div class="long">Sets the maximum height of the grid - ignored if autoHeight is not on.</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-maxRowsToMeasure" name=".maxRowsToMeasure"></a>
674 <div class="fixedFont">
675 <b class="itemname">maxRowsToMeasure</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
681 <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>
685 <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>
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-minColumnWidth" name=".minColumnWidth"></a>
704 <div class="fixedFont">
705 <b class="itemname">minColumnWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
711 <div class="short">The minimum width a column can be resized to.</div>
715 <div class="long">The minimum width a column can be resized to. Default is 25.</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-monitorWindowResize" name=".monitorWindowResize"></a>
734 <div class="fixedFont">
735 <b class="itemname">monitorWindowResize</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 autoSize the grid when the window resizes.</div>
745 <div class="long">True to autoSize the grid when the window resizes. 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 notInherited">
760 <td class="micon"><a class="exi" href="#expand"> </a></td>
763 <a id="Roo.grid.PropertyGrid-cfg-propertyNames" name=".propertyNames"></a>
764 <div class="fixedFont">
765 <b class="itemname">propertyNames</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
771 <div class="short">map of property Names to their displayed value</div>
775 <div class="long">map of property Names to their displayed value</div>
783 Roo.grid.PropertyGrid
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-stripeRows" name=".stripeRows"></a>
794 <div class="fixedFont">
795 <b class="itemname">stripeRows</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
801 <div class="short">True to stripe the rows.</div>
805 <div class="long">True to stripe the rows. Default is true.</div>
813 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
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-trackMouseOver" name=".trackMouseOver"></a>
824 <div class="fixedFont">
825 <b class="itemname">trackMouseOver</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 highlight rows when the mouse is over.</div>
835 <div class="long">True to highlight rows when the mouse is over. 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-view" name=".view"></a>
854 <div class="fixedFont">
855 <b class="itemname">view</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
861 <div class="short">The {<b>link</b> Roo.grid.GridView} used by the grid.</div>
865 <div class="long">The {<b>link</b> Roo.grid.GridView} used by the grid. This can be set before a call to render().</div>
873 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
889 <!-- ============================== public properties ==================== -->
893 <a id="Roo.grid.PropertyGrid-props"></a>
899 <table cellspacing="0" class="member-table">
900 <caption class="Empty">Public Properties - Has None</caption>
906 <!-- ============================== methods summary / details ======================== -->
909 <a id="Roo.grid.PropertyGrid-methods"></a>
910 <!-- constructor?? -->
917 <!-- then dynamics first -->
924 <table cellspacing="0" class="member-table">
925 <caption>Public Methods</caption>
927 <th class="sig-header" colspan="2">Method</th>
928 <th class="msource-header">Defined By</th>
938 <tr class="method-row config-row-alt0 expandable notInherited">
939 <td class="micon"><a class="exi" href="#expand"> </a></td>
943 <a id="Roo.grid-method-PropertyGrid" name=".PropertyGrid"></a>
944 <div class="fixedFont">
945 <span class="attributes">new <B>Roo.grid.</B></span><b class="itemname">PropertyGrid</b>
947 (<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>)
955 <div class="short">Create a new Roo.grid.PropertyGrid</div>
962 Create a new Roo.grid.PropertyGrid
965 <dl class="detailList">
966 <dt class="heading">Parameters:</dt>
969 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>container</b>
972 <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>
975 <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>
978 <dd>A config object that sets properties on this grid.</dd>
1002 <tr class="method-row config-row-alt1 expandable">
1003 <td class="micon"><a class="exi" href="#expand"> </a></td>
1007 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
1008 <div class="fixedFont">
1009 <span class="attributes"></span><b class="itemname">addEvents</b>
1011 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1018 <div class="short">Used to define events on this Observable</div>
1024 Used to define events on this Observable
1031 <dl class="detailList">
1032 <dt class="heading">Parameters:</dt>
1035 <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>
1038 <dd>The object with the events defined</dd>
1056 <td class="msource">
1058 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1064 <tr class="method-row config-row-alt0 expandable">
1065 <td class="micon"><a class="exi" href="#expand"> </a></td>
1069 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1070 <div class="fixedFont">
1071 <span class="attributes"></span><b class="itemname">addListener</b>
1073 (<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>)
1080 <div class="short">Appends an event handler to this component</div>
1086 Appends an event handler to this component
1093 <dl class="detailList">
1094 <dt class="heading">Parameters:</dt>
1097 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1100 <dd>The type of event to listen for</dd>
1103 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1106 <dd>The method the event invokes</dd>
1109 <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>
1112 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1115 <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>
1118 <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>
1136 <td class="msource">
1138 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1144 <tr class="method-row config-row-alt1 expandable">
1145 <td class="micon"><a class="exi" href="#expand"> </a></td>
1149 <a id="Roo.grid.Grid-method-autoSize" name=".autoSize"></a>
1150 <div class="fixedFont">
1151 <span class="attributes"></span><b class="itemname">autoSize</b>
1160 <div class="short">Causes the grid to manually recalculate its dimensions.</div>
1166 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.
1187 <td class="msource">
1189 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1195 <tr class="method-row config-row-alt0 expandable">
1196 <td class="micon"><a class="exi" href="#expand"> </a></td>
1200 <a id="Roo.grid.Grid-method-destroy" name=".destroy"></a>
1201 <div class="fixedFont">
1202 <span class="attributes"></span><b class="itemname">destroy</b>
1204 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
1211 <div class="short">Destroy this grid.</div>
1224 <dl class="detailList">
1225 <dt class="heading">Parameters:</dt>
1228 <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>
1231 <dd>True to remove the element</dd>
1249 <td class="msource">
1251 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1257 <tr class="method-row config-row-alt1 expandable">
1258 <td class="micon"><a class="exi" href="#expand"> </a></td>
1262 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1263 <div class="fixedFont">
1264 <span class="attributes"></span><b class="itemname">fireEvent</b>
1266 (<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>)
1272 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1281 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1287 Fires the specified event with the passed parameters (minus the event name).
1294 <dl class="detailList">
1295 <dt class="heading">Parameters:</dt>
1298 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1304 <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>
1307 <dd>Variable number of parameters are passed to handlers</dd>
1315 <dl class="detailList">
1316 <dt class="heading">Returns:</dt>
1318 <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>
1332 <td class="msource">
1334 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1340 <tr class="method-row config-row-alt0 expandable">
1341 <td class="micon"><a class="exi" href="#expand"> </a></td>
1345 <a id="Roo.grid.Grid-method-getColumnModel" name=".getColumnModel"></a>
1346 <div class="fixedFont">
1347 <span class="attributes"></span><b class="itemname">getColumnModel</b>
1364 <div class="short">Returns the grid's ColumnModel.</div>
1370 Returns the grid's ColumnModel.
1381 <dl class="detailList">
1382 <dt class="heading">Returns:</dt>
1384 <dd><span class="fixedFont">ColumnModel</span> </dd>
1398 <td class="msource">
1400 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1406 <tr class="method-row config-row-alt1 expandable">
1407 <td class="micon"><a class="exi" href="#expand"> </a></td>
1411 <a id="Roo.grid.Grid-method-getDataSource" name=".getDataSource"></a>
1412 <div class="fixedFont">
1413 <span class="attributes"></span><b class="itemname">getDataSource</b>
1430 <div class="short">Returns the grid's DataSource.</div>
1436 Returns the grid's DataSource.
1447 <dl class="detailList">
1448 <dt class="heading">Returns:</dt>
1450 <dd><span class="fixedFont">DataSource</span> </dd>
1464 <td class="msource">
1466 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1472 <tr class="method-row config-row-alt0 expandable">
1473 <td class="micon"><a class="exi" href="#expand"> </a></td>
1477 <a id="Roo.grid.Grid-method-getDragDropText" name=".getDragDropText"></a>
1478 <div class="fixedFont">
1479 <span class="attributes"></span><b class="itemname">getDragDropText</b>
1487 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1496 <div class="short">Called to get grid's drag proxy text, by default returns this.ddText.</div>
1502 Called to get grid's drag proxy text, by default returns this.ddText.
1513 <dl class="detailList">
1514 <dt class="heading">Returns:</dt>
1516 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1530 <td class="msource">
1532 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1538 <tr class="method-row config-row-alt1 expandable">
1539 <td class="micon"><a class="exi" href="#expand"> </a></td>
1543 <a id="Roo.grid.Grid-method-getGridEl" name=".getGridEl"></a>
1544 <div class="fixedFont">
1545 <span class="attributes"></span><b class="itemname">getGridEl</b>
1562 <div class="short">Returns the grid's underlying element.</div>
1568 Returns the grid's underlying element.
1579 <dl class="detailList">
1580 <dt class="heading">Returns:</dt>
1582 <dd><span class="fixedFont">Element</span> The element</dd>
1596 <td class="msource">
1598 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1604 <tr class="method-row config-row-alt0 expandable">
1605 <td class="micon"><a class="exi" href="#expand"> </a></td>
1609 <a id="Roo.grid.Grid-method-getSelectionModel" name=".getSelectionModel"></a>
1610 <div class="fixedFont">
1611 <span class="attributes"></span><b class="itemname">getSelectionModel</b>
1628 <div class="short">Returns the grid's SelectionModel.</div>
1634 Returns the grid's SelectionModel.
1645 <dl class="detailList">
1646 <dt class="heading">Returns:</dt>
1648 <dd><span class="fixedFont">SelectionModel</span> </dd>
1662 <td class="msource">
1664 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1670 <tr class="method-row config-row-alt1 expandable notInherited">
1671 <td class="micon"><a class="exi" href="#expand"> </a></td>
1675 <a id="Roo.grid.PropertyGrid-method-getSource" name=".getSource"></a>
1676 <div class="fixedFont">
1677 <span class="attributes"></span><b class="itemname">getSource</b>
1685 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
1694 <div class="short">Gets all the data from the grid.</div>
1700 Gets all the data from the grid.
1711 <dl class="detailList">
1712 <dt class="heading">Returns:</dt>
1714 <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>
1728 <td class="msource">
1730 Roo.grid.PropertyGrid
1736 <tr class="method-row config-row-alt0 expandable">
1737 <td class="micon"><a class="exi" href="#expand"> </a></td>
1741 <a id="Roo.grid.Grid-method-getView" name=".getView"></a>
1742 <div class="fixedFont">
1743 <span class="attributes"></span><b class="itemname">getView</b>
1760 <div class="short">Returns the grid's GridView object.</div>
1766 Returns the grid's GridView object.
1777 <dl class="detailList">
1778 <dt class="heading">Returns:</dt>
1780 <dd><span class="fixedFont">GridView</span> </dd>
1794 <td class="msource">
1796 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1802 <tr class="method-row config-row-alt1 expandable">
1803 <td class="micon"><a class="exi" href="#expand"> </a></td>
1807 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1808 <div class="fixedFont">
1809 <span class="attributes"></span><b class="itemname">hasListener</b>
1811 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1817 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1826 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1832 Checks to see if this object has any listeners for a specified event
1839 <dl class="detailList">
1840 <dt class="heading">Parameters:</dt>
1843 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1846 <dd>The name of the event to check for</dd>
1854 <dl class="detailList">
1855 <dt class="heading">Returns:</dt>
1857 <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>
1871 <td class="msource">
1873 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1879 <tr class="method-row config-row-alt0 expandable">
1880 <td class="micon"><a class="exi" href="#expand"> </a></td>
1884 <a id="Roo.util.Observable-method-on" name=".on"></a>
1885 <div class="fixedFont">
1886 <span class="attributes"></span><b class="itemname">on</b>
1888 (<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>)
1895 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1901 Appends an event handler to this element (shorthand for addListener)
1908 <dl class="detailList">
1909 <dt class="heading">Parameters:</dt>
1912 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1915 <dd>The type of event to listen for</dd>
1918 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1921 <dd>The method the event invokes</dd>
1924 <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>
1927 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1930 <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>
1951 <td class="msource">
1953 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1959 <tr class="method-row config-row-alt1 expandable">
1960 <td class="micon"><a class="exi" href="#expand"> </a></td>
1964 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1965 <div class="fixedFont">
1966 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1975 <div class="short">Removes all listeners for this object</div>
1981 Removes all listeners for this object
2002 <td class="msource">
2004 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2010 <tr class="method-row config-row-alt0 expandable">
2011 <td class="micon"><a class="exi" href="#expand"> </a></td>
2015 <a id="Roo.grid.Grid-method-reconfigure" name=".reconfigure"></a>
2016 <div class="fixedFont">
2017 <span class="attributes"></span><b class="itemname">reconfigure</b>
2019 (<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>)
2026 <div class="short">Reconfigures the grid to use a different Store and Column Model.</div>
2032 Reconfigures the grid to use a different Store and Column Model.<br/>The View will be bound to the new objects and refreshed.
2039 <dl class="detailList">
2040 <dt class="heading">Parameters:</dt>
2043 <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>
2046 <dd>The new {<b>link</b> Roo.data.Store} object</dd>
2049 <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>
2052 <dd>new {<b>link</b> Roo.grid.ColumnModel} object</dd>
2070 <td class="msource">
2072 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2078 <tr class="method-row config-row-alt1 expandable">
2079 <td class="micon"><a class="exi" href="#expand"> </a></td>
2083 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
2084 <div class="fixedFont">
2085 <span class="attributes"></span><b class="itemname">removeListener</b>
2087 (<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>)
2094 <div class="short">Removes a listener</div>
2107 <dl class="detailList">
2108 <dt class="heading">Parameters:</dt>
2111 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2114 <dd>The type of event to listen for</dd>
2117 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2120 <dd>The handler to remove</dd>
2123 <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>
2126 <dd>(optional) The scope (this object) for the handler</dd>
2144 <td class="msource">
2146 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2152 <tr class="method-row config-row-alt0 expandable">
2153 <td class="micon"><a class="exi" href="#expand"> </a></td>
2157 <a id="Roo.grid.Grid-method-render" name=".render"></a>
2158 <div class="fixedFont">
2159 <span class="attributes"></span><b class="itemname">render</b>
2167 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2176 <div class="short">Called once after all setup has been completed and the grid is ready to be rendered.</div>
2182 Called once after all setup has been completed and the grid is ready to be rendered.
2193 <dl class="detailList">
2194 <dt class="heading">Returns:</dt>
2196 <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>
2210 <td class="msource">
2212 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2218 <tr class="method-row config-row-alt1 expandable notInherited">
2219 <td class="micon"><a class="exi" href="#expand"> </a></td>
2223 <a id="Roo.grid.PropertyGrid-method-setSource" name=".setSource"></a>
2224 <div class="fixedFont">
2225 <span class="attributes"></span><b class="itemname">setSource</b>
2227 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>data</i></B>)
2234 <div class="short">Sets the data for the Grid<br/>accepts a Key => Value object of all the elements avaiable.</div>
2240 Sets the data for the Grid<br/>accepts a Key => Value object of all the elements avaiable.
2247 <dl class="detailList">
2248 <dt class="heading">Parameters:</dt>
2251 <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>
2254 <dd>to appear in grid.</dd>
2272 <td class="msource">
2274 Roo.grid.PropertyGrid
2280 <tr class="method-row config-row-alt0 expandable">
2281 <td class="micon"><a class="exi" href="#expand"> </a></td>
2285 <a id="Roo.grid.EditorGrid-method-startEditing" name=".startEditing"></a>
2286 <div class="fixedFont">
2287 <span class="attributes"></span><b class="itemname">startEditing</b>
2289 (<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>)
2296 <div class="short">Starts editing the specified for the specified row/column</div>
2302 Starts editing the specified for the specified row/column
2309 <dl class="detailList">
2310 <dt class="heading">Parameters:</dt>
2313 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2319 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>colIndex</b>
2340 <td class="msource">
2342 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
2348 <tr class="method-row config-row-alt1 expandable">
2349 <td class="micon"><a class="exi" href="#expand"> </a></td>
2353 <a id="Roo.grid.EditorGrid-method-stopEditing" name=".stopEditing"></a>
2354 <div class="fixedFont">
2355 <span class="attributes"></span><b class="itemname">stopEditing</b>
2364 <div class="short">Stops any active editing</div>
2370 Stops any active editing
2391 <td class="msource">
2393 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
2399 <tr class="method-row config-row-alt0 expandable">
2400 <td class="micon"><a class="exi" href="#expand"> </a></td>
2404 <a id="Roo.util.Observable-method-un" name=".un"></a>
2405 <div class="fixedFont">
2406 <span class="attributes"></span><b class="itemname">un</b>
2408 (<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>)
2415 <div class="short">Removes a listener (shorthand for removeListener)</div>
2421 Removes a listener (shorthand for removeListener)
2428 <dl class="detailList">
2429 <dt class="heading">Parameters:</dt>
2432 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2435 <dd>The type of event to listen for</dd>
2438 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2441 <dd>The handler to remove</dd>
2444 <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>
2447 <dd>(optional) The scope (this object) for the handler</dd>
2465 <td class="msource">
2467 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2476 <!-- ============================== events summary / details ======================== -->
2479 <a id="Roo.grid.PropertyGrid-events"></a>
2488 <table cellspacing="0" class="member-table">
2489 <caption>Events</caption>
2492 <th class="sig-header" colspan="2">Event</th>
2493 <th class="msource-header">Defined By</th>
2502 <tr class="method-row expandable config-row-alt0">
2503 <td class="micon"><a class="exi" href="#expand"> </a></td>
2506 <a id="Roo.grid.EditorGrid-event-*afteredit"></a>
2508 <div class="fixedFont">
2509 <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>)
2515 <div class="short">Fires after a cell is edited.
2521 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>
2527 <dl class="detailList">
2528 <dt class="heading">Parameters:</dt>
2531 <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>
2534 <dd>An edit event (see above for description)</dd>
2552 <td class="msource">
2553 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
2557 <tr class="method-row expandable config-row-alt1">
2558 <td class="micon"><a class="exi" href="#expand"> </a></td>
2561 <a id="Roo.grid.EditorGrid-event-*beforeedit"></a>
2563 <div class="fixedFont">
2564 <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>)
2570 <div class="short">Fires before cell editing is triggered.
2576 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>
2582 <dl class="detailList">
2583 <dt class="heading">Parameters:</dt>
2586 <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>
2589 <dd>An edit event (see above for description)</dd>
2607 <td class="msource">
2608 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
2612 <tr class="method-row expandable config-row-alt0 notInherited">
2613 <td class="micon"><a class="exi" href="#expand"> </a></td>
2616 <a id="Roo.grid.PropertyGrid-event-*beforepropertychange"></a>
2618 <div class="fixedFont">
2619 <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>)
2625 <div class="short">Fires before a property changes (return false to stop?)
2631 Fires before a property changes (return false to stop?)
2637 <dl class="detailList">
2638 <dt class="heading">Parameters:</dt>
2641 <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>
2644 <dd>property grid? (check could be store)</dd>
2647 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
2653 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>newval</b>
2659 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldval</b>
2680 <td class="msource">
2681 Roo.grid.PropertyGrid
2685 <tr class="method-row expandable config-row-alt1">
2686 <td class="micon"><a class="exi" href="#expand"> </a></td>
2689 <a id="Roo.grid.Grid-event-*bodyscroll"></a>
2691 <div class="fixedFont">
2692 <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>)
2698 <div class="short">Fires when the body element is scrolled
2704 Fires when the body element is scrolled
2710 <dl class="detailList">
2711 <dt class="heading">Parameters:</dt>
2714 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>scrollLeft</b>
2720 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>scrollTop</b>
2741 <td class="msource">
2742 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2746 <tr class="method-row expandable config-row-alt0">
2747 <td class="micon"><a class="exi" href="#expand"> </a></td>
2750 <a id="Roo.grid.Grid-event-*cellclick"></a>
2752 <div class="fixedFont">
2753 <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>)
2759 <div class="short">Fires when a cell is clicked
2765 Fires when a cell is clicked
2771 <dl class="detailList">
2772 <dt class="heading">Parameters:</dt>
2775 <span class="fixedFont">Grid</span> <b>this</b>
2781 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2787 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2793 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2814 <td class="msource">
2815 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2819 <tr class="method-row expandable config-row-alt1">
2820 <td class="micon"><a class="exi" href="#expand"> </a></td>
2823 <a id="Roo.grid.Grid-event-*cellcontextmenu"></a>
2825 <div class="fixedFont">
2826 <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>)
2832 <div class="short">Fires when a cell is right clicked
2838 Fires when a cell is right clicked
2844 <dl class="detailList">
2845 <dt class="heading">Parameters:</dt>
2848 <span class="fixedFont">Grid</span> <b>this</b>
2854 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2860 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>cellIndex</b>
2866 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2887 <td class="msource">
2888 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2892 <tr class="method-row expandable config-row-alt0">
2893 <td class="micon"><a class="exi" href="#expand"> </a></td>
2896 <a id="Roo.grid.Grid-event-*celldblclick"></a>
2898 <div class="fixedFont">
2899 <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>)
2905 <div class="short">Fires when a cell is double clicked
2911 Fires when a cell is double clicked
2917 <dl class="detailList">
2918 <dt class="heading">Parameters:</dt>
2921 <span class="fixedFont">Grid</span> <b>this</b>
2927 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2933 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2939 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2960 <td class="msource">
2961 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2965 <tr class="method-row expandable config-row-alt1">
2966 <td class="micon"><a class="exi" href="#expand"> </a></td>
2969 <a id="Roo.grid.Grid-event-*click"></a>
2971 <div class="fixedFont">
2972 <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>)
2978 <div class="short">The raw click event for the entire grid.
2984 The raw click event for the entire grid.
2990 <dl class="detailList">
2991 <dt class="heading">Parameters:</dt>
2994 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3015 <td class="msource">
3016 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3020 <tr class="method-row expandable config-row-alt0">
3021 <td class="micon"><a class="exi" href="#expand"> </a></td>
3024 <a id="Roo.grid.Grid-event-*columnmove"></a>
3026 <div class="fixedFont">
3027 <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>)
3033 <div class="short">Fires when the user moves a column
3039 Fires when the user moves a column
3045 <dl class="detailList">
3046 <dt class="heading">Parameters:</dt>
3049 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>oldIndex</b>
3055 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newIndex</b>
3076 <td class="msource">
3077 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3081 <tr class="method-row expandable config-row-alt1">
3082 <td class="micon"><a class="exi" href="#expand"> </a></td>
3085 <a id="Roo.grid.Grid-event-*columnresize"></a>
3087 <div class="fixedFont">
3088 <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>)
3094 <div class="short">Fires when the user resizes a column
3100 Fires when the user resizes a column
3106 <dl class="detailList">
3107 <dt class="heading">Parameters:</dt>
3110 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3116 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newSize</b>
3137 <td class="msource">
3138 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3142 <tr class="method-row expandable config-row-alt0">
3143 <td class="micon"><a class="exi" href="#expand"> </a></td>
3146 <a id="Roo.grid.Grid-event-*contextmenu"></a>
3148 <div class="fixedFont">
3149 <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>)
3155 <div class="short">The raw contextmenu event for the entire grid.
3161 The raw contextmenu event for the entire grid.
3167 <dl class="detailList">
3168 <dt class="heading">Parameters:</dt>
3171 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3192 <td class="msource">
3193 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3197 <tr class="method-row expandable config-row-alt1">
3198 <td class="micon"><a class="exi" href="#expand"> </a></td>
3201 <a id="Roo.grid.Grid-event-*dblclick"></a>
3203 <div class="fixedFont">
3204 <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>)
3210 <div class="short">The raw dblclick event for the entire grid.
3216 The raw dblclick event for the entire grid.
3222 <dl class="detailList">
3223 <dt class="heading">Parameters:</dt>
3226 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3247 <td class="msource">
3248 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3252 <tr class="method-row expandable config-row-alt0">
3253 <td class="micon"><a class="exi" href="#expand"> </a></td>
3256 <a id="Roo.grid.Grid-event-*dragdrop"></a>
3258 <div class="fixedFont">
3259 <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>)
3265 <div class="short">Fires when dragged row(s) are dropped on a valid DD target
3271 Fires when dragged row(s) are dropped on a valid DD target
3277 <dl class="detailList">
3278 <dt class="heading">Parameters:</dt>
3281 <span class="fixedFont">Grid</span> <b>this</b>
3287 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3290 <dd>The drag drop object</dd>
3293 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3296 <dd>The target drag drop object</dd>
3299 <span class="fixedFont">event</span> <b>e</b>
3302 <dd>The raw browser event</dd>
3320 <td class="msource">
3321 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3325 <tr class="method-row expandable config-row-alt1">
3326 <td class="micon"><a class="exi" href="#expand"> </a></td>
3329 <a id="Roo.grid.Grid-event-*dragenter
3330 Fires when the dragged row(s) first cross another DD target while being dragged"></a>
3332 <div class="fixedFont">
3333 <b class="itemname">dragenter
3334 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>)
3352 <dl class="detailList">
3353 <dt class="heading">Parameters:</dt>
3356 <span class="fixedFont">Grid</span> <b>this</b>
3362 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3365 <dd>The drag drop object</dd>
3368 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3371 <dd>The target drag drop object</dd>
3374 <span class="fixedFont">event</span> <b>e</b>
3377 <dd>The raw browser event</dd>
3395 <td class="msource">
3396 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3400 <tr class="method-row expandable config-row-alt0">
3401 <td class="micon"><a class="exi" href="#expand"> </a></td>
3404 <a id="Roo.grid.Grid-event-*dragout"></a>
3406 <div class="fixedFont">
3407 <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>)
3413 <div class="short">Fires when the dragged row(s) leave another DD target while being dragged
3419 Fires when the dragged row(s) leave another DD target while being dragged
3425 <dl class="detailList">
3426 <dt class="heading">Parameters:</dt>
3429 <span class="fixedFont">Grid</span> <b>this</b>
3435 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3438 <dd>The drag drop object</dd>
3441 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3444 <dd>The target drag drop object</dd>
3447 <span class="fixedFont">event</span> <b>e</b>
3450 <dd>The raw browser event</dd>
3468 <td class="msource">
3469 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3473 <tr class="method-row expandable config-row-alt1">
3474 <td class="micon"><a class="exi" href="#expand"> </a></td>
3477 <a id="Roo.grid.Grid-event-*dragover"></a>
3479 <div class="fixedFont">
3480 <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>)
3486 <div class="short">Fires while row(s) are being dragged.
3492 Fires while row(s) are being dragged. "targetId" is the id of the Yahoo.util.DD object the selected rows are being dragged over.
3498 <dl class="detailList">
3499 <dt class="heading">Parameters:</dt>
3502 <span class="fixedFont">Grid</span> <b>this</b>
3508 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3511 <dd>The drag drop object</dd>
3514 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3517 <dd>The target drag drop object</dd>
3520 <span class="fixedFont">event</span> <b>e</b>
3523 <dd>The raw browser event</dd>
3541 <td class="msource">
3542 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3546 <tr class="method-row expandable config-row-alt0">
3547 <td class="micon"><a class="exi" href="#expand"> </a></td>
3550 <a id="Roo.grid.Grid-event-*enddrag"></a>
3552 <div class="fixedFont">
3553 <b class="itemname">enddrag</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, event <B><i>e</i></B>)
3559 <div class="short">Fires when a drag operation is complete
3565 Fires when a drag operation is complete
3571 <dl class="detailList">
3572 <dt class="heading">Parameters:</dt>
3575 <span class="fixedFont">Grid</span> <b>this</b>
3581 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3584 <dd>The drag drop object</dd>
3587 <span class="fixedFont">event</span> <b>e</b>
3590 <dd>The raw browser event</dd>
3608 <td class="msource">
3609 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3613 <tr class="method-row expandable config-row-alt1">
3614 <td class="micon"><a class="exi" href="#expand"> </a></td>
3617 <a id="Roo.grid.Grid-event-*headerclick"></a>
3619 <div class="fixedFont">
3620 <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>)
3626 <div class="short">Fires when a header is clicked
3632 Fires when a header is clicked
3638 <dl class="detailList">
3639 <dt class="heading">Parameters:</dt>
3642 <span class="fixedFont">Grid</span> <b>this</b>
3648 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3654 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3675 <td class="msource">
3676 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3680 <tr class="method-row expandable config-row-alt0">
3681 <td class="micon"><a class="exi" href="#expand"> </a></td>
3684 <a id="Roo.grid.Grid-event-*headercontextmenu"></a>
3686 <div class="fixedFont">
3687 <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>)
3693 <div class="short">Fires when a header is right clicked
3699 Fires when a header is right clicked
3705 <dl class="detailList">
3706 <dt class="heading">Parameters:</dt>
3709 <span class="fixedFont">Grid</span> <b>this</b>
3715 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3721 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3742 <td class="msource">
3743 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3747 <tr class="method-row expandable config-row-alt1">
3748 <td class="micon"><a class="exi" href="#expand"> </a></td>
3751 <a id="Roo.grid.Grid-event-*headerdblclick"></a>
3753 <div class="fixedFont">
3754 <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>)
3760 <div class="short">Fires when a header cell is double clicked
3766 Fires when a header cell is double clicked
3772 <dl class="detailList">
3773 <dt class="heading">Parameters:</dt>
3776 <span class="fixedFont">Grid</span> <b>this</b>
3782 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3788 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3809 <td class="msource">
3810 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3814 <tr class="method-row expandable config-row-alt0">
3815 <td class="micon"><a class="exi" href="#expand"> </a></td>
3818 <a id="Roo.grid.Grid-event-*keydown"></a>
3820 <div class="fixedFont">
3821 <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>)
3827 <div class="short">The raw keydown event for the entire grid.
3833 The raw keydown event for the entire grid.
3839 <dl class="detailList">
3840 <dt class="heading">Parameters:</dt>
3843 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3864 <td class="msource">
3865 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3869 <tr class="method-row expandable config-row-alt1">
3870 <td class="micon"><a class="exi" href="#expand"> </a></td>
3873 <a id="Roo.grid.Grid-event-*keypress"></a>
3875 <div class="fixedFont">
3876 <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>)
3882 <div class="short">The raw keypress event for the entire grid.
3888 The raw keypress event for the entire grid.
3894 <dl class="detailList">
3895 <dt class="heading">Parameters:</dt>
3898 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3919 <td class="msource">
3920 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3924 <tr class="method-row expandable config-row-alt0">
3925 <td class="micon"><a class="exi" href="#expand"> </a></td>
3928 <a id="Roo.grid.Grid-event-*mousedown"></a>
3930 <div class="fixedFont">
3931 <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>)
3937 <div class="short">The raw mousedown event for the entire grid.
3943 The raw mousedown event for the entire grid.
3949 <dl class="detailList">
3950 <dt class="heading">Parameters:</dt>
3953 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3974 <td class="msource">
3975 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3979 <tr class="method-row expandable config-row-alt1">
3980 <td class="micon"><a class="exi" href="#expand"> </a></td>
3983 <a id="Roo.grid.Grid-event-*mouseout"></a>
3985 <div class="fixedFont">
3986 <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>)
3992 <div class="short">The raw mouseout event for the entire grid.
3998 The raw mouseout event for the entire grid.
4004 <dl class="detailList">
4005 <dt class="heading">Parameters:</dt>
4008 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4029 <td class="msource">
4030 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4034 <tr class="method-row expandable config-row-alt0">
4035 <td class="micon"><a class="exi" href="#expand"> </a></td>
4038 <a id="Roo.grid.Grid-event-*mouseover"></a>
4040 <div class="fixedFont">
4041 <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>)
4047 <div class="short">The raw mouseover event for the entire grid.
4053 The raw mouseover event for the entire grid.
4059 <dl class="detailList">
4060 <dt class="heading">Parameters:</dt>
4063 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4084 <td class="msource">
4085 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4089 <tr class="method-row expandable config-row-alt1">
4090 <td class="micon"><a class="exi" href="#expand"> </a></td>
4093 <a id="Roo.grid.Grid-event-*mouseup"></a>
4095 <div class="fixedFont">
4096 <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>)
4102 <div class="short">The raw mouseup event for the entire grid.
4108 The raw mouseup event for the entire grid.
4114 <dl class="detailList">
4115 <dt class="heading">Parameters:</dt>
4118 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4139 <td class="msource">
4140 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4144 <tr class="method-row expandable config-row-alt0 notInherited">
4145 <td class="micon"><a class="exi" href="#expand"> </a></td>
4148 <a id="Roo.grid.PropertyGrid-event-*propertychange"></a>
4150 <div class="fixedFont">
4151 <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>)
4157 <div class="short">Fires after a property changes
4163 Fires after a property changes
4169 <dl class="detailList">
4170 <dt class="heading">Parameters:</dt>
4173 <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>
4176 <dd>property grid? (check could be store)</dd>
4179 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
4185 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>newval</b>
4191 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>oldval</b>
4212 <td class="msource">
4213 Roo.grid.PropertyGrid
4217 <tr class="method-row expandable config-row-alt1">
4218 <td class="micon"><a class="exi" href="#expand"> </a></td>
4221 <a id="Roo.grid.Grid-event-*render"></a>
4223 <div class="fixedFont">
4224 <b class="itemname">render</b> (Grid <B><i>grid</i></B>)
4230 <div class="short">Fires when the grid is rendered
4236 Fires when the grid is rendered
4242 <dl class="detailList">
4243 <dt class="heading">Parameters:</dt>
4246 <span class="fixedFont">Grid</span> <b>grid</b>
4267 <td class="msource">
4268 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4272 <tr class="method-row expandable config-row-alt0">
4273 <td class="micon"><a class="exi" href="#expand"> </a></td>
4276 <a id="Roo.grid.Grid-event-*rowclick"></a>
4278 <div class="fixedFont">
4279 <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>)
4285 <div class="short">Fires when a row is clicked
4291 Fires when a row is clicked
4297 <dl class="detailList">
4298 <dt class="heading">Parameters:</dt>
4301 <span class="fixedFont">Grid</span> <b>this</b>
4307 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4313 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4334 <td class="msource">
4335 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4339 <tr class="method-row expandable config-row-alt1">
4340 <td class="micon"><a class="exi" href="#expand"> </a></td>
4343 <a id="Roo.grid.Grid-event-*rowcontextmenu"></a>
4345 <div class="fixedFont">
4346 <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>)
4352 <div class="short">Fires when a row is right clicked
4358 Fires when a row is right clicked
4364 <dl class="detailList">
4365 <dt class="heading">Parameters:</dt>
4368 <span class="fixedFont">Grid</span> <b>this</b>
4374 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4380 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4401 <td class="msource">
4402 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4406 <tr class="method-row expandable config-row-alt0">
4407 <td class="micon"><a class="exi" href="#expand"> </a></td>
4410 <a id="Roo.grid.Grid-event-*rowdblclick"></a>
4412 <div class="fixedFont">
4413 <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>)
4419 <div class="short">Fires when a row is double clicked
4425 Fires when a row is double clicked
4431 <dl class="detailList">
4432 <dt class="heading">Parameters:</dt>
4435 <span class="fixedFont">Grid</span> <b>this</b>
4441 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4447 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4468 <td class="msource">
4469 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4473 <tr class="method-row expandable config-row-alt1">
4474 <td class="micon"><a class="exi" href="#expand"> </a></td>
4477 <a id="Roo.grid.Grid-event-*startdrag"></a>
4479 <div class="fixedFont">
4480 <b class="itemname">startdrag</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, event <B><i>e</i></B>)
4486 <div class="short">Fires when row(s) start being dragged
4492 Fires when row(s) start being dragged
4498 <dl class="detailList">
4499 <dt class="heading">Parameters:</dt>
4502 <span class="fixedFont">Grid</span> <b>this</b>
4508 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
4511 <dd>The drag drop object</dd>
4514 <span class="fixedFont">event</span> <b>e</b>
4517 <dd>The raw browser event</dd>
4535 <td class="msource">
4536 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4540 <tr class="method-row expandable config-row-alt0">
4541 <td class="micon"><a class="exi" href="#expand"> </a></td>
4544 <a id="Roo.grid.EditorGrid-event-*validateedit"></a>
4546 <div class="fixedFont">
4547 <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>)
4553 <div class="short">Fires after a cell is edited, but before the value is set in the record.
4559 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>
4565 <dl class="detailList">
4566 <dt class="heading">Parameters:</dt>
4569 <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>
4572 <dd>An edit event (see above for description)</dd>
4590 <td class="msource">
4591 <a href="./Roo.grid.EditorGrid.html#constructor" roo:cls="Roo.grid.EditorGrid.html#constructor">Roo.grid.EditorGrid</a>
4602 <!-- ============================== footer ================================= -->
4603 <div class="fineprint" style="clear:both">
4605 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Wed Nov 10 2010 14:52:49 GMT+0800 (HKT)
4607 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>