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.GridView</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.GridView-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.grid.GridView-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.grid.GridView-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.grid.GridView-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 class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.grid.GridView
52 <!-- ============================== class title / details ============================ -->
55 <h1 class="classTitle">
57 Class Roo.grid.GridView
60 <table cellspacing="0" class="class-summary-table">
62 <tr><td class="label">Package:</td><td class="hd-info">Roo.grid</td></tr>
64 <tr><td class="label">Defined In:</td><td class="hd-info">
66 <a href="./src/Roo_grid_GridView.js.html">Roo/grid/GridView.js</a>.
69 <tr><td class="label">Class:</td><td class="hd-info">GridView</td></tr>
74 <tr><td class="label">Extends:</td><td class="hd-info">
75 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
83 <!-- ============================== class summary ========================== -->
84 <div class="description">
89 <!-- ============================== Class comment block... ========================== -->
91 <div class="comments">
92 <b>Class Comments / Notes</B> =>
93 <u onclick="parent.CommentDialog.showCommentId = 'Roo.grid.GridView';">[Add Your comment/notes about this class]</u>
95 <iframe frameborder="0" id="comments-Roo.grid" style="border: none;width:100%;"
96 src="/blog.php/GtkDjsComments/Roo.grid.GridView.html"></iframe>
101 <!-- ============================== config options ========================== -->
106 <div class="hr"></div>
107 <a id="Roo.grid.GridView-configs"></a>
113 <table cellspacing="0" class="member-table">
114 <caption>Config Options (Usually are also Properties)</caption>
118 <th class="sig-header" colspan="2">Options</th>
120 <th class="msource-header">Defined By</th>
127 <tr class="config-row expandable config-row-alt0">
128 <td class="micon"><a class="exi" href="#expand"> </a></td>
131 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
132 <div class="fixedFont">
133 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
139 <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>
143 <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>
151 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
167 <!-- ============================== public properties ==================== -->
171 <a id="Roo.grid.GridView-props"></a>
177 <table cellspacing="0" class="member-table">
178 <caption class="Empty">Public Properties - Has None</caption>
184 <!-- ============================== methods summary / details ======================== -->
187 <a id="Roo.grid.GridView-methods"></a>
188 <!-- constructor?? -->
195 <!-- then dynamics first -->
202 <table cellspacing="0" class="member-table">
203 <caption>Public Methods</caption>
205 <th class="sig-header" colspan="2">Method</th>
206 <th class="msource-header">Defined By</th>
216 <tr class="method-row config-row-alt0 expandable notInherited">
217 <td class="micon"><a class="exi" href="#expand"> </a></td>
221 <a id="Roo.grid-method-GridView" name=".GridView"></a>
222 <div class="fixedFont">
223 <span class="attributes">new <B>Roo.grid.</B></span><b class="itemname">GridView</b>
225 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
233 <div class="short">Create a new Roo.grid.GridView</div>
240 Create a new Roo.grid.GridView
243 <dl class="detailList">
244 <dt class="heading">Parameters:</dt>
247 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
274 <tr class="method-row config-row-alt1 expandable">
275 <td class="micon"><a class="exi" href="#expand"> </a></td>
279 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
280 <div class="fixedFont">
281 <span class="attributes"></span><b class="itemname">addEvents</b>
283 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
290 <div class="short">Used to define events on this Observable</div>
296 Used to define events on this Observable
303 <dl class="detailList">
304 <dt class="heading">Parameters:</dt>
307 <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>
310 <dd>The object with the events defined</dd>
330 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
336 <tr class="method-row config-row-alt0 expandable">
337 <td class="micon"><a class="exi" href="#expand"> </a></td>
341 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
342 <div class="fixedFont">
343 <span class="attributes"></span><b class="itemname">addListener</b>
345 (<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>)
352 <div class="short">Appends an event handler to this component</div>
358 Appends an event handler to this component
365 <dl class="detailList">
366 <dt class="heading">Parameters:</dt>
369 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
372 <dd>The type of event to listen for</dd>
375 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
378 <dd>The method the event invokes</dd>
381 <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>
384 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
387 <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>
390 <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>
410 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
416 <tr class="method-row config-row-alt1 expandable notInherited">
417 <td class="micon"><a class="exi" href="#expand"> </a></td>
421 <a id="Roo.grid.GridView-method-autoSizeColumn" name=".autoSizeColumn"></a>
422 <div class="fixedFont">
423 <span class="attributes"></span><b class="itemname">autoSizeColumn</b>
425 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>colIndex</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>forceMinSize</i></B>)
432 <div class="short">Autofit a column to its content.</div>
438 Autofit a column to its content.
445 <dl class="detailList">
446 <dt class="heading">Parameters:</dt>
449 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>colIndex</b>
455 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>forceMinSize</b>
458 <dd>true to force the column to go smaller if possible</dd>
484 <tr class="method-row config-row-alt0 expandable notInherited">
485 <td class="micon"><a class="exi" href="#expand"> </a></td>
489 <a id="Roo.grid.GridView-method-autoSizeColumns" name=".autoSizeColumns"></a>
490 <div class="fixedFont">
491 <span class="attributes"></span><b class="itemname">autoSizeColumns</b>
500 <div class="short">Autofits all columns to their content and then expands to fit any extra space in the grid</div>
506 Autofits all columns to their content and then expands to fit any extra space in the grid
535 <tr class="method-row config-row-alt1 expandable notInherited">
536 <td class="micon"><a class="exi" href="#expand"> </a></td>
540 <a id="Roo.grid.GridView-method-ensureVisible" name=".ensureVisible"></a>
541 <div class="fixedFont">
542 <span class="attributes"></span><b class="itemname">ensureVisible</b>
544 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>row</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>col</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>hscroll</i></B>)
551 <div class="short">Scrolls the specified cell into view</div>
557 Scrolls the specified cell into view
564 <dl class="detailList">
565 <dt class="heading">Parameters:</dt>
568 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>row</b>
571 <dd>The row index</dd>
574 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>col</b>
577 <dd>The column index</dd>
580 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>hscroll</b>
583 <dd>false to disable horizontal scrolling</dd>
609 <tr class="method-row config-row-alt0 expandable">
610 <td class="micon"><a class="exi" href="#expand"> </a></td>
614 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
615 <div class="fixedFont">
616 <span class="attributes"></span><b class="itemname">fireEvent</b>
618 (<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>)
624 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
633 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
639 Fires the specified event with the passed parameters (minus the event name).
646 <dl class="detailList">
647 <dt class="heading">Parameters:</dt>
650 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
656 <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>
659 <dd>Variable number of parameters are passed to handlers</dd>
667 <dl class="detailList">
668 <dt class="heading">Returns:</dt>
670 <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>
686 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
692 <tr class="method-row config-row-alt1 expandable notInherited">
693 <td class="micon"><a class="exi" href="#expand"> </a></td>
697 <a id="Roo.grid.GridView-method-fitColumns" name=".fitColumns"></a>
698 <div class="fixedFont">
699 <span class="attributes"></span><b class="itemname">fitColumns</b>
701 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>reserveScrollSpace</i></B>)
708 <div class="short">Autofits all columns to the grid's width proportionate with their current size</div>
714 Autofits all columns to the grid's width proportionate with their current size
721 <dl class="detailList">
722 <dt class="heading">Parameters:</dt>
725 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>reserveScrollSpace</b>
728 <dd>Reserve space for a scrollbar</dd>
754 <tr class="method-row config-row-alt0 expandable notInherited">
755 <td class="micon"><a class="exi" href="#expand"> </a></td>
759 <a id="Roo.grid.GridView-method-focusCell" name=".focusCell"></a>
760 <div class="fixedFont">
761 <span class="attributes"></span><b class="itemname">focusCell</b>
763 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>row</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>col</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>hscroll</i></B>)
770 <div class="short">Focuses the specified cell.</div>
776 Focuses the specified cell.
783 <dl class="detailList">
784 <dt class="heading">Parameters:</dt>
787 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>row</b>
790 <dd>The row index</dd>
793 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>col</b>
796 <dd>The column index</dd>
799 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>hscroll</b>
802 <dd>false to disable horizontal scrolling</dd>
828 <tr class="method-row config-row-alt1 expandable notInherited">
829 <td class="micon"><a class="exi" href="#expand"> </a></td>
833 <a id="Roo.grid.GridView-method-focusRow" name=".focusRow"></a>
834 <div class="fixedFont">
835 <span class="attributes"></span><b class="itemname">focusRow</b>
837 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>row</i></B>)
844 <div class="short">Focuses the specified row.</div>
850 Focuses the specified row.
857 <dl class="detailList">
858 <dt class="heading">Parameters:</dt>
861 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>row</b>
864 <dd>The row index</dd>
890 <tr class="method-row config-row-alt0 expandable notInherited">
891 <td class="micon"><a class="exi" href="#expand"> </a></td>
895 <a id="Roo.grid.GridView-method-getFooterPanel" name=".getFooterPanel"></a>
896 <div class="fixedFont">
897 <span class="attributes"></span><b class="itemname">getFooterPanel</b>
899 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>doShow</i></B>)
914 <div class="short">Gets a panel in the footer of the grid that can be used for toolbars etc.</div>
920 Gets a panel in the footer of the grid that can be used for toolbars etc.<br/>After modifying the contents of this panel a call to grid.autoSize() may be<br/>required to register any changes in size.
927 <dl class="detailList">
928 <dt class="heading">Parameters:</dt>
931 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>doShow</b>
934 <dd>By default the footer is hidden. Pass true to show the panel</dd>
942 <dl class="detailList">
943 <dt class="heading">Returns:</dt>
945 <dd> Roo.Element</dd>
967 <tr class="method-row config-row-alt1 expandable notInherited">
968 <td class="micon"><a class="exi" href="#expand"> </a></td>
972 <a id="Roo.grid.GridView-method-getHeaderPanel" name=".getHeaderPanel"></a>
973 <div class="fixedFont">
974 <span class="attributes"></span><b class="itemname">getHeaderPanel</b>
976 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>doShow</i></B>)
991 <div class="short">Gets a panel in the header of the grid that can be used for toolbars etc.</div>
997 Gets a panel in the header of the grid that can be used for toolbars etc.<br/>After modifying the contents of this panel a call to grid.autoSize() may be<br/>required to register any changes in size.
1004 <dl class="detailList">
1005 <dt class="heading">Parameters:</dt>
1008 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>doShow</b>
1011 <dd>By default the header is hidden. Pass true to show the panel</dd>
1019 <dl class="detailList">
1020 <dt class="heading">Returns:</dt>
1022 <dd> Roo.Element</dd>
1036 <td class="msource">
1044 <tr class="method-row config-row-alt0 expandable">
1045 <td class="micon"><a class="exi" href="#expand"> </a></td>
1049 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1050 <div class="fixedFont">
1051 <span class="attributes"></span><b class="itemname">hasListener</b>
1053 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1059 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1068 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1074 Checks to see if this object has any listeners for a specified event
1081 <dl class="detailList">
1082 <dt class="heading">Parameters:</dt>
1085 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1088 <dd>The name of the event to check for</dd>
1096 <dl class="detailList">
1097 <dt class="heading">Returns:</dt>
1099 <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>
1113 <td class="msource">
1115 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1121 <tr class="method-row config-row-alt1 expandable">
1122 <td class="micon"><a class="exi" href="#expand"> </a></td>
1126 <a id="Roo.util.Observable-method-on" name=".on"></a>
1127 <div class="fixedFont">
1128 <span class="attributes"></span><b class="itemname">on</b>
1130 (<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>)
1137 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1143 Appends an event handler to this element (shorthand for addListener)
1150 <dl class="detailList">
1151 <dt class="heading">Parameters:</dt>
1154 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1157 <dd>The type of event to listen for</dd>
1160 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1163 <dd>The method the event invokes</dd>
1166 <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>
1169 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1172 <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>
1193 <td class="msource">
1195 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1201 <tr class="method-row config-row-alt0 expandable">
1202 <td class="micon"><a class="exi" href="#expand"> </a></td>
1206 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1207 <div class="fixedFont">
1208 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1217 <div class="short">Removes all listeners for this object</div>
1223 Removes all listeners for this object
1244 <td class="msource">
1246 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1252 <tr class="method-row config-row-alt1 expandable notInherited">
1253 <td class="micon"><a class="exi" href="#expand"> </a></td>
1257 <a id="Roo.grid.GridView-method-refresh" name=".refresh"></a>
1258 <div class="fixedFont">
1259 <span class="attributes"></span><b class="itemname">refresh</b>
1261 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>headersToo</i></B>)
1268 <div class="short">Refreshes the grid</div>
1281 <dl class="detailList">
1282 <dt class="heading">Parameters:</dt>
1285 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>headersToo</b>
1306 <td class="msource">
1314 <tr class="method-row config-row-alt0 expandable">
1315 <td class="micon"><a class="exi" href="#expand"> </a></td>
1319 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1320 <div class="fixedFont">
1321 <span class="attributes"></span><b class="itemname">removeListener</b>
1323 (<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>)
1330 <div class="short">Removes a listener</div>
1343 <dl class="detailList">
1344 <dt class="heading">Parameters:</dt>
1347 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1350 <dd>The type of event to listen for</dd>
1353 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1356 <dd>The handler to remove</dd>
1359 <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>
1362 <dd>(optional) The scope (this object) for the handler</dd>
1380 <td class="msource">
1382 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1388 <tr class="method-row config-row-alt1 expandable notInherited">
1389 <td class="micon"><a class="exi" href="#expand"> </a></td>
1393 <a id="Roo.grid.GridView-method-rowClass" name=".rowClass"></a>
1394 <div class="fixedFont">
1395 <span class="attributes"></span><b class="itemname">rowClass</b>
1397 (Record <B><i>record</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>)
1404 <div class="short">Override this function to apply custom css classes to rows during rendering</div>
1410 Override this function to apply custom css classes to rows during rendering
1417 <dl class="detailList">
1418 <dt class="heading">Parameters:</dt>
1421 <span class="fixedFont">Record</span> <b>record</b>
1427 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
1448 <td class="msource">
1456 <tr class="method-row config-row-alt0 expandable notInherited">
1457 <td class="micon"><a class="exi" href="#expand"> </a></td>
1461 <a id="Roo.grid.GridView-method-scrollToTop" name=".scrollToTop"></a>
1462 <div class="fixedFont">
1463 <span class="attributes"></span><b class="itemname">scrollToTop</b>
1472 <div class="short">Scrolls the grid to the top</div>
1478 Scrolls the grid to the top
1499 <td class="msource">
1507 <tr class="method-row config-row-alt1 expandable">
1508 <td class="micon"><a class="exi" href="#expand"> </a></td>
1512 <a id="Roo.util.Observable-method-un" name=".un"></a>
1513 <div class="fixedFont">
1514 <span class="attributes"></span><b class="itemname">un</b>
1516 (<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>)
1523 <div class="short">Removes a listener (shorthand for removeListener)</div>
1529 Removes a listener (shorthand for removeListener)
1536 <dl class="detailList">
1537 <dt class="heading">Parameters:</dt>
1540 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1543 <dd>The type of event to listen for</dd>
1546 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1549 <dd>The handler to remove</dd>
1552 <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>
1555 <dd>(optional) The scope (this object) for the handler</dd>
1573 <td class="msource">
1575 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1584 <!-- ============================== events summary / details ======================== -->
1587 <a id="Roo.grid.GridView-events"></a>
1593 <table cellspacing="0" class="member-table">
1594 <caption class="Empty">Events - Has None</caption>
1605 <!-- ============================== footer ================================= -->
1606 <div class="fineprint" style="clear:both">
1608 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Apr 01 2011 15:13:01 GMT+0800 (HKT)
1610 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>