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-dropTarget" name=".dropTarget"></a>
410 <div class="fixedFont">
411 <b class="itemname">dropTarget</b> : <a href="./Roo.dd.DropTarget.html#constructor" roo:cls="Roo.dd.DropTarget.html#constructor">Roo.dd.DropTarget</a>
417 <div class="short">An {<b>link</b> Roo.dd.DropTarget} config</div>
421 <div class="long">An {<b>link</b> Roo.dd.DropTarget} config</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-enableColumnHide" name=".enableColumnHide"></a>
440 <div class="fixedFont">
441 <b class="itemname">enableColumnHide</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 hiding of columns with the header context menu.</div>
451 <div class="long">True to enable hiding of columns with the header context menu. 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-enableColumnMove" name=".enableColumnMove"></a>
470 <div class="fixedFont">
471 <b class="itemname">enableColumnMove</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 and drop reorder of columns.</div>
481 <div class="long">True to enable drag and drop reorder of columns. Default is true.</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-enableDrag" name=".enableDrag"></a>
500 <div class="fixedFont">
501 <b class="itemname">enableDrag</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 of rows.</div>
511 <div class="long">True to enable drag of rows. Default is false. (double check if this is needed?)</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-enableDragDrop" name=".enableDragDrop"></a>
530 <div class="fixedFont">
531 <b class="itemname">enableDragDrop</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 enable drag and drop of rows.</div>
541 <div class="long">True to enable drag and drop of 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.grid.Grid-cfg-enableRowHeightSync" name=".enableRowHeightSync"></a>
560 <div class="fixedFont">
561 <b class="itemname">enableRowHeightSync</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
567 <div class="short">True to manually sync row heights across locked and not locked rows.</div>
571 <div class="long">True to manually sync row heights across locked and not locked rows. Default is false.</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.util.Observable-cfg-listeners" name=".listeners"></a>
590 <div class="fixedFont">
591 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
597 <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>
601 <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>
609 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</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-loadMask" name=".loadMask"></a>
620 <div class="fixedFont">
621 <b class="itemname">loadMask</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
627 <div class="short">An {<b>link</b> Roo.LoadMask} config or true to mask the grid while loading.</div>
631 <div class="long">An {<b>link</b> Roo.LoadMask} config or true to mask the grid while loading. Default is false.</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-maxHeight" name=".maxHeight"></a>
650 <div class="fixedFont">
651 <b class="itemname">maxHeight</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
657 <div class="short">Sets the maximum height of the grid - ignored if autoHeight is not on.</div>
661 <div class="long">Sets the maximum height of the grid - ignored if autoHeight is not on.</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-maxRowsToMeasure" name=".maxRowsToMeasure"></a>
680 <div class="fixedFont">
681 <b class="itemname">maxRowsToMeasure</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
687 <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>
691 <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>
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-minColumnWidth" name=".minColumnWidth"></a>
710 <div class="fixedFont">
711 <b class="itemname">minColumnWidth</b> : <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
717 <div class="short">The minimum width a column can be resized to.</div>
721 <div class="long">The minimum width a column can be resized to. Default is 25.</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-monitorWindowResize" name=".monitorWindowResize"></a>
740 <div class="fixedFont">
741 <b class="itemname">monitorWindowResize</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 autoSize the grid when the window resizes.</div>
751 <div class="long">True to autoSize the grid when the window resizes. 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-stripeRows" name=".stripeRows"></a>
770 <div class="fixedFont">
771 <b class="itemname">stripeRows</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 stripe the rows.</div>
781 <div class="long">True to stripe the rows. 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-trackMouseOver" name=".trackMouseOver"></a>
800 <div class="fixedFont">
801 <b class="itemname">trackMouseOver</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
807 <div class="short">True to highlight rows when the mouse is over.</div>
811 <div class="long">True to highlight rows when the mouse is over. Default is true.</div>
819 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
825 <tr class="config-row expandable config-row-alt1">
826 <td class="micon"><a class="exi" href="#expand"> </a></td>
829 <a id="Roo.grid.Grid-cfg-view" name=".view"></a>
830 <div class="fixedFont">
831 <b class="itemname">view</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
837 <div class="short">The {<b>link</b> Roo.grid.GridView} used by the grid.</div>
841 <div class="long">The {<b>link</b> Roo.grid.GridView} used by the grid. This can be set before a call to render().</div>
849 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
865 <!-- ============================== public properties ==================== -->
869 <a id="Roo.grid.EditorGrid-props"></a>
875 <table cellspacing="0" class="member-table">
876 <caption class="Empty">Public Properties - Has None</caption>
882 <!-- ============================== methods summary / details ======================== -->
885 <a id="Roo.grid.EditorGrid-methods"></a>
886 <!-- constructor?? -->
893 <!-- then dynamics first -->
900 <table cellspacing="0" class="member-table">
901 <caption>Public Methods</caption>
903 <th class="sig-header" colspan="2">Method</th>
904 <th class="msource-header">Defined By</th>
914 <tr class="method-row config-row-alt0 expandable notInherited">
915 <td class="micon"><a class="exi" href="#expand"> </a></td>
919 <a id="Roo.grid-method-EditorGrid" name=".EditorGrid"></a>
920 <div class="fixedFont">
921 <span class="attributes">new <B>Roo.grid.</B></span><b class="itemname">EditorGrid</b>
923 (<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>)
931 <div class="short">Create a new Roo.grid.EditorGrid</div>
938 Create a new Roo.grid.EditorGrid
941 <dl class="detailList">
942 <dt class="heading">Parameters:</dt>
945 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>container</b>
948 <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>
951 <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>
954 <dd>The data model to bind to</dd>
957 <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>
960 <dd>The column model with info about this grid's columns</dd>
984 <tr class="method-row config-row-alt1 expandable">
985 <td class="micon"><a class="exi" href="#expand"> </a></td>
989 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
990 <div class="fixedFont">
991 <span class="attributes"></span><b class="itemname">addEvents</b>
993 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
1000 <div class="short">Used to define events on this Observable</div>
1006 Used to define events on this Observable
1013 <dl class="detailList">
1014 <dt class="heading">Parameters:</dt>
1017 <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>
1020 <dd>The object with the events defined</dd>
1038 <td class="msource">
1040 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1046 <tr class="method-row config-row-alt0 expandable">
1047 <td class="micon"><a class="exi" href="#expand"> </a></td>
1051 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
1052 <div class="fixedFont">
1053 <span class="attributes"></span><b class="itemname">addListener</b>
1055 (<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>)
1062 <div class="short">Appends an event handler to this component</div>
1068 Appends an event handler to this component
1075 <dl class="detailList">
1076 <dt class="heading">Parameters:</dt>
1079 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1082 <dd>The type of event to listen for</dd>
1085 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1088 <dd>The method the event invokes</dd>
1091 <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>
1094 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1097 <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>
1100 <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>
1118 <td class="msource">
1120 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1126 <tr class="method-row config-row-alt1 expandable">
1127 <td class="micon"><a class="exi" href="#expand"> </a></td>
1131 <a id="Roo.grid.Grid-method-autoSize" name=".autoSize"></a>
1132 <div class="fixedFont">
1133 <span class="attributes"></span><b class="itemname">autoSize</b>
1142 <div class="short">Causes the grid to manually recalculate its dimensions.</div>
1148 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.
1169 <td class="msource">
1171 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1177 <tr class="method-row config-row-alt0 expandable">
1178 <td class="micon"><a class="exi" href="#expand"> </a></td>
1182 <a id="Roo.grid.Grid-method-destroy" name=".destroy"></a>
1183 <div class="fixedFont">
1184 <span class="attributes"></span><b class="itemname">destroy</b>
1186 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
1193 <div class="short">Destroy this grid.</div>
1206 <dl class="detailList">
1207 <dt class="heading">Parameters:</dt>
1210 <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>
1213 <dd>True to remove the element</dd>
1231 <td class="msource">
1233 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1239 <tr class="method-row config-row-alt1 expandable">
1240 <td class="micon"><a class="exi" href="#expand"> </a></td>
1244 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
1245 <div class="fixedFont">
1246 <span class="attributes"></span><b class="itemname">fireEvent</b>
1248 (<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>)
1254 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1263 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
1269 Fires the specified event with the passed parameters (minus the event name).
1276 <dl class="detailList">
1277 <dt class="heading">Parameters:</dt>
1280 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1286 <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>
1289 <dd>Variable number of parameters are passed to handlers</dd>
1297 <dl class="detailList">
1298 <dt class="heading">Returns:</dt>
1300 <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>
1314 <td class="msource">
1316 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1322 <tr class="method-row config-row-alt0 expandable">
1323 <td class="micon"><a class="exi" href="#expand"> </a></td>
1327 <a id="Roo.grid.Grid-method-getColumnModel" name=".getColumnModel"></a>
1328 <div class="fixedFont">
1329 <span class="attributes"></span><b class="itemname">getColumnModel</b>
1346 <div class="short">Returns the grid's ColumnModel.</div>
1352 Returns the grid's ColumnModel.
1363 <dl class="detailList">
1364 <dt class="heading">Returns:</dt>
1366 <dd><span class="fixedFont">ColumnModel</span> </dd>
1380 <td class="msource">
1382 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1388 <tr class="method-row config-row-alt1 expandable">
1389 <td class="micon"><a class="exi" href="#expand"> </a></td>
1393 <a id="Roo.grid.Grid-method-getDataSource" name=".getDataSource"></a>
1394 <div class="fixedFont">
1395 <span class="attributes"></span><b class="itemname">getDataSource</b>
1412 <div class="short">Returns the grid's DataSource.</div>
1418 Returns the grid's DataSource.
1429 <dl class="detailList">
1430 <dt class="heading">Returns:</dt>
1432 <dd><span class="fixedFont">DataSource</span> </dd>
1446 <td class="msource">
1448 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1454 <tr class="method-row config-row-alt0 expandable notInherited">
1455 <td class="micon"><a class="exi" href="#expand"> </a></td>
1459 <a id="Roo.grid.EditorGrid-method-getDragDropText" name=".getDragDropText"></a>
1460 <div class="fixedFont">
1461 <span class="attributes"></span><b class="itemname">getDragDropText</b>
1469 <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>
1478 <div class="short">Called to get grid's drag proxy text, by default returns this.ddText.</div>
1484 Called to get grid's drag proxy text, by default returns this.ddText.
1495 <dl class="detailList">
1496 <dt class="heading">Returns:</dt>
1498 <dd><span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> </dd>
1512 <td class="msource">
1520 <tr class="method-row config-row-alt1 expandable">
1521 <td class="micon"><a class="exi" href="#expand"> </a></td>
1525 <a id="Roo.grid.Grid-method-getGridEl" name=".getGridEl"></a>
1526 <div class="fixedFont">
1527 <span class="attributes"></span><b class="itemname">getGridEl</b>
1544 <div class="short">Returns the grid's underlying element.</div>
1550 Returns the grid's underlying element.
1561 <dl class="detailList">
1562 <dt class="heading">Returns:</dt>
1564 <dd><span class="fixedFont">Element</span> The element</dd>
1578 <td class="msource">
1580 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1586 <tr class="method-row config-row-alt0 expandable">
1587 <td class="micon"><a class="exi" href="#expand"> </a></td>
1591 <a id="Roo.grid.Grid-method-getSelectionModel" name=".getSelectionModel"></a>
1592 <div class="fixedFont">
1593 <span class="attributes"></span><b class="itemname">getSelectionModel</b>
1610 <div class="short">Returns the grid's SelectionModel.</div>
1616 Returns the grid's SelectionModel.
1627 <dl class="detailList">
1628 <dt class="heading">Returns:</dt>
1630 <dd><span class="fixedFont">SelectionModel</span> </dd>
1644 <td class="msource">
1646 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1652 <tr class="method-row config-row-alt1 expandable">
1653 <td class="micon"><a class="exi" href="#expand"> </a></td>
1657 <a id="Roo.grid.Grid-method-getView" name=".getView"></a>
1658 <div class="fixedFont">
1659 <span class="attributes"></span><b class="itemname">getView</b>
1676 <div class="short">Returns the grid's GridView object.</div>
1682 Returns the grid's GridView object.
1693 <dl class="detailList">
1694 <dt class="heading">Returns:</dt>
1696 <dd><span class="fixedFont">GridView</span> </dd>
1710 <td class="msource">
1712 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1718 <tr class="method-row config-row-alt0 expandable">
1719 <td class="micon"><a class="exi" href="#expand"> </a></td>
1723 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1724 <div class="fixedFont">
1725 <span class="attributes"></span><b class="itemname">hasListener</b>
1727 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1733 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1742 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1748 Checks to see if this object has any listeners for a specified event
1755 <dl class="detailList">
1756 <dt class="heading">Parameters:</dt>
1759 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1762 <dd>The name of the event to check for</dd>
1770 <dl class="detailList">
1771 <dt class="heading">Returns:</dt>
1773 <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>
1787 <td class="msource">
1789 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1795 <tr class="method-row config-row-alt1 expandable">
1796 <td class="micon"><a class="exi" href="#expand"> </a></td>
1800 <a id="Roo.util.Observable-method-on" name=".on"></a>
1801 <div class="fixedFont">
1802 <span class="attributes"></span><b class="itemname">on</b>
1804 (<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>)
1811 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1817 Appends an event handler to this element (shorthand for addListener)
1824 <dl class="detailList">
1825 <dt class="heading">Parameters:</dt>
1828 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1831 <dd>The type of event to listen for</dd>
1834 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1837 <dd>The method the event invokes</dd>
1840 <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>
1843 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1846 <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>
1867 <td class="msource">
1869 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1875 <tr class="method-row config-row-alt0 expandable">
1876 <td class="micon"><a class="exi" href="#expand"> </a></td>
1880 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1881 <div class="fixedFont">
1882 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1891 <div class="short">Removes all listeners for this object</div>
1897 Removes all listeners for this object
1918 <td class="msource">
1920 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1926 <tr class="method-row config-row-alt1 expandable">
1927 <td class="micon"><a class="exi" href="#expand"> </a></td>
1931 <a id="Roo.grid.Grid-method-reconfigure" name=".reconfigure"></a>
1932 <div class="fixedFont">
1933 <span class="attributes"></span><b class="itemname">reconfigure</b>
1935 (<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>)
1942 <div class="short">Reconfigures the grid to use a different Store and Column Model.</div>
1948 Reconfigures the grid to use a different Store and Column Model.<br/>The View will be bound to the new objects and refreshed.
1955 <dl class="detailList">
1956 <dt class="heading">Parameters:</dt>
1959 <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>
1962 <dd>The new {<b>link</b> Roo.data.Store} object</dd>
1965 <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>
1968 <dd>new {<b>link</b> Roo.grid.ColumnModel} object</dd>
1986 <td class="msource">
1988 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
1994 <tr class="method-row config-row-alt0 expandable">
1995 <td class="micon"><a class="exi" href="#expand"> </a></td>
1999 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
2000 <div class="fixedFont">
2001 <span class="attributes"></span><b class="itemname">removeListener</b>
2003 (<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>)
2010 <div class="short">Removes a listener</div>
2023 <dl class="detailList">
2024 <dt class="heading">Parameters:</dt>
2027 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2030 <dd>The type of event to listen for</dd>
2033 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2036 <dd>The handler to remove</dd>
2039 <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>
2042 <dd>(optional) The scope (this object) for the handler</dd>
2060 <td class="msource">
2062 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2068 <tr class="method-row config-row-alt1 expandable">
2069 <td class="micon"><a class="exi" href="#expand"> </a></td>
2073 <a id="Roo.grid.Grid-method-render" name=".render"></a>
2074 <div class="fixedFont">
2075 <span class="attributes"></span><b class="itemname">render</b>
2083 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2092 <div class="short">Called once after all setup has been completed and the grid is ready to be rendered.</div>
2098 Called once after all setup has been completed and the grid is ready to be rendered.
2109 <dl class="detailList">
2110 <dt class="heading">Returns:</dt>
2112 <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>
2126 <td class="msource">
2128 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2134 <tr class="method-row config-row-alt0 expandable notInherited">
2135 <td class="micon"><a class="exi" href="#expand"> </a></td>
2139 <a id="Roo.grid.EditorGrid-method-startEditing" name=".startEditing"></a>
2140 <div class="fixedFont">
2141 <span class="attributes"></span><b class="itemname">startEditing</b>
2143 (<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>)
2150 <div class="short">Starts editing the specified for the specified row/column</div>
2156 Starts editing the specified for the specified row/column
2163 <dl class="detailList">
2164 <dt class="heading">Parameters:</dt>
2167 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2173 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>colIndex</b>
2194 <td class="msource">
2202 <tr class="method-row config-row-alt1 expandable notInherited">
2203 <td class="micon"><a class="exi" href="#expand"> </a></td>
2207 <a id="Roo.grid.EditorGrid-method-stopEditing" name=".stopEditing"></a>
2208 <div class="fixedFont">
2209 <span class="attributes"></span><b class="itemname">stopEditing</b>
2218 <div class="short">Stops any active editing</div>
2224 Stops any active editing
2245 <td class="msource">
2253 <tr class="method-row config-row-alt0 expandable">
2254 <td class="micon"><a class="exi" href="#expand"> </a></td>
2258 <a id="Roo.util.Observable-method-un" name=".un"></a>
2259 <div class="fixedFont">
2260 <span class="attributes"></span><b class="itemname">un</b>
2262 (<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>)
2269 <div class="short">Removes a listener (shorthand for removeListener)</div>
2275 Removes a listener (shorthand for removeListener)
2282 <dl class="detailList">
2283 <dt class="heading">Parameters:</dt>
2286 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
2289 <dd>The type of event to listen for</dd>
2292 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
2295 <dd>The handler to remove</dd>
2298 <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>
2301 <dd>(optional) The scope (this object) for the handler</dd>
2319 <td class="msource">
2321 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2330 <!-- ============================== events summary / details ======================== -->
2333 <a id="Roo.grid.EditorGrid-events"></a>
2342 <table cellspacing="0" class="member-table">
2343 <caption>Events</caption>
2346 <th class="sig-header" colspan="2">Event</th>
2347 <th class="msource-header">Defined By</th>
2356 <tr class="method-row expandable config-row-alt0 notInherited">
2357 <td class="micon"><a class="exi" href="#expand"> </a></td>
2360 <a id="Roo.grid.EditorGrid-event-*afteredit"></a>
2362 <div class="fixedFont">
2363 <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>)
2369 <div class="short">Fires after a cell is edited.
2375 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>
2381 <dl class="detailList">
2382 <dt class="heading">Parameters:</dt>
2385 <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>
2388 <dd>An edit event (see above for description)</dd>
2406 <td class="msource">
2411 <tr class="method-row expandable config-row-alt1 notInherited">
2412 <td class="micon"><a class="exi" href="#expand"> </a></td>
2415 <a id="Roo.grid.EditorGrid-event-*beforeedit"></a>
2417 <div class="fixedFont">
2418 <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>)
2424 <div class="short">Fires before cell editing is triggered.
2430 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>
2436 <dl class="detailList">
2437 <dt class="heading">Parameters:</dt>
2440 <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>
2443 <dd>An edit event (see above for description)</dd>
2461 <td class="msource">
2466 <tr class="method-row expandable config-row-alt0">
2467 <td class="micon"><a class="exi" href="#expand"> </a></td>
2470 <a id="Roo.grid.Grid-event-*bodyscroll"></a>
2472 <div class="fixedFont">
2473 <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>)
2479 <div class="short">Fires when the body element is scrolled
2485 Fires when the body element is scrolled
2491 <dl class="detailList">
2492 <dt class="heading">Parameters:</dt>
2495 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>scrollLeft</b>
2501 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>scrollTop</b>
2522 <td class="msource">
2523 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2527 <tr class="method-row expandable config-row-alt1">
2528 <td class="micon"><a class="exi" href="#expand"> </a></td>
2531 <a id="Roo.grid.Grid-event-*cellclick"></a>
2533 <div class="fixedFont">
2534 <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>)
2540 <div class="short">Fires when a cell is clicked
2546 Fires when a cell is clicked
2552 <dl class="detailList">
2553 <dt class="heading">Parameters:</dt>
2556 <span class="fixedFont">Grid</span> <b>this</b>
2562 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2568 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2574 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2595 <td class="msource">
2596 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2600 <tr class="method-row expandable config-row-alt0">
2601 <td class="micon"><a class="exi" href="#expand"> </a></td>
2604 <a id="Roo.grid.Grid-event-*cellcontextmenu"></a>
2606 <div class="fixedFont">
2607 <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>)
2613 <div class="short">Fires when a cell is right clicked
2619 Fires when a cell is right clicked
2625 <dl class="detailList">
2626 <dt class="heading">Parameters:</dt>
2629 <span class="fixedFont">Grid</span> <b>this</b>
2635 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2641 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>cellIndex</b>
2647 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2668 <td class="msource">
2669 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2673 <tr class="method-row expandable config-row-alt1">
2674 <td class="micon"><a class="exi" href="#expand"> </a></td>
2677 <a id="Roo.grid.Grid-event-*celldblclick"></a>
2679 <div class="fixedFont">
2680 <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>)
2686 <div class="short">Fires when a cell is double clicked
2692 Fires when a cell is double clicked
2698 <dl class="detailList">
2699 <dt class="heading">Parameters:</dt>
2702 <span class="fixedFont">Grid</span> <b>this</b>
2708 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2714 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2720 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2741 <td class="msource">
2742 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2746 <tr class="method-row expandable config-row-alt0">
2747 <td class="micon"><a class="exi" href="#expand"> </a></td>
2750 <a id="Roo.grid.Grid-event-*click"></a>
2752 <div class="fixedFont">
2753 <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>)
2759 <div class="short">The raw click event for the entire grid.
2765 The raw click event for the entire grid.
2771 <dl class="detailList">
2772 <dt class="heading">Parameters:</dt>
2775 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2796 <td class="msource">
2797 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2801 <tr class="method-row expandable config-row-alt1">
2802 <td class="micon"><a class="exi" href="#expand"> </a></td>
2805 <a id="Roo.grid.Grid-event-*columnmove"></a>
2807 <div class="fixedFont">
2808 <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>)
2814 <div class="short">Fires when the user moves a column
2820 Fires when the user moves a column
2826 <dl class="detailList">
2827 <dt class="heading">Parameters:</dt>
2830 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>oldIndex</b>
2836 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newIndex</b>
2857 <td class="msource">
2858 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2862 <tr class="method-row expandable config-row-alt0">
2863 <td class="micon"><a class="exi" href="#expand"> </a></td>
2866 <a id="Roo.grid.Grid-event-*columnresize"></a>
2868 <div class="fixedFont">
2869 <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>)
2875 <div class="short">Fires when the user resizes a column
2881 Fires when the user resizes a column
2887 <dl class="detailList">
2888 <dt class="heading">Parameters:</dt>
2891 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
2897 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newSize</b>
2918 <td class="msource">
2919 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2923 <tr class="method-row expandable config-row-alt1">
2924 <td class="micon"><a class="exi" href="#expand"> </a></td>
2927 <a id="Roo.grid.Grid-event-*contextmenu"></a>
2929 <div class="fixedFont">
2930 <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>)
2936 <div class="short">The raw contextmenu event for the entire grid.
2942 The raw contextmenu event for the entire grid.
2948 <dl class="detailList">
2949 <dt class="heading">Parameters:</dt>
2952 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
2973 <td class="msource">
2974 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
2978 <tr class="method-row expandable config-row-alt0">
2979 <td class="micon"><a class="exi" href="#expand"> </a></td>
2982 <a id="Roo.grid.Grid-event-*dblclick"></a>
2984 <div class="fixedFont">
2985 <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>)
2991 <div class="short">The raw dblclick event for the entire grid.
2997 The raw dblclick event for the entire grid.
3003 <dl class="detailList">
3004 <dt class="heading">Parameters:</dt>
3007 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3028 <td class="msource">
3029 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3033 <tr class="method-row expandable config-row-alt1">
3034 <td class="micon"><a class="exi" href="#expand"> </a></td>
3037 <a id="Roo.grid.Grid-event-*dragdrop"></a>
3039 <div class="fixedFont">
3040 <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>)
3046 <div class="short">Fires when dragged row(s) are dropped on a valid DD target
3052 Fires when dragged row(s) are dropped on a valid DD target
3058 <dl class="detailList">
3059 <dt class="heading">Parameters:</dt>
3062 <span class="fixedFont">Grid</span> <b>this</b>
3068 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3071 <dd>The drag drop object</dd>
3074 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3077 <dd>The target drag drop object</dd>
3080 <span class="fixedFont">event</span> <b>e</b>
3083 <dd>The raw browser event</dd>
3101 <td class="msource">
3102 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3106 <tr class="method-row expandable config-row-alt0">
3107 <td class="micon"><a class="exi" href="#expand"> </a></td>
3110 <a id="Roo.grid.Grid-event-*dragenter
3111 Fires when the dragged row(s) first cross another DD target while being dragged"></a>
3113 <div class="fixedFont">
3114 <b class="itemname">dragenter
3115 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>)
3133 <dl class="detailList">
3134 <dt class="heading">Parameters:</dt>
3137 <span class="fixedFont">Grid</span> <b>this</b>
3143 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3146 <dd>The drag drop object</dd>
3149 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3152 <dd>The target drag drop object</dd>
3155 <span class="fixedFont">event</span> <b>e</b>
3158 <dd>The raw browser event</dd>
3176 <td class="msource">
3177 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3181 <tr class="method-row expandable config-row-alt1">
3182 <td class="micon"><a class="exi" href="#expand"> </a></td>
3185 <a id="Roo.grid.Grid-event-*dragout"></a>
3187 <div class="fixedFont">
3188 <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>)
3194 <div class="short">Fires when the dragged row(s) leave another DD target while being dragged
3200 Fires when the dragged row(s) leave another DD target while being dragged
3206 <dl class="detailList">
3207 <dt class="heading">Parameters:</dt>
3210 <span class="fixedFont">Grid</span> <b>this</b>
3216 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3219 <dd>The drag drop object</dd>
3222 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3225 <dd>The target drag drop object</dd>
3228 <span class="fixedFont">event</span> <b>e</b>
3231 <dd>The raw browser event</dd>
3249 <td class="msource">
3250 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3254 <tr class="method-row expandable config-row-alt0">
3255 <td class="micon"><a class="exi" href="#expand"> </a></td>
3258 <a id="Roo.grid.Grid-event-*dragover"></a>
3260 <div class="fixedFont">
3261 <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>)
3267 <div class="short">Fires while row(s) are being dragged.
3273 Fires while row(s) are being dragged. "targetId" is the id of the Yahoo.util.DD object the selected rows are being dragged over.
3279 <dl class="detailList">
3280 <dt class="heading">Parameters:</dt>
3283 <span class="fixedFont">Grid</span> <b>this</b>
3289 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3292 <dd>The drag drop object</dd>
3295 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>targetId</b>
3298 <dd>The target drag drop object</dd>
3301 <span class="fixedFont">event</span> <b>e</b>
3304 <dd>The raw browser event</dd>
3322 <td class="msource">
3323 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3327 <tr class="method-row expandable config-row-alt1">
3328 <td class="micon"><a class="exi" href="#expand"> </a></td>
3331 <a id="Roo.grid.Grid-event-*enddrag"></a>
3333 <div class="fixedFont">
3334 <b class="itemname">enddrag</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, event <B><i>e</i></B>)
3340 <div class="short">Fires when a drag operation is complete
3346 Fires when a drag operation is complete
3352 <dl class="detailList">
3353 <dt class="heading">Parameters:</dt>
3356 <span class="fixedFont">Grid</span> <b>this</b>
3362 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
3365 <dd>The drag drop object</dd>
3368 <span class="fixedFont">event</span> <b>e</b>
3371 <dd>The raw browser event</dd>
3389 <td class="msource">
3390 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3394 <tr class="method-row expandable config-row-alt0">
3395 <td class="micon"><a class="exi" href="#expand"> </a></td>
3398 <a id="Roo.grid.Grid-event-*headerclick"></a>
3400 <div class="fixedFont">
3401 <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>)
3407 <div class="short">Fires when a header is clicked
3413 Fires when a header is clicked
3419 <dl class="detailList">
3420 <dt class="heading">Parameters:</dt>
3423 <span class="fixedFont">Grid</span> <b>this</b>
3429 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3435 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3456 <td class="msource">
3457 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3461 <tr class="method-row expandable config-row-alt1">
3462 <td class="micon"><a class="exi" href="#expand"> </a></td>
3465 <a id="Roo.grid.Grid-event-*headercontextmenu"></a>
3467 <div class="fixedFont">
3468 <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>)
3474 <div class="short">Fires when a header is right clicked
3480 Fires when a header is right clicked
3486 <dl class="detailList">
3487 <dt class="heading">Parameters:</dt>
3490 <span class="fixedFont">Grid</span> <b>this</b>
3496 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3502 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3523 <td class="msource">
3524 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3528 <tr class="method-row expandable config-row-alt0">
3529 <td class="micon"><a class="exi" href="#expand"> </a></td>
3532 <a id="Roo.grid.Grid-event-*headerdblclick"></a>
3534 <div class="fixedFont">
3535 <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>)
3541 <div class="short">Fires when a header cell is double clicked
3547 Fires when a header cell is double clicked
3553 <dl class="detailList">
3554 <dt class="heading">Parameters:</dt>
3557 <span class="fixedFont">Grid</span> <b>this</b>
3563 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>columnIndex</b>
3569 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3590 <td class="msource">
3591 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3595 <tr class="method-row expandable config-row-alt1">
3596 <td class="micon"><a class="exi" href="#expand"> </a></td>
3599 <a id="Roo.grid.Grid-event-*keydown"></a>
3601 <div class="fixedFont">
3602 <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>)
3608 <div class="short">The raw keydown event for the entire grid.
3614 The raw keydown event for the entire grid.
3620 <dl class="detailList">
3621 <dt class="heading">Parameters:</dt>
3624 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3645 <td class="msource">
3646 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3650 <tr class="method-row expandable config-row-alt0">
3651 <td class="micon"><a class="exi" href="#expand"> </a></td>
3654 <a id="Roo.grid.Grid-event-*keypress"></a>
3656 <div class="fixedFont">
3657 <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>)
3663 <div class="short">The raw keypress event for the entire grid.
3669 The raw keypress event for the entire grid.
3675 <dl class="detailList">
3676 <dt class="heading">Parameters:</dt>
3679 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3700 <td class="msource">
3701 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3705 <tr class="method-row expandable config-row-alt1">
3706 <td class="micon"><a class="exi" href="#expand"> </a></td>
3709 <a id="Roo.grid.Grid-event-*mousedown"></a>
3711 <div class="fixedFont">
3712 <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>)
3718 <div class="short">The raw mousedown event for the entire grid.
3724 The raw mousedown event for the entire grid.
3730 <dl class="detailList">
3731 <dt class="heading">Parameters:</dt>
3734 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3755 <td class="msource">
3756 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3760 <tr class="method-row expandable config-row-alt0">
3761 <td class="micon"><a class="exi" href="#expand"> </a></td>
3764 <a id="Roo.grid.Grid-event-*mouseout"></a>
3766 <div class="fixedFont">
3767 <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>)
3773 <div class="short">The raw mouseout event for the entire grid.
3779 The raw mouseout event for the entire grid.
3785 <dl class="detailList">
3786 <dt class="heading">Parameters:</dt>
3789 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3810 <td class="msource">
3811 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3815 <tr class="method-row expandable config-row-alt1">
3816 <td class="micon"><a class="exi" href="#expand"> </a></td>
3819 <a id="Roo.grid.Grid-event-*mouseover"></a>
3821 <div class="fixedFont">
3822 <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>)
3828 <div class="short">The raw mouseover event for the entire grid.
3834 The raw mouseover event for the entire grid.
3840 <dl class="detailList">
3841 <dt class="heading">Parameters:</dt>
3844 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3865 <td class="msource">
3866 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3870 <tr class="method-row expandable config-row-alt0">
3871 <td class="micon"><a class="exi" href="#expand"> </a></td>
3874 <a id="Roo.grid.Grid-event-*mouseup"></a>
3876 <div class="fixedFont">
3877 <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>)
3883 <div class="short">The raw mouseup event for the entire grid.
3889 The raw mouseup event for the entire grid.
3895 <dl class="detailList">
3896 <dt class="heading">Parameters:</dt>
3899 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
3920 <td class="msource">
3921 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3925 <tr class="method-row expandable config-row-alt1">
3926 <td class="micon"><a class="exi" href="#expand"> </a></td>
3929 <a id="Roo.grid.Grid-event-*render"></a>
3931 <div class="fixedFont">
3932 <b class="itemname">render</b> (Grid <B><i>grid</i></B>)
3938 <div class="short">Fires when the grid is rendered
3944 Fires when the grid is rendered
3950 <dl class="detailList">
3951 <dt class="heading">Parameters:</dt>
3954 <span class="fixedFont">Grid</span> <b>grid</b>
3975 <td class="msource">
3976 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
3980 <tr class="method-row expandable config-row-alt0">
3981 <td class="micon"><a class="exi" href="#expand"> </a></td>
3984 <a id="Roo.grid.Grid-event-*rowclass"></a>
3986 <div class="fixedFont">
3987 <b class="itemname">rowclass</b> (GridView <B><i>gridview</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>rowcfg</i></B>)
3993 <div class="short">Fires when a row is rendered, so you can change add a style to it.
3999 Fires when a row is rendered, so you can change add a style to it.
4005 <dl class="detailList">
4006 <dt class="heading">Parameters:</dt>
4009 <span class="fixedFont">GridView</span> <b>gridview</b>
4012 <dd>The grid view</dd>
4015 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>rowcfg</b>
4018 <dd>contains record rowIndex and rowClass - set rowClass to add a style.</dd>
4036 <td class="msource">
4037 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4041 <tr class="method-row expandable config-row-alt1">
4042 <td class="micon"><a class="exi" href="#expand"> </a></td>
4045 <a id="Roo.grid.Grid-event-*rowclick"></a>
4047 <div class="fixedFont">
4048 <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>)
4054 <div class="short">Fires when a row is clicked
4060 Fires when a row is clicked
4066 <dl class="detailList">
4067 <dt class="heading">Parameters:</dt>
4070 <span class="fixedFont">Grid</span> <b>this</b>
4076 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4082 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4103 <td class="msource">
4104 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4108 <tr class="method-row expandable config-row-alt0">
4109 <td class="micon"><a class="exi" href="#expand"> </a></td>
4112 <a id="Roo.grid.Grid-event-*rowcontextmenu"></a>
4114 <div class="fixedFont">
4115 <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>)
4121 <div class="short">Fires when a row is right clicked
4127 Fires when a row is right clicked
4133 <dl class="detailList">
4134 <dt class="heading">Parameters:</dt>
4137 <span class="fixedFont">Grid</span> <b>this</b>
4143 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4149 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4170 <td class="msource">
4171 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4175 <tr class="method-row expandable config-row-alt1">
4176 <td class="micon"><a class="exi" href="#expand"> </a></td>
4179 <a id="Roo.grid.Grid-event-*rowdblclick"></a>
4181 <div class="fixedFont">
4182 <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>)
4188 <div class="short">Fires when a row is double clicked
4194 Fires when a row is double clicked
4200 <dl class="detailList">
4201 <dt class="heading">Parameters:</dt>
4204 <span class="fixedFont">Grid</span> <b>this</b>
4210 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
4216 <span class="fixedFont"><a href="./Roo.EventObject.html#constructor" roo:cls="Roo.EventObject.html#constructor">Roo.EventObject</a></span> <b>e</b>
4237 <td class="msource">
4238 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4242 <tr class="method-row expandable config-row-alt0">
4243 <td class="micon"><a class="exi" href="#expand"> </a></td>
4246 <a id="Roo.grid.Grid-event-*startdrag"></a>
4248 <div class="fixedFont">
4249 <b class="itemname">startdrag</b> (Grid <B><i>this</i></B>, Roo.GridDD <B><i>dd</i></B>, event <B><i>e</i></B>)
4255 <div class="short">Fires when row(s) start being dragged
4261 Fires when row(s) start being dragged
4267 <dl class="detailList">
4268 <dt class="heading">Parameters:</dt>
4271 <span class="fixedFont">Grid</span> <b>this</b>
4277 <span class="fixedFont">Roo.GridDD</span> <b>dd</b>
4280 <dd>The drag drop object</dd>
4283 <span class="fixedFont">event</span> <b>e</b>
4286 <dd>The raw browser event</dd>
4304 <td class="msource">
4305 <a href="./Roo.grid.Grid.html#constructor" roo:cls="Roo.grid.Grid.html#constructor">Roo.grid.Grid</a>
4309 <tr class="method-row expandable config-row-alt1 notInherited">
4310 <td class="micon"><a class="exi" href="#expand"> </a></td>
4313 <a id="Roo.grid.EditorGrid-event-*validateedit"></a>
4315 <div class="fixedFont">
4316 <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>)
4322 <div class="short">Fires after a cell is edited, but before the value is set in the record.
4328 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>
4334 <dl class="detailList">
4335 <dt class="heading">Parameters:</dt>
4338 <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>
4341 <dd>An edit event (see above for description)</dd>
4359 <td class="msource">
4371 <!-- ============================== footer ================================= -->
4372 <div class="fineprint" style="clear:both">
4374 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Tue Mar 25 2014 18:37:21 GMT+0800 (HKT)
4376 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>