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-ddGroup" name=".ddGroup"></a>
380 <div class="fixedFont">
381 <b class="itemname">ddGroup</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
387 <div class="short">- drag drop group.</div>
391 <div class="long">- drag drop group.</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-enableColumnHide" name=".enableColumnHide"></a>
410 <div class="fixedFont">
411 <b class="itemname">enableColumnHide</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 hiding of columns with the header context menu.</div>
421 <div class="long">True to enable hiding of columns with the header context menu. 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-enableColumnMove" name=".enableColumnMove"></a>
440 <div class="fixedFont">
441 <b class="itemname">enableColumnMove</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 reorder of columns.</div>
451 <div class="long">True to enable drag and drop reorder of columns. Default is true.</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-enableDrag" name=".enableDrag"></a>
470 <div class="fixedFont">
471 <b class="itemname">enableDrag</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 enable drag of rows.</div>
481 <div class="long">True to enable drag of rows. Default is false. (double check if this is needed?)</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.grid.Grid-cfg-enableDragDrop" name=".enableDragDrop"></a>
500 <div class="fixedFont">
501 <b class="itemname">enableDragDrop</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
507 <div class="short">True to enable drag and drop of rows.</div>
511 <div class="long">True to enable drag and drop of rows. Default is false.</div>
519 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</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-enableRowHeightSync" name=".enableRowHeightSync"></a>
530 <div class="fixedFont">
531 <b class="itemname">enableRowHeightSync</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
537 <div class="short">True to manually sync row heights across locked and not locked rows.</div>
541 <div class="long">True to manually sync row heights across locked and not locked rows. 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.util.Observable-cfg-listeners" name=".listeners"></a>
560 <div class="fixedFont">
561 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
567 <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>
571 <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>
579 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</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-loadMask" name=".loadMask"></a>
590 <div class="fixedFont">
591 <b class="itemname">loadMask</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
597 <div class="short">An {<b>link</b> Roo.LoadMask} config or true to mask the grid while loading.</div>
601 <div class="long">An {<b>link</b> Roo.LoadMask} config or true to mask the grid while loading. Default is false.</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-maxHeight" name=".maxHeight"></a>
620 <div class="fixedFont">
621 <b class="itemname">maxHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
627 <div class="short">Sets the maximum height of the grid - ignored if autoHeight is not on.</div>
631 <div class="long">Sets the maximum height of the grid - ignored if autoHeight is not on.</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-maxRowsToMeasure" name=".maxRowsToMeasure"></a>
650 <div class="fixedFont">
651 <b class="itemname">maxRowsToMeasure</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
657 <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>
661 <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>
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-minColumnWidth" name=".minColumnWidth"></a>
680 <div class="fixedFont">
681 <b class="itemname">minColumnWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
687 <div class="short">The minimum width a column can be resized to.</div>
691 <div class="long">The minimum width a column can be resized to. Default is 25.</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-monitorWindowResize" name=".monitorWindowResize"></a>
710 <div class="fixedFont">
711 <b class="itemname">monitorWindowResize</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 autoSize the grid when the window resizes.</div>
721 <div class="long">True to autoSize the grid when the window resizes. 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-stripeRows" name=".stripeRows"></a>
740 <div class="fixedFont">
741 <b class="itemname">stripeRows</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
747 <div class="short">True to stripe the rows.</div>
751 <div class="long">True to stripe the rows. Default is true.</div>
759 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
765 <tr class="config-row expandable config-row-alt1">
766 <td class="micon"><a class="exi" href="#expand"> </a></td>
769 <a id="Roo.grid.Grid-cfg-trackMouseOver" name=".trackMouseOver"></a>
770 <div class="fixedFont">
771 <b class="itemname">trackMouseOver</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
777 <div class="short">True to highlight rows when the mouse is over.</div>
781 <div class="long">True to highlight rows when the mouse is over. Default is true.</div>
789 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
795 <tr class="config-row expandable config-row-alt0">
796 <td class="micon"><a class="exi" href="#expand"> </a></td>
799 <a id="Roo.grid.Grid-cfg-view" name=".view"></a>
800 <div class="fixedFont">
801 <b class="itemname">view</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
807 <div class="short">The {<b>link</b> Roo.grid.GridView} used by the grid.</div>
811 <div class="long">The {<b>link</b> Roo.grid.GridView} used by the grid. This can be set before a call to render().</div>
819 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
835 <!-- ============================== public properties ==================== -->
839 <a id="Roo.grid.EditorGrid-props"></a>
845 <table cellspacing="0" class="member-table">
846 <caption class="Empty">Public Properties - Has None</caption>
852 <!-- ============================== methods summary / details ======================== -->
855 <a id="Roo.grid.EditorGrid-methods"></a>
856 <!-- constructor?? -->
863 <!-- then dynamics first -->
870 <table cellspacing="0" class="member-table">
871 <caption>Public Methods</caption>
873 <th class="sig-header" colspan="2">Method</th>
874 <th class="msource-header">Defined By</th>
884 <tr class="method-row config-row-alt0 expandable notInherited">
885 <td class="micon"><a class="exi" href="#expand"> </a></td>
889 <a id="Roo.grid-method-EditorGrid" name=".EditorGrid"></a>
890 <div class="fixedFont">
891 <span class="attributes">new <B>Roo.grid.</B></span><b class="itemname">EditorGrid</b>
893 (<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>)
901 <div class="short">Create a new Roo.grid.EditorGrid</div>
908 Create a new Roo.grid.EditorGrid
911 <dl class="detailList">
912 <dt class="heading">Parameters:</dt>
915 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>container</b>
918 <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>
921 <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>
924 <dd>The data model to bind to</dd>
927 <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>
930 <dd>The column model with info about this grid's columns</dd>
954 <tr class="method-row config-row-alt1 expandable">
955 <td class="micon"><a class="exi" href="#expand"> </a></td>
959 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
960 <div class="fixedFont">
961 <span class="attributes"></span><b class="itemname">addEvents</b>
963 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
970 <div class="short">Used to define events on this Observable</div>
976 Used to define events on this Observable
983 <dl class="detailList">
984 <dt class="heading">Parameters:</dt>
987 <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>
990 <dd>The object with the events defined</dd>
1008 <td class="msource">
1010 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1016 <tr class="method-row config-row-alt0 expandable">
1017 <td class="micon"><a class="exi" href="#expand"> </a></td>
1021 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1022 <div class="fixedFont">
1023 <span class="attributes"></span><b class="itemname">addListener</b>
1025 (<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>)
1032 <div class="short">Appends an event handler to this component</div>
1038 Appends an event handler to this component
1045 <dl class="detailList">
1046 <dt class="heading">Parameters:</dt>
1049 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1052 <dd>The type of event to listen for</dd>
1055 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1058 <dd>The method the event invokes</dd>
1061 <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>
1064 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1067 <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>
1070 <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>
1088 <td class="msource">
1090 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1096 <tr class="method-row config-row-alt1 expandable">
1097 <td class="micon"><a class="exi" href="#expand"> </a></td>
1101 <a id="Roo.grid.Grid-method-autoSize" name=".autoSize"></a>
1102 <div class="fixedFont">
1103 <span class="attributes"></span><b class="itemname">autoSize</b>
1112 <div class="short">Causes the grid to manually recalculate its dimensions.</div>
1118 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.
1139 <td class="msource">
1141 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1147 <tr class="method-row config-row-alt0 expandable">
1148 <td class="micon"><a class="exi" href="#expand"> </a></td>
1152 <a id="Roo.grid.Grid-method-destroy" name=".destroy"></a>
1153 <div class="fixedFont">
1154 <span class="attributes"></span><b class="itemname">destroy</b>
1156 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
1163 <div class="short">Destroy this grid.</div>
1176 <dl class="detailList">
1177 <dt class="heading">Parameters:</dt>
1180 <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>
1183 <dd>True to remove the element</dd>
1201 <td class="msource">
1203 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1209 <tr class="method-row config-row-alt1 expandable">
1210 <td class="micon"><a class="exi" href="#expand"> </a></td>
1214 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1215 <div class="fixedFont">
1216 <span class="attributes"></span><b class="itemname">fireEvent</b>
1218 (<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>)
1224 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1233 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1239 Fires the specified event with the passed parameters (minus the event name).
1246 <dl class="detailList">
1247 <dt class="heading">Parameters:</dt>
1250 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1256 <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>
1259 <dd>Variable number of parameters are passed to handlers</dd>
1267 <dl class="detailList">
1268 <dt class="heading">Returns:</dt>
1270 <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>
1284 <td class="msource">
1286 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1292 <tr class="method-row config-row-alt0 expandable">
1293 <td class="micon"><a class="exi" href="#expand"> </a></td>
1297 <a id="Roo.grid.Grid-method-getColumnModel" name=".getColumnModel"></a>
1298 <div class="fixedFont">
1299 <span class="attributes"></span><b class="itemname">getColumnModel</b>
1316 <div class="short">Returns the grid's ColumnModel.</div>
1322 Returns the grid's ColumnModel.
1333 <dl class="detailList">
1334 <dt class="heading">Returns:</dt>
1336 <dd><span class="fixedFont">ColumnModel</span> </dd>
1350 <td class="msource">
1352 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1358 <tr class="method-row config-row-alt1 expandable">
1359 <td class="micon"><a class="exi" href="#expand"> </a></td>
1363 <a id="Roo.grid.Grid-method-getDataSource" name=".getDataSource"></a>
1364 <div class="fixedFont">
1365 <span class="attributes"></span><b class="itemname">getDataSource</b>
1382 <div class="short">Returns the grid's DataSource.</div>
1388 Returns the grid's DataSource.
1399 <dl class="detailList">
1400 <dt class="heading">Returns:</dt>
1402 <dd><span class="fixedFont">DataSource</span> </dd>
1416 <td class="msource">
1418 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1424 <tr class="method-row config-row-alt0 expandable">
1425 <td class="micon"><a class="exi" href="#expand"> </a></td>
1429 <a id="Roo.grid.Grid-method-getDragDropText" name=".getDragDropText"></a>
1430 <div class="fixedFont">
1431 <span class="attributes"></span><b class="itemname">getDragDropText</b>
1439 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1448 <div class="short">Called to get grid's drag proxy text, by default returns this.ddText.</div>
1454 Called to get grid's drag proxy text, by default returns this.ddText.
1465 <dl class="detailList">
1466 <dt class="heading">Returns:</dt>
1468 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1482 <td class="msource">
1484 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1490 <tr class="method-row config-row-alt1 expandable">
1491 <td class="micon"><a class="exi" href="#expand"> </a></td>
1495 <a id="Roo.grid.Grid-method-getGridEl" name=".getGridEl"></a>
1496 <div class="fixedFont">
1497 <span class="attributes"></span><b class="itemname">getGridEl</b>
1514 <div class="short">Returns the grid's underlying element.</div>
1520 Returns the grid's underlying element.
1531 <dl class="detailList">
1532 <dt class="heading">Returns:</dt>
1534 <dd><span class="fixedFont">Element</span> The element</dd>
1548 <td class="msource">
1550 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1556 <tr class="method-row config-row-alt0 expandable">
1557 <td class="micon"><a class="exi" href="#expand"> </a></td>
1561 <a id="Roo.grid.Grid-method-getSelectionModel" name=".getSelectionModel"></a>
1562 <div class="fixedFont">
1563 <span class="attributes"></span><b class="itemname">getSelectionModel</b>
1580 <div class="short">Returns the grid's SelectionModel.</div>
1586 Returns the grid's SelectionModel.
1597 <dl class="detailList">
1598 <dt class="heading">Returns:</dt>
1600 <dd><span class="fixedFont">SelectionModel</span> </dd>
1614 <td class="msource">
1616 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1622 <tr class="method-row config-row-alt1 expandable">
1623 <td class="micon"><a class="exi" href="#expand"> </a></td>
1627 <a id="Roo.grid.Grid-method-getView" name=".getView"></a>
1628 <div class="fixedFont">
1629 <span class="attributes"></span><b class="itemname">getView</b>
1646 <div class="short">Returns the grid's GridView object.</div>
1652 Returns the grid's GridView object.
1663 <dl class="detailList">
1664 <dt class="heading">Returns:</dt>
1666 <dd><span class="fixedFont">GridView</span> </dd>
1680 <td class="msource">
1682 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1688 <tr class="method-row config-row-alt0 expandable">
1689 <td class="micon"><a class="exi" href="#expand"> </a></td>
1693 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1694 <div class="fixedFont">
1695 <span class="attributes"></span><b class="itemname">hasListener</b>
1697 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1703 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1712 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1718 Checks to see if this object has any listeners for a specified event
1725 <dl class="detailList">
1726 <dt class="heading">Parameters:</dt>
1729 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1732 <dd>The name of the event to check for</dd>
1740 <dl class="detailList">
1741 <dt class="heading">Returns:</dt>
1743 <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>
1757 <td class="msource">
1759 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1765 <tr class="method-row config-row-alt1 expandable">
1766 <td class="micon"><a class="exi" href="#expand"> </a></td>
1770 <a id="Roo.util.Observable-method-on" name=".on"></a>
1771 <div class="fixedFont">
1772 <span class="attributes"></span><b class="itemname">on</b>
1774 (<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>)
1781 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1787 Appends an event handler to this element (shorthand for addListener)
1794 <dl class="detailList">
1795 <dt class="heading">Parameters:</dt>
1798 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1801 <dd>The type of event to listen for</dd>
1804 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1807 <dd>The method the event invokes</dd>
1810 <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>
1813 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1816 <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>
1837 <td class="msource">
1839 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1845 <tr class="method-row config-row-alt0 expandable">
1846 <td class="micon"><a class="exi" href="#expand"> </a></td>
1850 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1851 <div class="fixedFont">
1852 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1861 <div class="short">Removes all listeners for this object</div>
1867 Removes all listeners for this object
1888 <td class="msource">
1890 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1896 <tr class="method-row config-row-alt1 expandable">
1897 <td class="micon"><a class="exi" href="#expand"> </a></td>
1901 <a id="Roo.grid.Grid-method-reconfigure" name=".reconfigure"></a>
1902 <div class="fixedFont">
1903 <span class="attributes"></span><b class="itemname">reconfigure</b>
1905 (<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>)
1912 <div class="short">Reconfigures the grid to use a different Store and Column Model.</div>
1918 Reconfigures the grid to use a different Store and Column Model.<br/>The View will be bound to the new objects and refreshed.
1925 <dl class="detailList">
1926 <dt class="heading">Parameters:</dt>
1929 <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>
1932 <dd>The new {<b>link</b> Roo.data.Store} object</dd>
1935 <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>
1938 <dd>new {<b>link</b> Roo.grid.ColumnModel} object</dd>
1956 <td class="msource">
1958 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1964 <tr class="method-row config-row-alt0 expandable">
1965 <td class="micon"><a class="exi" href="#expand"> </a></td>
1969 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1970 <div class="fixedFont">
1971 <span class="attributes"></span><b class="itemname">removeListener</b>
1973 (<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>)
1980 <div class="short">Removes a listener</div>
1993 <dl class="detailList">
1994 <dt class="heading">Parameters:</dt>
1997 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2000 <dd>The type of event to listen for</dd>
2003 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2006 <dd>The handler to remove</dd>
2009 <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>
2012 <dd>(optional) The scope (this object) for the handler</dd>
2030 <td class="msource">
2032 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2038 <tr class="method-row config-row-alt1 expandable">
2039 <td class="micon"><a class="exi" href="#expand"> </a></td>
2043 <a id="Roo.grid.Grid-method-render" name=".render"></a>
2044 <div class="fixedFont">
2045 <span class="attributes"></span><b class="itemname">render</b>
2053 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2062 <div class="short">Called once after all setup has been completed and the grid is ready to be rendered.</div>
2068 Called once after all setup has been completed and the grid is ready to be rendered.
2079 <dl class="detailList">
2080 <dt class="heading">Returns:</dt>
2082 <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>
2096 <td class="msource">
2098 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2104 <tr class="method-row config-row-alt0 expandable notInherited">
2105 <td class="micon"><a class="exi" href="#expand"> </a></td>
2109 <a id="Roo.grid.EditorGrid-method-startEditing" name=".startEditing"></a>
2110 <div class="fixedFont">
2111 <span class="attributes"></span><b class="itemname">startEditing</b>
2113 (<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>)
2120 <div class="short">Starts editing the specified for the specified row/column</div>
2126 Starts editing the specified for the specified row/column
2133 <dl class="detailList">
2134 <dt class="heading">Parameters:</dt>
2137 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2143 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>colIndex</b>
2164 <td class="msource">
2172 <tr class="method-row config-row-alt1 expandable notInherited">
2173 <td class="micon"><a class="exi" href="#expand"> </a></td>
2177 <a id="Roo.grid.EditorGrid-method-stopEditing" name=".stopEditing"></a>
2178 <div class="fixedFont">
2179 <span class="attributes"></span><b class="itemname">stopEditing</b>
2188 <div class="short">Stops any active editing</div>
2194 Stops any active editing
2215 <td class="msource">
2223 <tr class="method-row config-row-alt0 expandable">
2224 <td class="micon"><a class="exi" href="#expand"> </a></td>
2228 <a id="Roo.util.Observable-method-un" name=".un"></a>
2229 <div class="fixedFont">
2230 <span class="attributes"></span><b class="itemname">un</b>
2232 (<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>)
2239 <div class="short">Removes a listener (shorthand for removeListener)</div>
2245 Removes a listener (shorthand for removeListener)
2252 <dl class="detailList">
2253 <dt class="heading">Parameters:</dt>
2256 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2259 <dd>The type of event to listen for</dd>
2262 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2265 <dd>The handler to remove</dd>
2268 <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>
2271 <dd>(optional) The scope (this object) for the handler</dd>
2289 <td class="msource">
2291 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2300 <!-- ============================== events summary / details ======================== -->
2303 <a id="Roo.grid.EditorGrid-events"></a>
2312 <table cellspacing="0" class="member-table">
2313 <caption>Events</caption>
2316 <th class="sig-header" colspan="2">Event</th>
2317 <th class="msource-header">Defined By</th>
2326 <tr class="method-row expandable config-row-alt0 notInherited">
2327 <td class="micon"><a class="exi" href="#expand"> </a></td>
2330 <a id="Roo.grid.EditorGrid-event-*afteredit"></a>
2332 <div class="fixedFont">
2333 <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>)
2339 <div class="short">Fires after a cell is edited.
2345 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>
2351 <dl class="detailList">
2352 <dt class="heading">Parameters:</dt>
2355 <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>
2358 <dd>An edit event (see above for description)</dd>
2376 <td class="msource">
2381 <tr class="method-row expandable config-row-alt1 notInherited">
2382 <td class="micon"><a class="exi" href="#expand"> </a></td>
2385 <a id="Roo.grid.EditorGrid-event-*beforeedit"></a>
2387 <div class="fixedFont">
2388 <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>)
2394 <div class="short">Fires before cell editing is triggered.
2400 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>
2406 <dl class="detailList">
2407 <dt class="heading">Parameters:</dt>
2410 <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>
2413 <dd>An edit event (see above for description)</dd>
2431 <td class="msource">
2436 <tr class="method-row expandable config-row-alt0">
2437 <td class="micon"><a class="exi" href="#expand"> </a></td>
2440 <a id="Roo.grid.Grid-event-*bodyscroll"></a>
2442 <div class="fixedFont">
2443 <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>)
2449 <div class="short">Fires when the body element is scrolled
2455 Fires when the body element is scrolled
2461 <dl class="detailList">
2462 <dt class="heading">Parameters:</dt>
2465 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>scrollLeft</b>
2471 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>scrollTop</b>
2492 <td class="msource">
2493 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2497 <tr class="method-row expandable config-row-alt1">
2498 <td class="micon"><a class="exi" href="#expand"> </a></td>
2501 <a id="Roo.grid.Grid-event-*cellclick"></a>
2503 <div class="fixedFont">
2504 <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>)
2510 <div class="short">Fires when a cell is clicked
2516 Fires when a cell is clicked
2522 <dl class="detailList">
2523 <dt class="heading">Parameters:</dt>
2526 <span class="fixedFont">Grid</span> <b>this</b>
2532 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2538 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2544 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2565 <td class="msource">
2566 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2570 <tr class="method-row expandable config-row-alt0">
2571 <td class="micon"><a class="exi" href="#expand"> </a></td>
2574 <a id="Roo.grid.Grid-event-*cellcontextmenu"></a>
2576 <div class="fixedFont">
2577 <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>)
2583 <div class="short">Fires when a cell is right clicked
2589 Fires when a cell is right clicked
2595 <dl class="detailList">
2596 <dt class="heading">Parameters:</dt>
2599 <span class="fixedFont">Grid</span> <b>this</b>
2605 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2611 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>cellIndex</b>
2617 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2638 <td class="msource">
2639 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2643 <tr class="method-row expandable config-row-alt1">
2644 <td class="micon"><a class="exi" href="#expand"> </a></td>
2647 <a id="Roo.grid.Grid-event-*celldblclick"></a>
2649 <div class="fixedFont">
2650 <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>)
2656 <div class="short">Fires when a cell is double clicked
2662 Fires when a cell is double clicked
2668 <dl class="detailList">
2669 <dt class="heading">Parameters:</dt>
2672 <span class="fixedFont">Grid</span> <b>this</b>
2678 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2684 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2690 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2711 <td class="msource">
2712 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2716 <tr class="method-row expandable config-row-alt0">
2717 <td class="micon"><a class="exi" href="#expand"> </a></td>
2720 <a id="Roo.grid.Grid-event-*click"></a>
2722 <div class="fixedFont">
2723 <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>)
2729 <div class="short">The raw click event for the entire grid.
2735 The raw click event for the entire grid.
2741 <dl class="detailList">
2742 <dt class="heading">Parameters:</dt>
2745 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2766 <td class="msource">
2767 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2771 <tr class="method-row expandable config-row-alt1">
2772 <td class="micon"><a class="exi" href="#expand"> </a></td>
2775 <a id="Roo.grid.Grid-event-*columnmove"></a>
2777 <div class="fixedFont">
2778 <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>)
2784 <div class="short">Fires when the user moves a column
2790 Fires when the user moves a column
2796 <dl class="detailList">
2797 <dt class="heading">Parameters:</dt>
2800 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>oldIndex</b>
2806 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newIndex</b>
2827 <td class="msource">
2828 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2832 <tr class="method-row expandable config-row-alt0">
2833 <td class="micon"><a class="exi" href="#expand"> </a></td>
2836 <a id="Roo.grid.Grid-event-*columnresize"></a>
2838 <div class="fixedFont">
2839 <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>)
2845 <div class="short">Fires when the user resizes a column
2851 Fires when the user resizes a column
2857 <dl class="detailList">
2858 <dt class="heading">Parameters:</dt>
2861 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2867 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newSize</b>
2888 <td class="msource">
2889 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2893 <tr class="method-row expandable config-row-alt1">
2894 <td class="micon"><a class="exi" href="#expand"> </a></td>
2897 <a id="Roo.grid.Grid-event-*contextmenu"></a>
2899 <div class="fixedFont">
2900 <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>)
2906 <div class="short">The raw contextmenu event for the entire grid.
2912 The raw contextmenu event for the entire grid.
2918 <dl class="detailList">
2919 <dt class="heading">Parameters:</dt>
2922 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2943 <td class="msource">
2944 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2948 <tr class="method-row expandable config-row-alt0">
2949 <td class="micon"><a class="exi" href="#expand"> </a></td>
2952 <a id="Roo.grid.Grid-event-*dblclick"></a>
2954 <div class="fixedFont">
2955 <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>)
2961 <div class="short">The raw dblclick event for the entire grid.
2967 The raw dblclick event for the entire grid.
2973 <dl class="detailList">
2974 <dt class="heading">Parameters:</dt>
2977 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2998 <td class="msource">
2999 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3003 <tr class="method-row expandable config-row-alt1">
3004 <td class="micon"><a class="exi" href="#expand"> </a></td>
3007 <a id="Roo.grid.Grid-event-*dragdrop"></a>
3009 <div class="fixedFont">
3010 <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>)
3016 <div class="short">Fires when dragged row(s) are dropped on a valid DD target
3022 Fires when dragged row(s) are dropped on a valid DD target
3028 <dl class="detailList">
3029 <dt class="heading">Parameters:</dt>
3032 <span class="fixedFont">Grid</span> <b>this</b>
3038 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3041 <dd>The drag drop object</dd>
3044 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3047 <dd>The target drag drop object</dd>
3050 <span class="fixedFont">event</span> <b>e</b>
3053 <dd>The raw browser event</dd>
3071 <td class="msource">
3072 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3076 <tr class="method-row expandable config-row-alt0">
3077 <td class="micon"><a class="exi" href="#expand"> </a></td>
3080 <a id="Roo.grid.Grid-event-*dragenter
3081 Fires when the dragged row(s) first cross another DD target while being dragged"></a>
3083 <div class="fixedFont">
3084 <b class="itemname">dragenter
3085 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>)
3103 <dl class="detailList">
3104 <dt class="heading">Parameters:</dt>
3107 <span class="fixedFont">Grid</span> <b>this</b>
3113 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3116 <dd>The drag drop object</dd>
3119 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3122 <dd>The target drag drop object</dd>
3125 <span class="fixedFont">event</span> <b>e</b>
3128 <dd>The raw browser event</dd>
3146 <td class="msource">
3147 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3151 <tr class="method-row expandable config-row-alt1">
3152 <td class="micon"><a class="exi" href="#expand"> </a></td>
3155 <a id="Roo.grid.Grid-event-*dragout"></a>
3157 <div class="fixedFont">
3158 <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>)
3164 <div class="short">Fires when the dragged row(s) leave another DD target while being dragged
3170 Fires when the dragged row(s) leave another DD target while being dragged
3176 <dl class="detailList">
3177 <dt class="heading">Parameters:</dt>
3180 <span class="fixedFont">Grid</span> <b>this</b>
3186 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3189 <dd>The drag drop object</dd>
3192 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3195 <dd>The target drag drop object</dd>
3198 <span class="fixedFont">event</span> <b>e</b>
3201 <dd>The raw browser event</dd>
3219 <td class="msource">
3220 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3224 <tr class="method-row expandable config-row-alt0">
3225 <td class="micon"><a class="exi" href="#expand"> </a></td>
3228 <a id="Roo.grid.Grid-event-*dragover"></a>
3230 <div class="fixedFont">
3231 <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>)
3237 <div class="short">Fires while row(s) are being dragged.
3243 Fires while row(s) are being dragged. "targetId" is the id of the Yahoo.util.DD object the selected rows are being dragged over.
3249 <dl class="detailList">
3250 <dt class="heading">Parameters:</dt>
3253 <span class="fixedFont">Grid</span> <b>this</b>
3259 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3262 <dd>The drag drop object</dd>
3265 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3268 <dd>The target drag drop object</dd>
3271 <span class="fixedFont">event</span> <b>e</b>
3274 <dd>The raw browser event</dd>
3292 <td class="msource">
3293 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3297 <tr class="method-row expandable config-row-alt1">
3298 <td class="micon"><a class="exi" href="#expand"> </a></td>
3301 <a id="Roo.grid.Grid-event-*enddrag"></a>
3303 <div class="fixedFont">
3304 <b class="itemname">enddrag</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, event <B><i>e</i></B>)
3310 <div class="short">Fires when a drag operation is complete
3316 Fires when a drag operation is complete
3322 <dl class="detailList">
3323 <dt class="heading">Parameters:</dt>
3326 <span class="fixedFont">Grid</span> <b>this</b>
3332 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3335 <dd>The drag drop object</dd>
3338 <span class="fixedFont">event</span> <b>e</b>
3341 <dd>The raw browser event</dd>
3359 <td class="msource">
3360 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3364 <tr class="method-row expandable config-row-alt0">
3365 <td class="micon"><a class="exi" href="#expand"> </a></td>
3368 <a id="Roo.grid.Grid-event-*headerclick"></a>
3370 <div class="fixedFont">
3371 <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>)
3377 <div class="short">Fires when a header is clicked
3383 Fires when a header is clicked
3389 <dl class="detailList">
3390 <dt class="heading">Parameters:</dt>
3393 <span class="fixedFont">Grid</span> <b>this</b>
3399 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3405 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3426 <td class="msource">
3427 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3431 <tr class="method-row expandable config-row-alt1">
3432 <td class="micon"><a class="exi" href="#expand"> </a></td>
3435 <a id="Roo.grid.Grid-event-*headercontextmenu"></a>
3437 <div class="fixedFont">
3438 <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>)
3444 <div class="short">Fires when a header is right clicked
3450 Fires when a header is right clicked
3456 <dl class="detailList">
3457 <dt class="heading">Parameters:</dt>
3460 <span class="fixedFont">Grid</span> <b>this</b>
3466 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3472 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3493 <td class="msource">
3494 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3498 <tr class="method-row expandable config-row-alt0">
3499 <td class="micon"><a class="exi" href="#expand"> </a></td>
3502 <a id="Roo.grid.Grid-event-*headerdblclick"></a>
3504 <div class="fixedFont">
3505 <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>)
3511 <div class="short">Fires when a header cell is double clicked
3517 Fires when a header cell is double clicked
3523 <dl class="detailList">
3524 <dt class="heading">Parameters:</dt>
3527 <span class="fixedFont">Grid</span> <b>this</b>
3533 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3539 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3560 <td class="msource">
3561 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3565 <tr class="method-row expandable config-row-alt1">
3566 <td class="micon"><a class="exi" href="#expand"> </a></td>
3569 <a id="Roo.grid.Grid-event-*keydown"></a>
3571 <div class="fixedFont">
3572 <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>)
3578 <div class="short">The raw keydown event for the entire grid.
3584 The raw keydown event for the entire grid.
3590 <dl class="detailList">
3591 <dt class="heading">Parameters:</dt>
3594 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3615 <td class="msource">
3616 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3620 <tr class="method-row expandable config-row-alt0">
3621 <td class="micon"><a class="exi" href="#expand"> </a></td>
3624 <a id="Roo.grid.Grid-event-*keypress"></a>
3626 <div class="fixedFont">
3627 <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>)
3633 <div class="short">The raw keypress event for the entire grid.
3639 The raw keypress event for the entire grid.
3645 <dl class="detailList">
3646 <dt class="heading">Parameters:</dt>
3649 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3670 <td class="msource">
3671 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3675 <tr class="method-row expandable config-row-alt1">
3676 <td class="micon"><a class="exi" href="#expand"> </a></td>
3679 <a id="Roo.grid.Grid-event-*mousedown"></a>
3681 <div class="fixedFont">
3682 <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>)
3688 <div class="short">The raw mousedown event for the entire grid.
3694 The raw mousedown event for the entire grid.
3700 <dl class="detailList">
3701 <dt class="heading">Parameters:</dt>
3704 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3725 <td class="msource">
3726 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3730 <tr class="method-row expandable config-row-alt0">
3731 <td class="micon"><a class="exi" href="#expand"> </a></td>
3734 <a id="Roo.grid.Grid-event-*mouseout"></a>
3736 <div class="fixedFont">
3737 <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>)
3743 <div class="short">The raw mouseout event for the entire grid.
3749 The raw mouseout event for the entire grid.
3755 <dl class="detailList">
3756 <dt class="heading">Parameters:</dt>
3759 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3780 <td class="msource">
3781 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3785 <tr class="method-row expandable config-row-alt1">
3786 <td class="micon"><a class="exi" href="#expand"> </a></td>
3789 <a id="Roo.grid.Grid-event-*mouseover"></a>
3791 <div class="fixedFont">
3792 <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>)
3798 <div class="short">The raw mouseover event for the entire grid.
3804 The raw mouseover event for the entire grid.
3810 <dl class="detailList">
3811 <dt class="heading">Parameters:</dt>
3814 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3835 <td class="msource">
3836 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3840 <tr class="method-row expandable config-row-alt0">
3841 <td class="micon"><a class="exi" href="#expand"> </a></td>
3844 <a id="Roo.grid.Grid-event-*mouseup"></a>
3846 <div class="fixedFont">
3847 <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>)
3853 <div class="short">The raw mouseup event for the entire grid.
3859 The raw mouseup event for the entire grid.
3865 <dl class="detailList">
3866 <dt class="heading">Parameters:</dt>
3869 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3890 <td class="msource">
3891 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3895 <tr class="method-row expandable config-row-alt1">
3896 <td class="micon"><a class="exi" href="#expand"> </a></td>
3899 <a id="Roo.grid.Grid-event-*render"></a>
3901 <div class="fixedFont">
3902 <b class="itemname">render</b> (Grid <B><i>grid</i></B>)
3908 <div class="short">Fires when the grid is rendered
3914 Fires when the grid is rendered
3920 <dl class="detailList">
3921 <dt class="heading">Parameters:</dt>
3924 <span class="fixedFont">Grid</span> <b>grid</b>
3945 <td class="msource">
3946 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3950 <tr class="method-row expandable config-row-alt0">
3951 <td class="micon"><a class="exi" href="#expand"> </a></td>
3954 <a id="Roo.grid.Grid-event-*rowclick"></a>
3956 <div class="fixedFont">
3957 <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>)
3963 <div class="short">Fires when a row is clicked
3969 Fires when a row is clicked
3975 <dl class="detailList">
3976 <dt class="heading">Parameters:</dt>
3979 <span class="fixedFont">Grid</span> <b>this</b>
3985 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
3991 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4012 <td class="msource">
4013 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4017 <tr class="method-row expandable config-row-alt1">
4018 <td class="micon"><a class="exi" href="#expand"> </a></td>
4021 <a id="Roo.grid.Grid-event-*rowcontextmenu"></a>
4023 <div class="fixedFont">
4024 <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>)
4030 <div class="short">Fires when a row is right clicked
4036 Fires when a row is right clicked
4042 <dl class="detailList">
4043 <dt class="heading">Parameters:</dt>
4046 <span class="fixedFont">Grid</span> <b>this</b>
4052 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4058 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4079 <td class="msource">
4080 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4084 <tr class="method-row expandable config-row-alt0">
4085 <td class="micon"><a class="exi" href="#expand"> </a></td>
4088 <a id="Roo.grid.Grid-event-*rowdblclick"></a>
4090 <div class="fixedFont">
4091 <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>)
4097 <div class="short">Fires when a row is double clicked
4103 Fires when a row is double clicked
4109 <dl class="detailList">
4110 <dt class="heading">Parameters:</dt>
4113 <span class="fixedFont">Grid</span> <b>this</b>
4119 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4125 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4146 <td class="msource">
4147 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4151 <tr class="method-row expandable config-row-alt1">
4152 <td class="micon"><a class="exi" href="#expand"> </a></td>
4155 <a id="Roo.grid.Grid-event-*startdrag"></a>
4157 <div class="fixedFont">
4158 <b class="itemname">startdrag</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, event <B><i>e</i></B>)
4164 <div class="short">Fires when row(s) start being dragged
4170 Fires when row(s) start being dragged
4176 <dl class="detailList">
4177 <dt class="heading">Parameters:</dt>
4180 <span class="fixedFont">Grid</span> <b>this</b>
4186 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
4189 <dd>The drag drop object</dd>
4192 <span class="fixedFont">event</span> <b>e</b>
4195 <dd>The raw browser event</dd>
4213 <td class="msource">
4214 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4218 <tr class="method-row expandable config-row-alt0 notInherited">
4219 <td class="micon"><a class="exi" href="#expand"> </a></td>
4222 <a id="Roo.grid.EditorGrid-event-*validateedit"></a>
4224 <div class="fixedFont">
4225 <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>)
4231 <div class="short">Fires after a cell is edited, but before the value is set in the record.
4237 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>
4243 <dl class="detailList">
4244 <dt class="heading">Parameters:</dt>
4247 <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>
4250 <dd>An edit event (see above for description)</dd>
4268 <td class="msource">
4280 <!-- ============================== footer ================================= -->
4281 <div class="fineprint" style="clear:both">
4283 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)
4285 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>