commit extjs-2.2.1
[extjs.git] / docs / output / Ext.grid.RowSelectionModel.html
1         <div class="body-wrap">
2         <div class="top-tools">
3             <a class="inner-link" href="#Ext.grid.RowSelectionModel-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4             <a class="inner-link" href="#Ext.grid.RowSelectionModel-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5             <a class="inner-link" href="#Ext.grid.RowSelectionModel-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6                             <a class="inner-link" href="#Ext.grid.RowSelectionModel-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
7                         <a class="bookmark" href="../docs/?class=Ext.grid.RowSelectionModel"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
8         </div>
9                 <div class="inheritance res-block">
10 <pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a>
11   <img src="resources/elbow-end.gif"/><a ext:cls="Ext.grid.AbstractSelectionModel" ext:member="" href="output/Ext.grid.AbstractSelectionModel.html">AbstractSelectionModel</a>
12     <img src="resources/elbow-end.gif"/>RowSelectionModel</pre></div>
13                 <h1>Class Ext.grid.RowSelectionModel</h1>
14         <table cellspacing="0">
15             <tr><td class="label">Package:</td><td class="hd-info">Ext.grid</td></tr>
16             <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/RowSelectionModel.js" target="_blank">RowSelectionModel.js</a></td></tr>
17             <tr><td class="label">Class:</td><td class="hd-info">RowSelectionModel</td></tr>
18                         <tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.grid.CheckboxSelectionModel" href="output/Ext.grid.CheckboxSelectionModel.html">CheckboxSelectionModel</a></td></tr>
19                                     <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.grid.AbstractSelectionModel" ext:member="" href="output/Ext.grid.AbstractSelectionModel.html">AbstractSelectionModel</a></td></tr>
20                     </table>
21         <div class="description">
22             *\r
23  The default SelectionModel used by <a ext:cls="Ext.grid.GridPanel" href="output/Ext.grid.GridPanel.html">Ext.grid.GridPanel</a>.
24 It supports multiple selections and keyboard selection/navigation. The objects stored
25 as selections and returned by <a ext:cls="Ext.grid.RowSelectionModel" ext:member="getSelected" href="output/Ext.grid.RowSelectionModel.html#getSelected">getSelected</a>, and <a ext:cls="Ext.grid.RowSelectionModel" ext:member="getSelections" href="output/Ext.grid.RowSelectionModel.html#getSelections">getSelections</a> are
26 the <a ext:cls="Ext.data.Record" href="output/Ext.data.Record.html">Record</a>s which provide the data for the selected rows.        </div>
27         
28         <div class="hr"></div>
29                 <a id="Ext.grid.RowSelectionModel-configs"></a>
30         <h2>Config Options</h2>
31         <table cellspacing="0" class="member-table">
32             <tr>
33                 <th class="sig-header" colspan="2">Config Options</th>
34                 <th class="msource-header">Defined By</th>
35             </tr>
36                 <tr class="config-row inherited expandable">\r
37         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
38         <td class="sig">\r
39         <a id="Ext.grid.RowSelectionModel-listeners"></a>\r
40             <b>listeners</b> : Object            <div class="mdesc">\r
41                         <div class="short">(optional) A config object containing one or more event handlers to be added to this object during initialization. Th...</div>\r
42             <div class="long">\r
43                 (optional) A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once.            </div>\r
44                         </div>\r
45         </td>\r
46         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>\r
47     </tr>\r
48         <tr class="config-row alt">\r
49         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
50         <td class="sig">\r
51         <a id="Ext.grid.RowSelectionModel-moveEditorOnEnter"></a>\r
52             <b>moveEditorOnEnter</b> : Boolean            <div class="mdesc">\r
53                             False to turn off moving the editor to the next cell when the enter key is pressed                        </div>\r
54         </td>\r
55         <td class="msource">RowSelectionModel</td>\r
56     </tr>\r
57         <tr class="config-row">\r
58         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
59         <td class="sig">\r
60         <a id="Ext.grid.RowSelectionModel-singleSelect"></a>\r
61             <b>singleSelect</b> : Boolean            <div class="mdesc">\r
62                             True to allow selection of only one row at a time (defaults to false)                        </div>\r
63         </td>\r
64         <td class="msource">RowSelectionModel</td>\r
65     </tr>\r
66             </table>
67                 <a id="Ext.grid.RowSelectionModel-props"></a>
68         <h2>Public Properties</h2>
69         <div class="no-members">This class has no public properties.</div>        <a id="Ext.grid.RowSelectionModel-methods"></a>
70         <h2>Public Methods</h2>
71                 <table cellspacing="0" class="member-table">
72             <tr>
73                 <th class="sig-header" colspan="2">Method</th>
74                 <th class="msource-header">Defined By</th>
75             </tr>
76                 <tr class="method-row expandable">\r
77         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
78         <td class="sig">\r
79         <a id="Ext.grid.RowSelectionModel-RowSelectionModel"></a>\r
80             <b>RowSelectionModel</b>(&nbsp;<code>Object config</code>&nbsp;)            <div class="mdesc">\r
81                         <div class="short"></div>\r
82             <div class="long">\r
83                     <div class="mdetail-params">\r
84         <strong>Parameters:</strong>\r
85         <ul><li><code>config</code> : Object<div class="sub-desc"></div></li>        </ul>\r
86         <strong>Returns:</strong>\r
87         <ul>\r
88             <li><code></code></li>\r
89         </ul>\r
90     </div>\r
91                 </div>\r
92                         </div>\r
93         </td>\r
94         <td class="msource">RowSelectionModel</td>\r
95     </tr>\r
96         <tr class="method-row inherited alt expandable">\r
97         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
98         <td class="sig">\r
99         <a id="Ext.grid.RowSelectionModel-addEvents"></a>\r
100             <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void            <div class="mdesc">\r
101                         <div class="short">Used to define events on this Observable</div>\r
102             <div class="long">\r
103                 Used to define events on this Observable    <div class="mdetail-params">\r
104         <strong>Parameters:</strong>\r
105         <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li>        </ul>\r
106         <strong>Returns:</strong>\r
107         <ul>\r
108             <li><code>void</code></li>\r
109         </ul>\r
110     </div>\r
111                 </div>\r
112                         </div>\r
113         </td>\r
114         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>\r
115     </tr>\r
116         <tr class="method-row inherited expandable">\r
117         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
118         <td class="sig">\r
119         <a id="Ext.grid.RowSelectionModel-addListener"></a>\r
120             <b>addListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">\r
121                         <div class="short">Appends an event handler to this component</div>\r
122             <div class="long">\r
123                 Appends an event handler to this component    <div class="mdetail-params">\r
124         <strong>Parameters:</strong>\r
125         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
126 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
127 properties. This may contain any of the following properties:<ul>
128 <li><b>scope</b> : Object<p class="sub-desc">The scope in which to execute the handler function. The handler function's "this" context.</p></li>
129 <li><b>delay</b> : Number<p class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>
130 <li><b>single</b> : Boolean<p class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>
131 <li><b>buffer</b> : Number<p class="sub-desc">Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
132 by the specified number of milliseconds. If the event fires again within that time, the original
133 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</p></li>
134 </ul><br>
135 <p>
136 <b>Combining Options</b><br>
137 Using the options argument, it is possible to combine different types of listeners:<br>
138 <br>
139 A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
140 <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
141     single: true,
142     delay: 100,
143     forumId: 4
144 });</code></pre>
145 <p>
146 <b>Attaching multiple handlers in 1 call</b><br>
147 The method also allows for a single argument to be passed which is a config object containing properties
148 which specify multiple handlers.
149 <p>
150 <pre><code>foo.on({
151     <em>'click'</em> : {
152         fn: <b>this</b>.onClick,
153         scope: <b>this</b>,
154         delay: 100
155     },
156     <em>'mouseover'</em> : {
157         fn: <b>this</b>.onMouseOver,
158         scope: <b>this</b>
159     },
160     <em>'mouseout'</em> : {
161         fn: <b>this</b>.onMouseOut,
162         scope: <b>this</b>
163     }
164 });</code></pre>
165 <p>
166 Or a shorthand syntax:<br>
167 <pre><code>foo.on({
168     <em>'click'</em> : <b>this</b>.onClick,
169     <em>'mouseover'</em> : <b>this</b>.onMouseOver,
170     <em>'mouseout'</em> : <b>this</b>.onMouseOut,
171      scope: <b>this</b>
172 });</code></pre></div></li>        </ul>\r
173         <strong>Returns:</strong>\r
174         <ul>\r
175             <li><code>void</code></li>\r
176         </ul>\r
177     </div>\r
178                 </div>\r
179                         </div>\r
180         </td>\r
181         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>\r
182     </tr>\r
183         <tr class="method-row alt expandable">\r
184         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
185         <td class="sig">\r
186         <a id="Ext.grid.RowSelectionModel-clearSelections"></a>\r
187             <b>clearSelections</b>() : void            <div class="mdesc">\r
188                         <div class="short">Clears all selections.</div>\r
189             <div class="long">\r
190                 Clears all selections.    <div class="mdetail-params">\r
191         <strong>Parameters:</strong>\r
192         <ul><li>None.</li>        </ul>\r
193         <strong>Returns:</strong>\r
194         <ul>\r
195             <li><code>void</code></li>\r
196         </ul>\r
197     </div>\r
198                 </div>\r
199                         </div>\r
200         </td>\r
201         <td class="msource">RowSelectionModel</td>\r
202     </tr>\r
203         <tr class="method-row expandable">\r
204         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
205         <td class="sig">\r
206         <a id="Ext.grid.RowSelectionModel-deselectRange"></a>\r
207             <b>deselectRange</b>(&nbsp;<code>Number startRow</code>, <code>Number endRow</code>&nbsp;) : void            <div class="mdesc">\r
208                         <div class="short">Deselects a range of rows. All rows in between startRow and endRow are also deselected.</div>\r
209             <div class="long">\r
210                 Deselects a range of rows. All rows in between startRow and endRow are also deselected.    <div class="mdetail-params">\r
211         <strong>Parameters:</strong>\r
212         <ul><li><code>startRow</code> : Number<div class="sub-desc">The index of the first row in the range</div></li><li><code>endRow</code> : Number<div class="sub-desc">The index of the last row in the range</div></li>        </ul>\r
213         <strong>Returns:</strong>\r
214         <ul>\r
215             <li><code>void</code></li>\r
216         </ul>\r
217     </div>\r
218                 </div>\r
219                         </div>\r
220         </td>\r
221         <td class="msource">RowSelectionModel</td>\r
222     </tr>\r
223         <tr class="method-row alt expandable">\r
224         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
225         <td class="sig">\r
226         <a id="Ext.grid.RowSelectionModel-deselectRow"></a>\r
227             <b>deselectRow</b>(&nbsp;<code>Number row</code>&nbsp;) : void            <div class="mdesc">\r
228                         <div class="short">Deselects a row.</div>\r
229             <div class="long">\r
230                 Deselects a row.    <div class="mdetail-params">\r
231         <strong>Parameters:</strong>\r
232         <ul><li><code>row</code> : Number<div class="sub-desc">The index of the row to deselect</div></li>        </ul>\r
233         <strong>Returns:</strong>\r
234         <ul>\r
235             <li><code>void</code></li>\r
236         </ul>\r
237     </div>\r
238                 </div>\r
239                         </div>\r
240         </td>\r
241         <td class="msource">RowSelectionModel</td>\r
242     </tr>\r
243         <tr class="method-row expandable">\r
244         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
245         <td class="sig">\r
246         <a id="Ext.grid.RowSelectionModel-each"></a>\r
247             <b>each</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Boolean            <div class="mdesc">\r
248                         <div class="short">Calls the passed function with each selection. If the function returns false, iteration is
249 stopped and this function ...</div>\r
250             <div class="long">\r
251                 Calls the passed function with each selection. If the function returns false, iteration is
252 stopped and this function returns false. Otherwise it returns true.    <div class="mdetail-params">\r
253         <strong>Parameters:</strong>\r
254         <ul><li><code>fn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>\r
255         <strong>Returns:</strong>\r
256         <ul>\r
257             <li><code>Boolean</code><div class="sub-desc">true if all selections were iterated</div></li>\r
258         </ul>\r
259     </div>\r
260                 </div>\r
261                         </div>\r
262         </td>\r
263         <td class="msource">RowSelectionModel</td>\r
264     </tr>\r
265         <tr class="method-row inherited alt expandable">\r
266         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
267         <td class="sig">\r
268         <a id="Ext.grid.RowSelectionModel-fireEvent"></a>\r
269             <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">\r
270                         <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>\r
271             <div class="long">\r
272                 Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">\r
273         <strong>Parameters:</strong>\r
274         <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li>        </ul>\r
275         <strong>Returns:</strong>\r
276         <ul>\r
277             <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>\r
278         </ul>\r
279     </div>\r
280                 </div>\r
281                         </div>\r
282         </td>\r
283         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>\r
284     </tr>\r
285         <tr class="method-row expandable">\r
286         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
287         <td class="sig">\r
288         <a id="Ext.grid.RowSelectionModel-getCount"></a>\r
289             <b>getCount</b>() : Number            <div class="mdesc">\r
290                         <div class="short">Gets the number of selected rows.</div>\r
291             <div class="long">\r
292                 Gets the number of selected rows.    <div class="mdetail-params">\r
293         <strong>Parameters:</strong>\r
294         <ul><li>None.</li>        </ul>\r
295         <strong>Returns:</strong>\r
296         <ul>\r
297             <li><code>Number</code></li>\r
298         </ul>\r
299     </div>\r
300                 </div>\r
301                         </div>\r
302         </td>\r
303         <td class="msource">RowSelectionModel</td>\r
304     </tr>\r
305         <tr class="method-row alt expandable">\r
306         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
307         <td class="sig">\r
308         <a id="Ext.grid.RowSelectionModel-getSelected"></a>\r
309             <b>getSelected</b>() : Record            <div class="mdesc">\r
310                         <div class="short">Returns the first selected record.</div>\r
311             <div class="long">\r
312                 Returns the first selected record.    <div class="mdetail-params">\r
313         <strong>Parameters:</strong>\r
314         <ul><li>None.</li>        </ul>\r
315         <strong>Returns:</strong>\r
316         <ul>\r
317             <li><code>Record</code></li>\r
318         </ul>\r
319     </div>\r
320                 </div>\r
321                         </div>\r
322         </td>\r
323         <td class="msource">RowSelectionModel</td>\r
324     </tr>\r
325         <tr class="method-row expandable">\r
326         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
327         <td class="sig">\r
328         <a id="Ext.grid.RowSelectionModel-getSelections"></a>\r
329             <b>getSelections</b>() : Array            <div class="mdesc">\r
330                         <div class="short">Returns the selected records</div>\r
331             <div class="long">\r
332                 Returns the selected records    <div class="mdetail-params">\r
333         <strong>Parameters:</strong>\r
334         <ul><li>None.</li>        </ul>\r
335         <strong>Returns:</strong>\r
336         <ul>\r
337             <li><code>Array</code><div class="sub-desc">Array of selected records</div></li>\r
338         </ul>\r
339     </div>\r
340                 </div>\r
341                         </div>\r
342         </td>\r
343         <td class="msource">RowSelectionModel</td>\r
344     </tr>\r
345         <tr class="method-row inherited alt expandable">\r
346         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
347         <td class="sig">\r
348         <a id="Ext.grid.RowSelectionModel-hasListener"></a>\r
349             <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean            <div class="mdesc">\r
350                         <div class="short">Checks to see if this object has any listeners for a specified event</div>\r
351             <div class="long">\r
352                 Checks to see if this object has any listeners for a specified event    <div class="mdetail-params">\r
353         <strong>Parameters:</strong>\r
354         <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li>        </ul>\r
355         <strong>Returns:</strong>\r
356         <ul>\r
357             <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>\r
358         </ul>\r
359     </div>\r
360                 </div>\r
361                         </div>\r
362         </td>\r
363         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>\r
364     </tr>\r
365         <tr class="method-row expandable">\r
366         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
367         <td class="sig">\r
368         <a id="Ext.grid.RowSelectionModel-hasNext"></a>\r
369             <b>hasNext</b>() : Boolean            <div class="mdesc">\r
370                         <div class="short">Returns true if there is a next record to select</div>\r
371             <div class="long">\r
372                 Returns true if there is a next record to select    <div class="mdetail-params">\r
373         <strong>Parameters:</strong>\r
374         <ul><li>None.</li>        </ul>\r
375         <strong>Returns:</strong>\r
376         <ul>\r
377             <li><code>Boolean</code></li>\r
378         </ul>\r
379     </div>\r
380                 </div>\r
381                         </div>\r
382         </td>\r
383         <td class="msource">RowSelectionModel</td>\r
384     </tr>\r
385         <tr class="method-row alt expandable">\r
386         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
387         <td class="sig">\r
388         <a id="Ext.grid.RowSelectionModel-hasPrevious"></a>\r
389             <b>hasPrevious</b>() : Boolean            <div class="mdesc">\r
390                         <div class="short">Returns true if there is a previous record to select</div>\r
391             <div class="long">\r
392                 Returns true if there is a previous record to select    <div class="mdetail-params">\r
393         <strong>Parameters:</strong>\r
394         <ul><li>None.</li>        </ul>\r
395         <strong>Returns:</strong>\r
396         <ul>\r
397             <li><code>Boolean</code></li>\r
398         </ul>\r
399     </div>\r
400                 </div>\r
401                         </div>\r
402         </td>\r
403         <td class="msource">RowSelectionModel</td>\r
404     </tr>\r
405         <tr class="method-row expandable">\r
406         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
407         <td class="sig">\r
408         <a id="Ext.grid.RowSelectionModel-hasSelection"></a>\r
409             <b>hasSelection</b>() : Boolean            <div class="mdesc">\r
410                         <div class="short">Returns True if there is a selection.</div>\r
411             <div class="long">\r
412                 Returns True if there is a selection.    <div class="mdetail-params">\r
413         <strong>Parameters:</strong>\r
414         <ul><li>None.</li>        </ul>\r
415         <strong>Returns:</strong>\r
416         <ul>\r
417             <li><code>Boolean</code></li>\r
418         </ul>\r
419     </div>\r
420                 </div>\r
421                         </div>\r
422         </td>\r
423         <td class="msource">RowSelectionModel</td>\r
424     </tr>\r
425         <tr class="method-row alt expandable">\r
426         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
427         <td class="sig">\r
428         <a id="Ext.grid.RowSelectionModel-isIdSelected"></a>\r
429             <b>isIdSelected</b>(&nbsp;<code>String id</code>&nbsp;) : Boolean            <div class="mdesc">\r
430                         <div class="short">Returns True if the specified record id is selected.</div>\r
431             <div class="long">\r
432                 Returns True if the specified record id is selected.    <div class="mdetail-params">\r
433         <strong>Parameters:</strong>\r
434         <ul><li><code>id</code> : String<div class="sub-desc">The id of record to check</div></li>        </ul>\r
435         <strong>Returns:</strong>\r
436         <ul>\r
437             <li><code>Boolean</code></li>\r
438         </ul>\r
439     </div>\r
440                 </div>\r
441                         </div>\r
442         </td>\r
443         <td class="msource">RowSelectionModel</td>\r
444     </tr>\r
445         <tr class="method-row inherited expandable">\r
446         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
447         <td class="sig">\r
448         <a id="Ext.grid.RowSelectionModel-isLocked"></a>\r
449             <b>isLocked</b>() : Boolean            <div class="mdesc">\r
450                         <div class="short">Returns true if the selections are locked.</div>\r
451             <div class="long">\r
452                 Returns true if the selections are locked.    <div class="mdetail-params">\r
453         <strong>Parameters:</strong>\r
454         <ul><li>None.</li>        </ul>\r
455         <strong>Returns:</strong>\r
456         <ul>\r
457             <li><code>Boolean</code></li>\r
458         </ul>\r
459     </div>\r
460                 </div>\r
461                         </div>\r
462         </td>\r
463         <td class="msource"><a ext:cls="Ext.grid.AbstractSelectionModel" ext:member="#isLocked" href="output/Ext.grid.AbstractSelectionModel.html#isLocked">AbstractSelectionModel</a></td>\r
464     </tr>\r
465         <tr class="method-row alt expandable">\r
466         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
467         <td class="sig">\r
468         <a id="Ext.grid.RowSelectionModel-isSelected"></a>\r
469             <b>isSelected</b>(&nbsp;<code>Number/Record record</code>&nbsp;) : Boolean            <div class="mdesc">\r
470                         <div class="short">Returns True if the specified row is selected.</div>\r
471             <div class="long">\r
472                 Returns True if the specified row is selected.    <div class="mdetail-params">\r
473         <strong>Parameters:</strong>\r
474         <ul><li><code>record</code> : Number/Record<div class="sub-desc">The record or index of the record to check</div></li>        </ul>\r
475         <strong>Returns:</strong>\r
476         <ul>\r
477             <li><code>Boolean</code></li>\r
478         </ul>\r
479     </div>\r
480                 </div>\r
481                         </div>\r
482         </td>\r
483         <td class="msource">RowSelectionModel</td>\r
484     </tr>\r
485         <tr class="method-row inherited expandable">\r
486         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
487         <td class="sig">\r
488         <a id="Ext.grid.RowSelectionModel-lock"></a>\r
489             <b>lock</b>() : void            <div class="mdesc">\r
490                         <div class="short">Locks the selections.</div>\r
491             <div class="long">\r
492                 Locks the selections.    <div class="mdetail-params">\r
493         <strong>Parameters:</strong>\r
494         <ul><li>None.</li>        </ul>\r
495         <strong>Returns:</strong>\r
496         <ul>\r
497             <li><code>void</code></li>\r
498         </ul>\r
499     </div>\r
500                 </div>\r
501                         </div>\r
502         </td>\r
503         <td class="msource"><a ext:cls="Ext.grid.AbstractSelectionModel" ext:member="#lock" href="output/Ext.grid.AbstractSelectionModel.html#lock">AbstractSelectionModel</a></td>\r
504     </tr>\r
505         <tr class="method-row inherited alt expandable">\r
506         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
507         <td class="sig">\r
508         <a id="Ext.grid.RowSelectionModel-on"></a>\r
509             <b>on</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">\r
510                         <div class="short">Appends an event handler to this element (shorthand for addListener)</div>\r
511             <div class="long">\r
512                 Appends an event handler to this element (shorthand for addListener)    <div class="mdetail-params">\r
513         <strong>Parameters:</strong>\r
514         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
515 function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>\r
516         <strong>Returns:</strong>\r
517         <ul>\r
518             <li><code>void</code></li>\r
519         </ul>\r
520     </div>\r
521                 </div>\r
522                         </div>\r
523         </td>\r
524         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>\r
525     </tr>\r
526         <tr class="method-row inherited expandable">\r
527         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
528         <td class="sig">\r
529         <a id="Ext.grid.RowSelectionModel-purgeListeners"></a>\r
530             <b>purgeListeners</b>() : void            <div class="mdesc">\r
531                         <div class="short">Removes all listeners for this object</div>\r
532             <div class="long">\r
533                 Removes all listeners for this object    <div class="mdetail-params">\r
534         <strong>Parameters:</strong>\r
535         <ul><li>None.</li>        </ul>\r
536         <strong>Returns:</strong>\r
537         <ul>\r
538             <li><code>void</code></li>\r
539         </ul>\r
540     </div>\r
541                 </div>\r
542                         </div>\r
543         </td>\r
544         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>\r
545     </tr>\r
546         <tr class="method-row inherited alt expandable">\r
547         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
548         <td class="sig">\r
549         <a id="Ext.grid.RowSelectionModel-relayEvents"></a>\r
550             <b>relayEvents</b>(&nbsp;<code>Object o</code>, <code>Array events</code>&nbsp;) : void            <div class="mdesc">\r
551                         <div class="short">Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.</div>\r
552             <div class="long">\r
553                 Relays selected events from the specified Observable as if the events were fired by <tt><b>this</b></tt>.    <div class="mdetail-params">\r
554         <strong>Parameters:</strong>\r
555         <ul><li><code>o</code> : Object<div class="sub-desc">The Observable whose events this object is to relay.</div></li><li><code>events</code> : Array<div class="sub-desc">Array of event names to relay.</div></li>        </ul>\r
556         <strong>Returns:</strong>\r
557         <ul>\r
558             <li><code>void</code></li>\r
559         </ul>\r
560     </div>\r
561                 </div>\r
562                         </div>\r
563         </td>\r
564         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#relayEvents" href="output/Ext.util.Observable.html#relayEvents">Observable</a></td>\r
565     </tr>\r
566         <tr class="method-row inherited expandable">\r
567         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
568         <td class="sig">\r
569         <a id="Ext.grid.RowSelectionModel-removeListener"></a>\r
570             <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">\r
571                         <div class="short">Removes a listener</div>\r
572             <div class="long">\r
573                 Removes a listener    <div class="mdetail-params">\r
574         <strong>Parameters:</strong>\r
575         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>\r
576         <strong>Returns:</strong>\r
577         <ul>\r
578             <li><code>void</code></li>\r
579         </ul>\r
580     </div>\r
581                 </div>\r
582                         </div>\r
583         </td>\r
584         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>\r
585     </tr>\r
586         <tr class="method-row inherited alt expandable">\r
587         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
588         <td class="sig">\r
589         <a id="Ext.grid.RowSelectionModel-resumeEvents"></a>\r
590             <b>resumeEvents</b>() : void            <div class="mdesc">\r
591                         <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>\r
592             <div class="long">\r
593                 Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)    <div class="mdetail-params">\r
594         <strong>Parameters:</strong>\r
595         <ul><li>None.</li>        </ul>\r
596         <strong>Returns:</strong>\r
597         <ul>\r
598             <li><code>void</code></li>\r
599         </ul>\r
600     </div>\r
601                 </div>\r
602                         </div>\r
603         </td>\r
604         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>\r
605     </tr>\r
606         <tr class="method-row expandable">\r
607         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
608         <td class="sig">\r
609         <a id="Ext.grid.RowSelectionModel-selectAll"></a>\r
610             <b>selectAll</b>() : void            <div class="mdesc">\r
611                         <div class="short">Selects all rows.</div>\r
612             <div class="long">\r
613                 Selects all rows.    <div class="mdetail-params">\r
614         <strong>Parameters:</strong>\r
615         <ul><li>None.</li>        </ul>\r
616         <strong>Returns:</strong>\r
617         <ul>\r
618             <li><code>void</code></li>\r
619         </ul>\r
620     </div>\r
621                 </div>\r
622                         </div>\r
623         </td>\r
624         <td class="msource">RowSelectionModel</td>\r
625     </tr>\r
626         <tr class="method-row alt expandable">\r
627         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
628         <td class="sig">\r
629         <a id="Ext.grid.RowSelectionModel-selectFirstRow"></a>\r
630             <b>selectFirstRow</b>() : void            <div class="mdesc">\r
631                         <div class="short">Selects the first row in the grid.</div>\r
632             <div class="long">\r
633                 Selects the first row in the grid.    <div class="mdetail-params">\r
634         <strong>Parameters:</strong>\r
635         <ul><li>None.</li>        </ul>\r
636         <strong>Returns:</strong>\r
637         <ul>\r
638             <li><code>void</code></li>\r
639         </ul>\r
640     </div>\r
641                 </div>\r
642                         </div>\r
643         </td>\r
644         <td class="msource">RowSelectionModel</td>\r
645     </tr>\r
646         <tr class="method-row expandable">\r
647         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
648         <td class="sig">\r
649         <a id="Ext.grid.RowSelectionModel-selectLastRow"></a>\r
650             <b>selectLastRow</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean keepExisting</code>]</span>&nbsp;) : void            <div class="mdesc">\r
651                         <div class="short">Select the last row.</div>\r
652             <div class="long">\r
653                 Select the last row.    <div class="mdetail-params">\r
654         <strong>Parameters:</strong>\r
655         <ul><li><code>keepExisting</code> : Boolean<div class="sub-desc">(optional) True to keep existing selections</div></li>        </ul>\r
656         <strong>Returns:</strong>\r
657         <ul>\r
658             <li><code>void</code></li>\r
659         </ul>\r
660     </div>\r
661                 </div>\r
662                         </div>\r
663         </td>\r
664         <td class="msource">RowSelectionModel</td>\r
665     </tr>\r
666         <tr class="method-row alt expandable">\r
667         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
668         <td class="sig">\r
669         <a id="Ext.grid.RowSelectionModel-selectNext"></a>\r
670             <b>selectNext</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean keepExisting</code>]</span>&nbsp;) : Boolean            <div class="mdesc">\r
671                         <div class="short">Selects the row immediately following the last selected row.</div>\r
672             <div class="long">\r
673                 Selects the row immediately following the last selected row.    <div class="mdetail-params">\r
674         <strong>Parameters:</strong>\r
675         <ul><li><code>keepExisting</code> : Boolean<div class="sub-desc">(optional) True to keep existing selections</div></li>        </ul>\r
676         <strong>Returns:</strong>\r
677         <ul>\r
678             <li><code>Boolean</code><div class="sub-desc">True if there is a next row, else false</div></li>\r
679         </ul>\r
680     </div>\r
681                 </div>\r
682                         </div>\r
683         </td>\r
684         <td class="msource">RowSelectionModel</td>\r
685     </tr>\r
686         <tr class="method-row expandable">\r
687         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
688         <td class="sig">\r
689         <a id="Ext.grid.RowSelectionModel-selectPrevious"></a>\r
690             <b>selectPrevious</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean keepExisting</code>]</span>&nbsp;) : Boolean            <div class="mdesc">\r
691                         <div class="short">Selects the row that precedes the last selected row.</div>\r
692             <div class="long">\r
693                 Selects the row that precedes the last selected row.    <div class="mdetail-params">\r
694         <strong>Parameters:</strong>\r
695         <ul><li><code>keepExisting</code> : Boolean<div class="sub-desc">(optional) True to keep existing selections</div></li>        </ul>\r
696         <strong>Returns:</strong>\r
697         <ul>\r
698             <li><code>Boolean</code><div class="sub-desc">True if there is a previous row, else false</div></li>\r
699         </ul>\r
700     </div>\r
701                 </div>\r
702                         </div>\r
703         </td>\r
704         <td class="msource">RowSelectionModel</td>\r
705     </tr>\r
706         <tr class="method-row alt expandable">\r
707         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
708         <td class="sig">\r
709         <a id="Ext.grid.RowSelectionModel-selectRange"></a>\r
710             <b>selectRange</b>(&nbsp;<code>Number startRow</code>, <code>Number endRow</code>, <span class="optional" title="Optional">[<code>Boolean keepExisting</code>]</span>&nbsp;) : void            <div class="mdesc">\r
711                         <div class="short">Selects a range of rows. All rows in between startRow and endRow are also selected.</div>\r
712             <div class="long">\r
713                 Selects a range of rows. All rows in between startRow and endRow are also selected.    <div class="mdetail-params">\r
714         <strong>Parameters:</strong>\r
715         <ul><li><code>startRow</code> : Number<div class="sub-desc">The index of the first row in the range</div></li><li><code>endRow</code> : Number<div class="sub-desc">The index of the last row in the range</div></li><li><code>keepExisting</code> : Boolean<div class="sub-desc">(optional) True to retain existing selections</div></li>        </ul>\r
716         <strong>Returns:</strong>\r
717         <ul>\r
718             <li><code>void</code></li>\r
719         </ul>\r
720     </div>\r
721                 </div>\r
722                         </div>\r
723         </td>\r
724         <td class="msource">RowSelectionModel</td>\r
725     </tr>\r
726         <tr class="method-row expandable">\r
727         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
728         <td class="sig">\r
729         <a id="Ext.grid.RowSelectionModel-selectRecords"></a>\r
730             <b>selectRecords</b>(&nbsp;<code>Array records</code>, <span class="optional" title="Optional">[<code>Boolean keepExisting</code>]</span>&nbsp;) : void            <div class="mdesc">\r
731                         <div class="short">Select records.</div>\r
732             <div class="long">\r
733                 Select records.    <div class="mdetail-params">\r
734         <strong>Parameters:</strong>\r
735         <ul><li><code>records</code> : Array<div class="sub-desc">The records to select</div></li><li><code>keepExisting</code> : Boolean<div class="sub-desc">(optional) True to keep existing selections</div></li>        </ul>\r
736         <strong>Returns:</strong>\r
737         <ul>\r
738             <li><code>void</code></li>\r
739         </ul>\r
740     </div>\r
741                 </div>\r
742                         </div>\r
743         </td>\r
744         <td class="msource">RowSelectionModel</td>\r
745     </tr>\r
746         <tr class="method-row alt expandable">\r
747         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
748         <td class="sig">\r
749         <a id="Ext.grid.RowSelectionModel-selectRow"></a>\r
750             <b>selectRow</b>(&nbsp;<code>Number row</code>, <span class="optional" title="Optional">[<code>Boolean keepExisting</code>]</span>&nbsp;) : void            <div class="mdesc">\r
751                         <div class="short">Selects a row.</div>\r
752             <div class="long">\r
753                 Selects a row.    <div class="mdetail-params">\r
754         <strong>Parameters:</strong>\r
755         <ul><li><code>row</code> : Number<div class="sub-desc">The index of the row to select</div></li><li><code>keepExisting</code> : Boolean<div class="sub-desc">(optional) True to keep existing selections</div></li>        </ul>\r
756         <strong>Returns:</strong>\r
757         <ul>\r
758             <li><code>void</code></li>\r
759         </ul>\r
760     </div>\r
761                 </div>\r
762                         </div>\r
763         </td>\r
764         <td class="msource">RowSelectionModel</td>\r
765     </tr>\r
766         <tr class="method-row expandable">\r
767         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
768         <td class="sig">\r
769         <a id="Ext.grid.RowSelectionModel-selectRows"></a>\r
770             <b>selectRows</b>(&nbsp;<code>Array rows</code>, <span class="optional" title="Optional">[<code>Boolean keepExisting</code>]</span>&nbsp;) : void            <div class="mdesc">\r
771                         <div class="short">Selects multiple rows.</div>\r
772             <div class="long">\r
773                 Selects multiple rows.    <div class="mdetail-params">\r
774         <strong>Parameters:</strong>\r
775         <ul><li><code>rows</code> : Array<div class="sub-desc">Array of the indexes of the row to select</div></li><li><code>keepExisting</code> : Boolean<div class="sub-desc">(optional) True to keep existing selections (defaults to false)</div></li>        </ul>\r
776         <strong>Returns:</strong>\r
777         <ul>\r
778             <li><code>void</code></li>\r
779         </ul>\r
780     </div>\r
781                 </div>\r
782                         </div>\r
783         </td>\r
784         <td class="msource">RowSelectionModel</td>\r
785     </tr>\r
786         <tr class="method-row inherited alt expandable">\r
787         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
788         <td class="sig">\r
789         <a id="Ext.grid.RowSelectionModel-suspendEvents"></a>\r
790             <b>suspendEvents</b>() : void            <div class="mdesc">\r
791                         <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>\r
792             <div class="long">\r
793                 Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)    <div class="mdetail-params">\r
794         <strong>Parameters:</strong>\r
795         <ul><li>None.</li>        </ul>\r
796         <strong>Returns:</strong>\r
797         <ul>\r
798             <li><code>void</code></li>\r
799         </ul>\r
800     </div>\r
801                 </div>\r
802                         </div>\r
803         </td>\r
804         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>\r
805     </tr>\r
806         <tr class="method-row inherited expandable">\r
807         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
808         <td class="sig">\r
809         <a id="Ext.grid.RowSelectionModel-un"></a>\r
810             <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void            <div class="mdesc">\r
811                         <div class="short">Removes a listener (shorthand for removeListener)</div>\r
812             <div class="long">\r
813                 Removes a listener (shorthand for removeListener)    <div class="mdetail-params">\r
814         <strong>Parameters:</strong>\r
815         <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li>        </ul>\r
816         <strong>Returns:</strong>\r
817         <ul>\r
818             <li><code>void</code></li>\r
819         </ul>\r
820     </div>\r
821                 </div>\r
822                         </div>\r
823         </td>\r
824         <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>\r
825     </tr>\r
826         <tr class="method-row inherited alt expandable">\r
827         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
828         <td class="sig">\r
829         <a id="Ext.grid.RowSelectionModel-unlock"></a>\r
830             <b>unlock</b>() : void            <div class="mdesc">\r
831                         <div class="short">Unlocks the selections.</div>\r
832             <div class="long">\r
833                 Unlocks the selections.    <div class="mdetail-params">\r
834         <strong>Parameters:</strong>\r
835         <ul><li>None.</li>        </ul>\r
836         <strong>Returns:</strong>\r
837         <ul>\r
838             <li><code>void</code></li>\r
839         </ul>\r
840     </div>\r
841                 </div>\r
842                         </div>\r
843         </td>\r
844         <td class="msource"><a ext:cls="Ext.grid.AbstractSelectionModel" ext:member="#unlock" href="output/Ext.grid.AbstractSelectionModel.html#unlock">AbstractSelectionModel</a></td>\r
845     </tr>\r
846             </table>
847                 <a id="Ext.grid.RowSelectionModel-events"></a>
848         <h2>Public Events</h2>
849                 <table cellspacing="0" class="member-table">
850             <tr>
851                 <th class="sig-header" colspan="2">Event</th>
852                 <th class="msource-header">Defined By</th>
853             </tr>
854                 <tr class="event-row expandable">\r
855         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
856         <td class="sig">\r
857         <a id="Ext.grid.RowSelectionModel-beforerowselect"></a>\r
858             <b>beforerowselect</b> : (&nbsp;<code>SelectionModel this</code>, <code>Number rowIndex</code>, <code>Boolean keepExisting</code>, <code>Record record</code>&nbsp;)            <div class="mdesc">\r
859                         <div class="short">Fires when a row is being selected, return false to cancel.</div>\r
860             <div class="long">\r
861                 Fires when a row is being selected, return false to cancel.    <div class="mdetail-params">\r
862         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
863         <ul><li><code>this</code> : SelectionModel<div class="sub-desc"></div></li><li><code>rowIndex</code> : Number<div class="sub-desc">The index to be selected</div></li><li><code>keepExisting</code> : Boolean<div class="sub-desc">False if other selections will be cleared</div></li><li><code>record</code> : Record<div class="sub-desc">The record to be selected</div></li>        </ul>\r
864     </div>\r
865                 </div>\r
866                         </div>\r
867         </td>\r
868         <td class="msource">RowSelectionModel</td>\r
869     </tr>\r
870         <tr class="event-row alt expandable">\r
871         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
872         <td class="sig">\r
873         <a id="Ext.grid.RowSelectionModel-rowdeselect"></a>\r
874             <b>rowdeselect</b> : (&nbsp;<code>SelectionModel this</code>, <code>Number rowIndex</code>, <code>Record record</code>&nbsp;)            <div class="mdesc">\r
875                         <div class="short">Fires when a row is deselected.</div>\r
876             <div class="long">\r
877                 Fires when a row is deselected.    <div class="mdetail-params">\r
878         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
879         <ul><li><code>this</code> : SelectionModel<div class="sub-desc"></div></li><li><code>rowIndex</code> : Number<div class="sub-desc"></div></li><li><code>record</code> : Record<div class="sub-desc"></div></li>        </ul>\r
880     </div>\r
881                 </div>\r
882                         </div>\r
883         </td>\r
884         <td class="msource">RowSelectionModel</td>\r
885     </tr>\r
886         <tr class="event-row expandable">\r
887         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
888         <td class="sig">\r
889         <a id="Ext.grid.RowSelectionModel-rowselect"></a>\r
890             <b>rowselect</b> : (&nbsp;<code>SelectionModel this</code>, <code>Number rowIndex</code>, <code>Ext.data.Record r</code>&nbsp;)            <div class="mdesc">\r
891                         <div class="short">Fires when a row is selected.</div>\r
892             <div class="long">\r
893                 Fires when a row is selected.    <div class="mdetail-params">\r
894         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
895         <ul><li><code>this</code> : SelectionModel<div class="sub-desc"></div></li><li><code>rowIndex</code> : Number<div class="sub-desc">The selected index</div></li><li><code>r</code> : Ext.data.Record<div class="sub-desc">The selected record</div></li>        </ul>\r
896     </div>\r
897                 </div>\r
898                         </div>\r
899         </td>\r
900         <td class="msource">RowSelectionModel</td>\r
901     </tr>\r
902         <tr class="event-row alt expandable">\r
903         <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>\r
904         <td class="sig">\r
905         <a id="Ext.grid.RowSelectionModel-selectionchange"></a>\r
906             <b>selectionchange</b> : (&nbsp;<code>SelectionModel this</code>&nbsp;)            <div class="mdesc">\r
907                         <div class="short">Fires when the selection changes</div>\r
908             <div class="long">\r
909                 Fires when the selection changes    <div class="mdetail-params">\r
910         <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>\r
911         <ul><li><code>this</code> : SelectionModel<div class="sub-desc"></div></li>        </ul>\r
912     </div>\r
913                 </div>\r
914                         </div>\r
915         </td>\r
916         <td class="msource">RowSelectionModel</td>\r
917     </tr>\r
918             </table>
919         
920         </div>