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.EditorGrid</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.EditorGrid-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.grid.EditorGrid-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.grid.EditorGrid-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.grid.EditorGrid-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 class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.grid.EditorGrid
53 <!-- ============================== class title / details ============================ -->
56 <h1 class="classTitle">
58 Class Roo.grid.EditorGrid
61 <table cellspacing="0" class="class-summary-table">
63 <tr><td class="label">Package:</td><td class="hd-info">Roo.grid</td></tr>
65 <tr><td class="label">Defined In:</td><td class="hd-info">
67 <a href="./src/Roo_grid_EditorGrid.js.html">Roo/grid/EditorGrid.js</a>.
70 <tr><td class="label">Class:</td><td class="hd-info">EditorGrid</td></tr>
73 <tr><td class="label">Subclasses:</td><td class="hd-info">
74 <a href="./Roo.grid.PropertyGrid.html#constructor" roo:cls="Roo.grid.PropertyGrid.html#constructor">Roo.grid.PropertyGrid</a>
82 <tr><td class="label">Extends:</td><td class="hd-info">
83 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
91 <!-- ============================== class summary ========================== -->
92 <div class="description">
93 Class for creating and editable grid.
97 <!-- ============================== Class comment block... ========================== -->
99 <div class="comments">
100 <b>Class Comments / Notes</B> =>
101 <u onclick="parent.CommentDialog.showCommentId = 'Roo.grid.EditorGrid';">[Add Your comment/notes about this class]</u>
103 <iframe frameborder="0" id="comments-Roo.grid" style="border: none;width:100%;"
104 src="/blog.php/GtkDjsComments/Roo.grid.EditorGrid.html"></iframe>
109 <!-- ============================== config options ========================== -->
114 <div class="hr"></div>
115 <a id="Roo.grid.EditorGrid-configs"></a>
121 <table cellspacing="0" class="member-table">
122 <caption>Config Options (Usually are also Properties)</caption>
126 <th class="sig-header" colspan="2">Options</th>
128 <th class="msource-header">Defined By</th>
135 <tr class="config-row expandable config-row-alt0">
136 <td class="micon"><a class="exi" href="#expand"> </a></td>
139 <a id="Roo.grid.Grid-cfg-autoExpandColumn" name=".autoExpandColumn"></a>
140 <div class="fixedFont">
141 <b class="itemname">autoExpandColumn</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
147 <div class="short">The id (or dataIndex) of a column in this grid that should expand to fill unused space.</div>
151 <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>
159 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
165 <tr class="config-row expandable config-row-alt1">
166 <td class="micon"><a class="exi" href="#expand"> </a></td>
169 <a id="Roo.grid.Grid-cfg-autoExpandMax" name=".autoExpandMax"></a>
170 <div class="fixedFont">
171 <b class="itemname">autoExpandMax</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
177 <div class="short">The maximum width the autoExpandColumn can have (if enabled).</div>
181 <div class="long">The maximum width the autoExpandColumn can have (if enabled). Default is 1000.</div>
189 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
195 <tr class="config-row expandable config-row-alt0">
196 <td class="micon"><a class="exi" href="#expand"> </a></td>
199 <a id="Roo.grid.Grid-cfg-autoExpandMin" name=".autoExpandMin"></a>
200 <div class="fixedFont">
201 <b class="itemname">autoExpandMin</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
207 <div class="short">The minimum width the autoExpandColumn can have (if enabled).</div>
211 <div class="long">The minimum width the autoExpandColumn can have (if enabled).<br/>Default is 50.</div>
219 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
225 <tr class="config-row expandable config-row-alt1">
226 <td class="micon"><a class="exi" href="#expand"> </a></td>
229 <a id="Roo.grid.Grid-cfg-autoHeight" name=".autoHeight"></a>
230 <div class="fixedFont">
231 <b class="itemname">autoHeight</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
237 <div class="short">True to fit the height of the grid container to the height of the data.</div>
241 <div class="long">True to fit the height of the grid container to the height of the data. Default is false.</div>
249 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
255 <tr class="config-row expandable config-row-alt0">
256 <td class="micon"><a class="exi" href="#expand"> </a></td>
259 <a id="Roo.grid.Grid-cfg-autoSizeColumns" name=".autoSizeColumns"></a>
260 <div class="fixedFont">
261 <b class="itemname">autoSizeColumns</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
267 <div class="short">True to automatically resize the columns to fit their content<br/><b>on initial render.</div>
271 <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>
279 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
285 <tr class="config-row expandable config-row-alt1">
286 <td class="micon"><a class="exi" href="#expand"> </a></td>
289 <a id="Roo.grid.Grid-cfg-autoSizeHeaders" name=".autoSizeHeaders"></a>
290 <div class="fixedFont">
291 <b class="itemname">autoSizeHeaders</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
297 <div class="short">True to measure headers with column data when auto sizing columns.</div>
301 <div class="long">True to measure headers with column data when auto sizing columns. Default is true.</div>
309 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
315 <tr class="config-row expandable config-row-alt0">
316 <td class="micon"><a class="exi" href="#expand"> </a></td>
319 <a id="Roo.grid.Grid-cfg-autoWidth" name=".autoWidth"></a>
320 <div class="fixedFont">
321 <b class="itemname">autoWidth</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
327 <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>
331 <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>
339 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
345 <tr class="config-row expandable config-row-alt1 notInherited">
346 <td class="micon"><a class="exi" href="#expand"> </a></td>
349 <a id="Roo.grid.EditorGrid-cfg-clicksToEdit" name=".clicksToEdit"></a>
350 <div class="fixedFont">
351 <b class="itemname">clicksToEdit</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
357 <div class="short">The number of clicks on a cell required to display the cell's editor (defaults to 2)</div>
361 <div class="long">The number of clicks on a cell required to display the cell's editor (defaults to 2)</div>
375 <tr class="config-row expandable config-row-alt0">
376 <td class="micon"><a class="exi" href="#expand"> </a></td>
379 <a id="Roo.grid.Grid-cfg-enableColumnHide" name=".enableColumnHide"></a>
380 <div class="fixedFont">
381 <b class="itemname">enableColumnHide</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
387 <div class="short">True to enable hiding of columns with the header context menu.</div>
391 <div class="long">True to enable hiding of columns with the header context menu. Default is true.</div>
399 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
405 <tr class="config-row expandable config-row-alt1">
406 <td class="micon"><a class="exi" href="#expand"> </a></td>
409 <a id="Roo.grid.Grid-cfg-enableColumnMove" name=".enableColumnMove"></a>
410 <div class="fixedFont">
411 <b class="itemname">enableColumnMove</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
417 <div class="short">True to enable drag and drop reorder of columns.</div>
421 <div class="long">True to enable drag and drop reorder of columns. Default is true.</div>
429 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
435 <tr class="config-row expandable config-row-alt0">
436 <td class="micon"><a class="exi" href="#expand"> </a></td>
439 <a id="Roo.grid.Grid-cfg-enableDragDrop" name=".enableDragDrop"></a>
440 <div class="fixedFont">
441 <b class="itemname">enableDragDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
447 <div class="short">True to enable drag and drop of rows.</div>
451 <div class="long">True to enable drag and drop of rows. Default is false.</div>
459 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
465 <tr class="config-row expandable config-row-alt1">
466 <td class="micon"><a class="exi" href="#expand"> </a></td>
469 <a id="Roo.grid.Grid-cfg-enableRowHeightSync" name=".enableRowHeightSync"></a>
470 <div class="fixedFont">
471 <b class="itemname">enableRowHeightSync</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
477 <div class="short">True to manually sync row heights across locked and not locked rows.</div>
481 <div class="long">True to manually sync row heights across locked and not locked rows. Default is false.</div>
489 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
495 <tr class="config-row expandable config-row-alt0">
496 <td class="micon"><a class="exi" href="#expand"> </a></td>
499 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
500 <div class="fixedFont">
501 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
507 <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>
511 <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>
519 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
525 <tr class="config-row expandable config-row-alt1">
526 <td class="micon"><a class="exi" href="#expand"> </a></td>
529 <a id="Roo.grid.Grid-cfg-loadMask" name=".loadMask"></a>
530 <div class="fixedFont">
531 <b class="itemname">loadMask</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
537 <div class="short">An {<b>link</b> Roo.LoadMask} config or true to mask the grid while loading.</div>
541 <div class="long">An {<b>link</b> Roo.LoadMask} config or true to mask the grid while loading. Default is false.</div>
549 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
555 <tr class="config-row expandable config-row-alt0">
556 <td class="micon"><a class="exi" href="#expand"> </a></td>
559 <a id="Roo.grid.Grid-cfg-maxHeight" name=".maxHeight"></a>
560 <div class="fixedFont">
561 <b class="itemname">maxHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
567 <div class="short">Sets the maximum height of the grid - ignored if autoHeight is not on.</div>
571 <div class="long">Sets the maximum height of the grid - ignored if autoHeight is not on.</div>
579 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
585 <tr class="config-row expandable config-row-alt1">
586 <td class="micon"><a class="exi" href="#expand"> </a></td>
589 <a id="Roo.grid.Grid-cfg-maxRowsToMeasure" name=".maxRowsToMeasure"></a>
590 <div class="fixedFont">
591 <b class="itemname">maxRowsToMeasure</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
597 <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>
601 <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>
609 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
615 <tr class="config-row expandable config-row-alt0">
616 <td class="micon"><a class="exi" href="#expand"> </a></td>
619 <a id="Roo.grid.Grid-cfg-minColumnWidth" name=".minColumnWidth"></a>
620 <div class="fixedFont">
621 <b class="itemname">minColumnWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
627 <div class="short">The minimum width a column can be resized to.</div>
631 <div class="long">The minimum width a column can be resized to. Default is 25.</div>
639 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
645 <tr class="config-row expandable config-row-alt1">
646 <td class="micon"><a class="exi" href="#expand"> </a></td>
649 <a id="Roo.grid.Grid-cfg-monitorWindowResize" name=".monitorWindowResize"></a>
650 <div class="fixedFont">
651 <b class="itemname">monitorWindowResize</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
657 <div class="short">True to autoSize the grid when the window resizes.</div>
661 <div class="long">True to autoSize the grid when the window resizes. Default is true.</div>
669 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
675 <tr class="config-row expandable config-row-alt0">
676 <td class="micon"><a class="exi" href="#expand"> </a></td>
679 <a id="Roo.grid.Grid-cfg-stripeRows" name=".stripeRows"></a>
680 <div class="fixedFont">
681 <b class="itemname">stripeRows</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
687 <div class="short">True to stripe the rows.</div>
691 <div class="long">True to stripe the rows. Default is true.</div>
699 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
705 <tr class="config-row expandable config-row-alt1">
706 <td class="micon"><a class="exi" href="#expand"> </a></td>
709 <a id="Roo.grid.Grid-cfg-trackMouseOver" name=".trackMouseOver"></a>
710 <div class="fixedFont">
711 <b class="itemname">trackMouseOver</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
717 <div class="short">True to highlight rows when the mouse is over.</div>
721 <div class="long">True to highlight rows when the mouse is over. Default is true.</div>
729 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
735 <tr class="config-row expandable config-row-alt0">
736 <td class="micon"><a class="exi" href="#expand"> </a></td>
739 <a id="Roo.grid.Grid-cfg-view" name=".view"></a>
740 <div class="fixedFont">
741 <b class="itemname">view</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
747 <div class="short">The {<b>link</b> Roo.grid.GridView} used by the grid.</div>
751 <div class="long">The {<b>link</b> Roo.grid.GridView} used by the grid. This can be set before a call to render().</div>
759 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
775 <!-- ============================== public properties ==================== -->
779 <a id="Roo.grid.EditorGrid-props"></a>
785 <table cellspacing="0" class="member-table">
786 <caption class="Empty">Public Properties - Has None</caption>
792 <!-- ============================== methods summary / details ======================== -->
795 <a id="Roo.grid.EditorGrid-methods"></a>
796 <!-- constructor?? -->
803 <!-- then dynamics first -->
810 <table cellspacing="0" class="member-table">
811 <caption>Public Methods</caption>
813 <th class="sig-header" colspan="2">Method</th>
814 <th class="msource-header">Defined By</th>
824 <tr class="method-row config-row-alt0 expandable notInherited">
825 <td class="micon"><a class="exi" href="#expand"> </a></td>
829 <a id="Roo.grid-method-EditorGrid" name=".EditorGrid"></a>
830 <div class="fixedFont">
831 <span class="attributes">new <B>Roo.grid.</B></span><b class="itemname">EditorGrid</b>
833 (<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>dataSource</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>colModel</i></B>)
841 <div class="short">Create a new Roo.grid.EditorGrid</div>
848 Create a new Roo.grid.EditorGrid
851 <dl class="detailList">
852 <dt class="heading">Parameters:</dt>
855 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>container</b>
858 <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>
861 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>dataSource</b>
864 <dd>The data model to bind to</dd>
867 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>colModel</b>
870 <dd>The column model with info about this grid's columns</dd>
894 <tr class="method-row config-row-alt1 expandable">
895 <td class="micon"><a class="exi" href="#expand"> </a></td>
899 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
900 <div class="fixedFont">
901 <span class="attributes"></span><b class="itemname">addEvents</b>
903 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
910 <div class="short">Used to define events on this Observable</div>
916 Used to define events on this Observable
923 <dl class="detailList">
924 <dt class="heading">Parameters:</dt>
927 <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>
930 <dd>The object with the events defined</dd>
950 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
956 <tr class="method-row config-row-alt0 expandable">
957 <td class="micon"><a class="exi" href="#expand"> </a></td>
961 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
962 <div class="fixedFont">
963 <span class="attributes"></span><b class="itemname">addListener</b>
965 (<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>)
972 <div class="short">Appends an event handler to this component</div>
978 Appends an event handler to this component
985 <dl class="detailList">
986 <dt class="heading">Parameters:</dt>
989 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
992 <dd>The type of event to listen for</dd>
995 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
998 <dd>The method the event invokes</dd>
1001 <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>
1004 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1007 <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>
1010 <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>
1028 <td class="msource">
1030 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1036 <tr class="method-row config-row-alt1 expandable">
1037 <td class="micon"><a class="exi" href="#expand"> </a></td>
1041 <a id="Roo.grid.Grid-method-autoSize" name=".autoSize"></a>
1042 <div class="fixedFont">
1043 <span class="attributes"></span><b class="itemname">autoSize</b>
1052 <div class="short">Causes the grid to manually recalculate its dimensions.</div>
1058 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.
1079 <td class="msource">
1081 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1087 <tr class="method-row config-row-alt0 expandable">
1088 <td class="micon"><a class="exi" href="#expand"> </a></td>
1092 <a id="Roo.grid.Grid-method-destroy" name=".destroy"></a>
1093 <div class="fixedFont">
1094 <span class="attributes"></span><b class="itemname">destroy</b>
1096 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
1103 <div class="short">Destroy this grid.</div>
1116 <dl class="detailList">
1117 <dt class="heading">Parameters:</dt>
1120 <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>
1123 <dd>True to remove the element</dd>
1141 <td class="msource">
1143 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1149 <tr class="method-row config-row-alt1 expandable">
1150 <td class="micon"><a class="exi" href="#expand"> </a></td>
1154 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1155 <div class="fixedFont">
1156 <span class="attributes"></span><b class="itemname">fireEvent</b>
1158 (<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>)
1164 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1173 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1179 Fires the specified event with the passed parameters (minus the event name).
1186 <dl class="detailList">
1187 <dt class="heading">Parameters:</dt>
1190 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1196 <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>
1199 <dd>Variable number of parameters are passed to handlers</dd>
1207 <dl class="detailList">
1208 <dt class="heading">Returns:</dt>
1210 <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>
1224 <td class="msource">
1226 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1232 <tr class="method-row config-row-alt0 expandable">
1233 <td class="micon"><a class="exi" href="#expand"> </a></td>
1237 <a id="Roo.grid.Grid-method-getColumnModel" name=".getColumnModel"></a>
1238 <div class="fixedFont">
1239 <span class="attributes"></span><b class="itemname">getColumnModel</b>
1256 <div class="short">Returns the grid's ColumnModel.</div>
1262 Returns the grid's ColumnModel.
1273 <dl class="detailList">
1274 <dt class="heading">Returns:</dt>
1276 <dd><span class="fixedFont">ColumnModel</span> </dd>
1290 <td class="msource">
1292 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1298 <tr class="method-row config-row-alt1 expandable">
1299 <td class="micon"><a class="exi" href="#expand"> </a></td>
1303 <a id="Roo.grid.Grid-method-getDataSource" name=".getDataSource"></a>
1304 <div class="fixedFont">
1305 <span class="attributes"></span><b class="itemname">getDataSource</b>
1322 <div class="short">Returns the grid's DataSource.</div>
1328 Returns the grid's DataSource.
1339 <dl class="detailList">
1340 <dt class="heading">Returns:</dt>
1342 <dd><span class="fixedFont">DataSource</span> </dd>
1356 <td class="msource">
1358 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1364 <tr class="method-row config-row-alt0 expandable">
1365 <td class="micon"><a class="exi" href="#expand"> </a></td>
1369 <a id="Roo.grid.Grid-method-getDragDropText" name=".getDragDropText"></a>
1370 <div class="fixedFont">
1371 <span class="attributes"></span><b class="itemname">getDragDropText</b>
1379 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1388 <div class="short">Called to get grid's drag proxy text, by default returns this.ddText.</div>
1394 Called to get grid's drag proxy text, by default returns this.ddText.
1405 <dl class="detailList">
1406 <dt class="heading">Returns:</dt>
1408 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1422 <td class="msource">
1424 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1430 <tr class="method-row config-row-alt1 expandable">
1431 <td class="micon"><a class="exi" href="#expand"> </a></td>
1435 <a id="Roo.grid.Grid-method-getGridEl" name=".getGridEl"></a>
1436 <div class="fixedFont">
1437 <span class="attributes"></span><b class="itemname">getGridEl</b>
1454 <div class="short">Returns the grid's underlying element.</div>
1460 Returns the grid's underlying element.
1471 <dl class="detailList">
1472 <dt class="heading">Returns:</dt>
1474 <dd><span class="fixedFont">Element</span> The element</dd>
1488 <td class="msource">
1490 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1496 <tr class="method-row config-row-alt0 expandable">
1497 <td class="micon"><a class="exi" href="#expand"> </a></td>
1501 <a id="Roo.grid.Grid-method-getSelectionModel" name=".getSelectionModel"></a>
1502 <div class="fixedFont">
1503 <span class="attributes"></span><b class="itemname">getSelectionModel</b>
1520 <div class="short">Returns the grid's SelectionModel.</div>
1526 Returns the grid's SelectionModel.
1537 <dl class="detailList">
1538 <dt class="heading">Returns:</dt>
1540 <dd><span class="fixedFont">SelectionModel</span> </dd>
1554 <td class="msource">
1556 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1562 <tr class="method-row config-row-alt1 expandable">
1563 <td class="micon"><a class="exi" href="#expand"> </a></td>
1567 <a id="Roo.grid.Grid-method-getView" name=".getView"></a>
1568 <div class="fixedFont">
1569 <span class="attributes"></span><b class="itemname">getView</b>
1586 <div class="short">Returns the grid's GridView object.</div>
1592 Returns the grid's GridView object.
1603 <dl class="detailList">
1604 <dt class="heading">Returns:</dt>
1606 <dd><span class="fixedFont">GridView</span> </dd>
1620 <td class="msource">
1622 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1628 <tr class="method-row config-row-alt0 expandable">
1629 <td class="micon"><a class="exi" href="#expand"> </a></td>
1633 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1634 <div class="fixedFont">
1635 <span class="attributes"></span><b class="itemname">hasListener</b>
1637 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1643 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1652 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1658 Checks to see if this object has any listeners for a specified event
1665 <dl class="detailList">
1666 <dt class="heading">Parameters:</dt>
1669 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1672 <dd>The name of the event to check for</dd>
1680 <dl class="detailList">
1681 <dt class="heading">Returns:</dt>
1683 <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>
1697 <td class="msource">
1699 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1705 <tr class="method-row config-row-alt1 expandable">
1706 <td class="micon"><a class="exi" href="#expand"> </a></td>
1710 <a id="Roo.util.Observable-method-on" name=".on"></a>
1711 <div class="fixedFont">
1712 <span class="attributes"></span><b class="itemname">on</b>
1714 (<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>)
1721 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1727 Appends an event handler to this element (shorthand for addListener)
1734 <dl class="detailList">
1735 <dt class="heading">Parameters:</dt>
1738 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1741 <dd>The type of event to listen for</dd>
1744 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1747 <dd>The method the event invokes</dd>
1750 <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>
1753 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1756 <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>
1777 <td class="msource">
1779 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1785 <tr class="method-row config-row-alt0 expandable">
1786 <td class="micon"><a class="exi" href="#expand"> </a></td>
1790 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1791 <div class="fixedFont">
1792 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1801 <div class="short">Removes all listeners for this object</div>
1807 Removes all listeners for this object
1828 <td class="msource">
1830 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1836 <tr class="method-row config-row-alt1 expandable">
1837 <td class="micon"><a class="exi" href="#expand"> </a></td>
1841 <a id="Roo.grid.Grid-method-reconfigure" name=".reconfigure"></a>
1842 <div class="fixedFont">
1843 <span class="attributes"></span><b class="itemname">reconfigure</b>
1845 (<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>)
1852 <div class="short">Reconfigures the grid to use a different Store and Column Model.</div>
1858 Reconfigures the grid to use a different Store and Column Model.<br/>The View will be bound to the new objects and refreshed.
1865 <dl class="detailList">
1866 <dt class="heading">Parameters:</dt>
1869 <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>
1872 <dd>The new {<b>link</b> Roo.data.Store} object</dd>
1875 <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>
1878 <dd>new {<b>link</b> Roo.grid.ColumnModel} object</dd>
1896 <td class="msource">
1898 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1904 <tr class="method-row config-row-alt0 expandable">
1905 <td class="micon"><a class="exi" href="#expand"> </a></td>
1909 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1910 <div class="fixedFont">
1911 <span class="attributes"></span><b class="itemname">removeListener</b>
1913 (<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>)
1920 <div class="short">Removes a listener</div>
1933 <dl class="detailList">
1934 <dt class="heading">Parameters:</dt>
1937 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1940 <dd>The type of event to listen for</dd>
1943 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1946 <dd>The handler to remove</dd>
1949 <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>
1952 <dd>(optional) The scope (this object) for the handler</dd>
1970 <td class="msource">
1972 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1978 <tr class="method-row config-row-alt1 expandable">
1979 <td class="micon"><a class="exi" href="#expand"> </a></td>
1983 <a id="Roo.grid.Grid-method-render" name=".render"></a>
1984 <div class="fixedFont">
1985 <span class="attributes"></span><b class="itemname">render</b>
1993 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2002 <div class="short">Called once after all setup has been completed and the grid is ready to be rendered.</div>
2008 Called once after all setup has been completed and the grid is ready to be rendered.
2019 <dl class="detailList">
2020 <dt class="heading">Returns:</dt>
2022 <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>
2036 <td class="msource">
2038 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2044 <tr class="method-row config-row-alt0 expandable notInherited">
2045 <td class="micon"><a class="exi" href="#expand"> </a></td>
2049 <a id="Roo.grid.EditorGrid-method-startEditing" name=".startEditing"></a>
2050 <div class="fixedFont">
2051 <span class="attributes"></span><b class="itemname">startEditing</b>
2053 (<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>)
2060 <div class="short">Starts editing the specified for the specified row/column</div>
2066 Starts editing the specified for the specified row/column
2073 <dl class="detailList">
2074 <dt class="heading">Parameters:</dt>
2077 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2083 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>colIndex</b>
2104 <td class="msource">
2112 <tr class="method-row config-row-alt1 expandable notInherited">
2113 <td class="micon"><a class="exi" href="#expand"> </a></td>
2117 <a id="Roo.grid.EditorGrid-method-stopEditing" name=".stopEditing"></a>
2118 <div class="fixedFont">
2119 <span class="attributes"></span><b class="itemname">stopEditing</b>
2128 <div class="short">Stops any active editing</div>
2134 Stops any active editing
2155 <td class="msource">
2163 <tr class="method-row config-row-alt0 expandable">
2164 <td class="micon"><a class="exi" href="#expand"> </a></td>
2168 <a id="Roo.util.Observable-method-un" name=".un"></a>
2169 <div class="fixedFont">
2170 <span class="attributes"></span><b class="itemname">un</b>
2172 (<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>)
2179 <div class="short">Removes a listener (shorthand for removeListener)</div>
2185 Removes a listener (shorthand for removeListener)
2192 <dl class="detailList">
2193 <dt class="heading">Parameters:</dt>
2196 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2199 <dd>The type of event to listen for</dd>
2202 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2205 <dd>The handler to remove</dd>
2208 <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>
2211 <dd>(optional) The scope (this object) for the handler</dd>
2229 <td class="msource">
2231 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2240 <!-- ============================== events summary / details ======================== -->
2243 <a id="Roo.grid.EditorGrid-events"></a>
2252 <table cellspacing="0" class="member-table">
2253 <caption>Events</caption>
2256 <th class="sig-header" colspan="2">Event</th>
2257 <th class="msource-header">Defined By</th>
2266 <tr class="method-row expandable config-row-alt0 notInherited">
2267 <td class="micon"><a class="exi" href="#expand"> </a></td>
2270 <a id="Roo.grid.EditorGrid-event-*afteredit"></a>
2272 <div class="fixedFont">
2273 <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>)
2279 <div class="short">Fires after a cell is edited.
2285 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>
2291 <dl class="detailList">
2292 <dt class="heading">Parameters:</dt>
2295 <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>
2298 <dd>An edit event (see above for description)</dd>
2316 <td class="msource">
2321 <tr class="method-row expandable config-row-alt1 notInherited">
2322 <td class="micon"><a class="exi" href="#expand"> </a></td>
2325 <a id="Roo.grid.EditorGrid-event-*beforeedit"></a>
2327 <div class="fixedFont">
2328 <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>)
2334 <div class="short">Fires before cell editing is triggered.
2340 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>
2346 <dl class="detailList">
2347 <dt class="heading">Parameters:</dt>
2350 <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>
2353 <dd>An edit event (see above for description)</dd>
2371 <td class="msource">
2376 <tr class="method-row expandable config-row-alt0">
2377 <td class="micon"><a class="exi" href="#expand"> </a></td>
2380 <a id="Roo.grid.Grid-event-*bodyscroll"></a>
2382 <div class="fixedFont">
2383 <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>)
2389 <div class="short">Fires when the body element is scrolled
2395 Fires when the body element is scrolled
2401 <dl class="detailList">
2402 <dt class="heading">Parameters:</dt>
2405 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>scrollLeft</b>
2411 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>scrollTop</b>
2432 <td class="msource">
2433 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2437 <tr class="method-row expandable config-row-alt1">
2438 <td class="micon"><a class="exi" href="#expand"> </a></td>
2441 <a id="Roo.grid.Grid-event-*cellclick"></a>
2443 <div class="fixedFont">
2444 <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>)
2450 <div class="short">Fires when a cell is clicked
2456 Fires when a cell is clicked
2462 <dl class="detailList">
2463 <dt class="heading">Parameters:</dt>
2466 <span class="fixedFont">Grid</span> <b>this</b>
2472 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2478 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2484 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2505 <td class="msource">
2506 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2510 <tr class="method-row expandable config-row-alt0">
2511 <td class="micon"><a class="exi" href="#expand"> </a></td>
2514 <a id="Roo.grid.Grid-event-*cellcontextmenu"></a>
2516 <div class="fixedFont">
2517 <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>)
2523 <div class="short">Fires when a cell is right clicked
2529 Fires when a cell is right clicked
2535 <dl class="detailList">
2536 <dt class="heading">Parameters:</dt>
2539 <span class="fixedFont">Grid</span> <b>this</b>
2545 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2551 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>cellIndex</b>
2557 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2578 <td class="msource">
2579 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2583 <tr class="method-row expandable config-row-alt1">
2584 <td class="micon"><a class="exi" href="#expand"> </a></td>
2587 <a id="Roo.grid.Grid-event-*celldblclick"></a>
2589 <div class="fixedFont">
2590 <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>)
2596 <div class="short">Fires when a cell is double clicked
2602 Fires when a cell is double clicked
2608 <dl class="detailList">
2609 <dt class="heading">Parameters:</dt>
2612 <span class="fixedFont">Grid</span> <b>this</b>
2618 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2624 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2630 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2651 <td class="msource">
2652 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2656 <tr class="method-row expandable config-row-alt0">
2657 <td class="micon"><a class="exi" href="#expand"> </a></td>
2660 <a id="Roo.grid.Grid-event-*click"></a>
2662 <div class="fixedFont">
2663 <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>)
2669 <div class="short">The raw click event for the entire grid.
2675 The raw click event for the entire grid.
2681 <dl class="detailList">
2682 <dt class="heading">Parameters:</dt>
2685 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2706 <td class="msource">
2707 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2711 <tr class="method-row expandable config-row-alt1">
2712 <td class="micon"><a class="exi" href="#expand"> </a></td>
2715 <a id="Roo.grid.Grid-event-*columnmove"></a>
2717 <div class="fixedFont">
2718 <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>)
2724 <div class="short">Fires when the user moves a column
2730 Fires when the user moves a column
2736 <dl class="detailList">
2737 <dt class="heading">Parameters:</dt>
2740 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>oldIndex</b>
2746 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newIndex</b>
2767 <td class="msource">
2768 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2772 <tr class="method-row expandable config-row-alt0">
2773 <td class="micon"><a class="exi" href="#expand"> </a></td>
2776 <a id="Roo.grid.Grid-event-*columnresize"></a>
2778 <div class="fixedFont">
2779 <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>)
2785 <div class="short">Fires when the user resizes a column
2791 Fires when the user resizes a column
2797 <dl class="detailList">
2798 <dt class="heading">Parameters:</dt>
2801 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2807 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newSize</b>
2828 <td class="msource">
2829 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2833 <tr class="method-row expandable config-row-alt1">
2834 <td class="micon"><a class="exi" href="#expand"> </a></td>
2837 <a id="Roo.grid.Grid-event-*contextmenu"></a>
2839 <div class="fixedFont">
2840 <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>)
2846 <div class="short">The raw contextmenu event for the entire grid.
2852 The raw contextmenu event for the entire grid.
2858 <dl class="detailList">
2859 <dt class="heading">Parameters:</dt>
2862 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2883 <td class="msource">
2884 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2888 <tr class="method-row expandable config-row-alt0">
2889 <td class="micon"><a class="exi" href="#expand"> </a></td>
2892 <a id="Roo.grid.Grid-event-*dblclick"></a>
2894 <div class="fixedFont">
2895 <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>)
2901 <div class="short">The raw dblclick event for the entire grid.
2907 The raw dblclick event for the entire grid.
2913 <dl class="detailList">
2914 <dt class="heading">Parameters:</dt>
2917 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2938 <td class="msource">
2939 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2943 <tr class="method-row expandable config-row-alt1">
2944 <td class="micon"><a class="exi" href="#expand"> </a></td>
2947 <a id="Roo.grid.Grid-event-*dragdrop"></a>
2949 <div class="fixedFont">
2950 <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>)
2956 <div class="short">Fires when dragged row(s) are dropped on a valid DD target
2962 Fires when dragged row(s) are dropped on a valid DD target
2968 <dl class="detailList">
2969 <dt class="heading">Parameters:</dt>
2972 <span class="fixedFont">Grid</span> <b>this</b>
2978 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
2981 <dd>The drag drop object</dd>
2984 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
2987 <dd>The target drag drop object</dd>
2990 <span class="fixedFont">event</span> <b>e</b>
2993 <dd>The raw browser event</dd>
3011 <td class="msource">
3012 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3016 <tr class="method-row expandable config-row-alt0">
3017 <td class="micon"><a class="exi" href="#expand"> </a></td>
3020 <a id="Roo.grid.Grid-event-*dragenter
3021 Fires when the dragged row(s) first cross another DD target while being dragged"></a>
3023 <div class="fixedFont">
3024 <b class="itemname">dragenter
3025 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>)
3043 <dl class="detailList">
3044 <dt class="heading">Parameters:</dt>
3047 <span class="fixedFont">Grid</span> <b>this</b>
3053 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3056 <dd>The drag drop object</dd>
3059 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3062 <dd>The target drag drop object</dd>
3065 <span class="fixedFont">event</span> <b>e</b>
3068 <dd>The raw browser event</dd>
3086 <td class="msource">
3087 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3091 <tr class="method-row expandable config-row-alt1">
3092 <td class="micon"><a class="exi" href="#expand"> </a></td>
3095 <a id="Roo.grid.Grid-event-*dragout"></a>
3097 <div class="fixedFont">
3098 <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>)
3104 <div class="short">Fires when the dragged row(s) leave another DD target while being dragged
3110 Fires when the dragged row(s) leave another DD target while being dragged
3116 <dl class="detailList">
3117 <dt class="heading">Parameters:</dt>
3120 <span class="fixedFont">Grid</span> <b>this</b>
3126 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3129 <dd>The drag drop object</dd>
3132 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3135 <dd>The target drag drop object</dd>
3138 <span class="fixedFont">event</span> <b>e</b>
3141 <dd>The raw browser event</dd>
3159 <td class="msource">
3160 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3164 <tr class="method-row expandable config-row-alt0">
3165 <td class="micon"><a class="exi" href="#expand"> </a></td>
3168 <a id="Roo.grid.Grid-event-*dragover"></a>
3170 <div class="fixedFont">
3171 <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>)
3177 <div class="short">Fires while row(s) are being dragged.
3183 Fires while row(s) are being dragged. "targetId" is the id of the Yahoo.util.DD object the selected rows are being dragged over.
3189 <dl class="detailList">
3190 <dt class="heading">Parameters:</dt>
3193 <span class="fixedFont">Grid</span> <b>this</b>
3199 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3202 <dd>The drag drop object</dd>
3205 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3208 <dd>The target drag drop object</dd>
3211 <span class="fixedFont">event</span> <b>e</b>
3214 <dd>The raw browser event</dd>
3232 <td class="msource">
3233 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3237 <tr class="method-row expandable config-row-alt1">
3238 <td class="micon"><a class="exi" href="#expand"> </a></td>
3241 <a id="Roo.grid.Grid-event-*enddrag"></a>
3243 <div class="fixedFont">
3244 <b class="itemname">enddrag</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, event <B><i>e</i></B>)
3250 <div class="short">Fires when a drag operation is complete
3256 Fires when a drag operation is complete
3262 <dl class="detailList">
3263 <dt class="heading">Parameters:</dt>
3266 <span class="fixedFont">Grid</span> <b>this</b>
3272 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3275 <dd>The drag drop object</dd>
3278 <span class="fixedFont">event</span> <b>e</b>
3281 <dd>The raw browser event</dd>
3299 <td class="msource">
3300 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3304 <tr class="method-row expandable config-row-alt0">
3305 <td class="micon"><a class="exi" href="#expand"> </a></td>
3308 <a id="Roo.grid.Grid-event-*headerclick"></a>
3310 <div class="fixedFont">
3311 <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>)
3317 <div class="short">Fires when a header is clicked
3323 Fires when a header is clicked
3329 <dl class="detailList">
3330 <dt class="heading">Parameters:</dt>
3333 <span class="fixedFont">Grid</span> <b>this</b>
3339 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3345 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3366 <td class="msource">
3367 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3371 <tr class="method-row expandable config-row-alt1">
3372 <td class="micon"><a class="exi" href="#expand"> </a></td>
3375 <a id="Roo.grid.Grid-event-*headercontextmenu"></a>
3377 <div class="fixedFont">
3378 <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>)
3384 <div class="short">Fires when a header is right clicked
3390 Fires when a header is right clicked
3396 <dl class="detailList">
3397 <dt class="heading">Parameters:</dt>
3400 <span class="fixedFont">Grid</span> <b>this</b>
3406 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3412 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3433 <td class="msource">
3434 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3438 <tr class="method-row expandable config-row-alt0">
3439 <td class="micon"><a class="exi" href="#expand"> </a></td>
3442 <a id="Roo.grid.Grid-event-*headerdblclick"></a>
3444 <div class="fixedFont">
3445 <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>)
3451 <div class="short">Fires when a header cell is double clicked
3457 Fires when a header cell is double clicked
3463 <dl class="detailList">
3464 <dt class="heading">Parameters:</dt>
3467 <span class="fixedFont">Grid</span> <b>this</b>
3473 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3479 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3500 <td class="msource">
3501 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3505 <tr class="method-row expandable config-row-alt1">
3506 <td class="micon"><a class="exi" href="#expand"> </a></td>
3509 <a id="Roo.grid.Grid-event-*keydown"></a>
3511 <div class="fixedFont">
3512 <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>)
3518 <div class="short">The raw keydown event for the entire grid.
3524 The raw keydown event for the entire grid.
3530 <dl class="detailList">
3531 <dt class="heading">Parameters:</dt>
3534 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3555 <td class="msource">
3556 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3560 <tr class="method-row expandable config-row-alt0">
3561 <td class="micon"><a class="exi" href="#expand"> </a></td>
3564 <a id="Roo.grid.Grid-event-*keypress"></a>
3566 <div class="fixedFont">
3567 <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>)
3573 <div class="short">The raw keypress event for the entire grid.
3579 The raw keypress event for the entire grid.
3585 <dl class="detailList">
3586 <dt class="heading">Parameters:</dt>
3589 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3610 <td class="msource">
3611 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3615 <tr class="method-row expandable config-row-alt1">
3616 <td class="micon"><a class="exi" href="#expand"> </a></td>
3619 <a id="Roo.grid.Grid-event-*mousedown"></a>
3621 <div class="fixedFont">
3622 <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>)
3628 <div class="short">The raw mousedown event for the entire grid.
3634 The raw mousedown event for the entire grid.
3640 <dl class="detailList">
3641 <dt class="heading">Parameters:</dt>
3644 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3665 <td class="msource">
3666 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3670 <tr class="method-row expandable config-row-alt0">
3671 <td class="micon"><a class="exi" href="#expand"> </a></td>
3674 <a id="Roo.grid.Grid-event-*mouseout"></a>
3676 <div class="fixedFont">
3677 <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>)
3683 <div class="short">The raw mouseout event for the entire grid.
3689 The raw mouseout event for the entire grid.
3695 <dl class="detailList">
3696 <dt class="heading">Parameters:</dt>
3699 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3720 <td class="msource">
3721 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3725 <tr class="method-row expandable config-row-alt1">
3726 <td class="micon"><a class="exi" href="#expand"> </a></td>
3729 <a id="Roo.grid.Grid-event-*mouseover"></a>
3731 <div class="fixedFont">
3732 <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>)
3738 <div class="short">The raw mouseover event for the entire grid.
3744 The raw mouseover event for the entire grid.
3750 <dl class="detailList">
3751 <dt class="heading">Parameters:</dt>
3754 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3775 <td class="msource">
3776 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3780 <tr class="method-row expandable config-row-alt0">
3781 <td class="micon"><a class="exi" href="#expand"> </a></td>
3784 <a id="Roo.grid.Grid-event-*mouseup"></a>
3786 <div class="fixedFont">
3787 <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>)
3793 <div class="short">The raw mouseup event for the entire grid.
3799 The raw mouseup event for the entire grid.
3805 <dl class="detailList">
3806 <dt class="heading">Parameters:</dt>
3809 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3830 <td class="msource">
3831 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3835 <tr class="method-row expandable config-row-alt1">
3836 <td class="micon"><a class="exi" href="#expand"> </a></td>
3839 <a id="Roo.grid.Grid-event-*render"></a>
3841 <div class="fixedFont">
3842 <b class="itemname">render</b> (Grid <B><i>grid</i></B>)
3848 <div class="short">Fires when the grid is rendered
3854 Fires when the grid is rendered
3860 <dl class="detailList">
3861 <dt class="heading">Parameters:</dt>
3864 <span class="fixedFont">Grid</span> <b>grid</b>
3885 <td class="msource">
3886 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3890 <tr class="method-row expandable config-row-alt0">
3891 <td class="micon"><a class="exi" href="#expand"> </a></td>
3894 <a id="Roo.grid.Grid-event-*rowclick"></a>
3896 <div class="fixedFont">
3897 <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>)
3903 <div class="short">Fires when a row is clicked
3909 Fires when a row is clicked
3915 <dl class="detailList">
3916 <dt class="heading">Parameters:</dt>
3919 <span class="fixedFont">Grid</span> <b>this</b>
3925 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
3931 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3952 <td class="msource">
3953 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3957 <tr class="method-row expandable config-row-alt1">
3958 <td class="micon"><a class="exi" href="#expand"> </a></td>
3961 <a id="Roo.grid.Grid-event-*rowcontextmenu"></a>
3963 <div class="fixedFont">
3964 <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>)
3970 <div class="short">Fires when a row is right clicked
3976 Fires when a row is right clicked
3982 <dl class="detailList">
3983 <dt class="heading">Parameters:</dt>
3986 <span class="fixedFont">Grid</span> <b>this</b>
3992 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
3998 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4019 <td class="msource">
4020 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4024 <tr class="method-row expandable config-row-alt0">
4025 <td class="micon"><a class="exi" href="#expand"> </a></td>
4028 <a id="Roo.grid.Grid-event-*rowdblclick"></a>
4030 <div class="fixedFont">
4031 <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>)
4037 <div class="short">Fires when a row is double clicked
4043 Fires when a row is double clicked
4049 <dl class="detailList">
4050 <dt class="heading">Parameters:</dt>
4053 <span class="fixedFont">Grid</span> <b>this</b>
4059 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4065 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4086 <td class="msource">
4087 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4091 <tr class="method-row expandable config-row-alt1">
4092 <td class="micon"><a class="exi" href="#expand"> </a></td>
4095 <a id="Roo.grid.Grid-event-*startdrag"></a>
4097 <div class="fixedFont">
4098 <b class="itemname">startdrag</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, event <B><i>e</i></B>)
4104 <div class="short">Fires when row(s) start being dragged
4110 Fires when row(s) start being dragged
4116 <dl class="detailList">
4117 <dt class="heading">Parameters:</dt>
4120 <span class="fixedFont">Grid</span> <b>this</b>
4126 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
4129 <dd>The drag drop object</dd>
4132 <span class="fixedFont">event</span> <b>e</b>
4135 <dd>The raw browser event</dd>
4153 <td class="msource">
4154 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4158 <tr class="method-row expandable config-row-alt0 notInherited">
4159 <td class="micon"><a class="exi" href="#expand"> </a></td>
4162 <a id="Roo.grid.EditorGrid-event-*validateedit"></a>
4164 <div class="fixedFont">
4165 <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>)
4171 <div class="short">Fires after a cell is edited, but before the value is set in the record.
4177 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>
4183 <dl class="detailList">
4184 <dt class="heading">Parameters:</dt>
4187 <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>
4190 <dd>An edit event (see above for description)</dd>
4208 <td class="msource">
4220 <!-- ============================== footer ================================= -->
4221 <div class="fineprint" style="clear:both">
4223 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Tue Jul 27 2010 11:05:08 GMT+0800 (HKT)
4225 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>