sync
[roojs1] / docs / symbols / Roo.grid.RowSelectionModel.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
6         <head>
7                 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8                 <meta name="generator" content="JsDoc Toolkit" />
9                 
10                 
11                 <title>JsDoc Reference - Roo.grid.RowSelectionModel</title>
12                 
13                 
14         <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />            
15         <link rel="stylesheet" type="text/css" href="../default.css" />
16         
17         
18         <script type="text/javascript" src="../page.js">
19         
20         </script>
21          
22                 
23         </head>
24
25         <body onload="RooDocsPage.onload();">
26          
27         
28 <div class="body-wrap">
29
30     <!-- ============================== links to methods. ================================= --> 
31
32     <div class="top-tools">
33     <!--
34         <a class="inner-link" href="#Roo.grid.RowSelectionModel-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.grid.RowSelectionModel-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.grid.RowSelectionModel-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.grid.RowSelectionModel-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>
39         -->
40     </div>
41
42     
43 <!-- ============================== inheritance Block. ================================= -->    
44         
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.AbstractSelectionModel.html#constructor" roo:cls="Roo.grid.AbstractSelectionModel.html#constructor">Roo.grid.AbstractSelectionModel</a>
48 <img src="../../images/default/s.gif" height="1"  width="40"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.grid.RowSelectionModel 
49
50                    </pre>
51                 </div>
52        
53 <!-- ============================== class title / details ============================ -->
54     
55     
56     <h1 class="classTitle">
57                                 
58                                 Class Roo.grid.RowSelectionModel
59                         </h1>
60                         
61     <table cellspacing="0" class="class-summary-table">
62         
63                 <tr><td class="label">Package:</td><td class="hd-info">Roo.grid</td></tr>
64         
65         <tr><td class="label">Defined In:</td><td class="hd-info">
66                         
67                                         <a href="./src/Roo_grid_RowSelectionModel.js.html">Roo/grid/RowSelectionModel.js</a>.
68                         
69         </td></tr>
70         <tr><td class="label">Class:</td><td class="hd-info">RowSelectionModel</td></tr>
71         
72         
73         
74         
75                 <tr><td class="label">Extends:</td><td class="hd-info">
76                         <a href="./Roo.grid.AbstractSelectionModel.html#constructor" roo:cls="Roo.grid.AbstractSelectionModel.html#constructor">Roo.grid.AbstractSelectionModel</a>
77         
78                 </td></tr>    
79         
80         
81     </table>
82
83     
84 <!-- ============================== class summary ========================== -->                        
85     <div class="description">
86         The default SelectionModel used by {<b>link</b> Roo.grid.Grid}.<br/>It supports multiple selections and keyboard selection/navigation.
87     </div>
88
89         
90 <!-- ============================== Class comment block... ========================== -->                                       
91
92 <div class="comments">
93         <b>Class Comments / Notes</B> =>  
94         <u onclick="parent.CommentDialog.showCommentId = 'Roo.grid.RowSelectionModel';">[Add Your comment/notes about this class]</u>
95         <br/>
96         <iframe frameborder="0"  id="comments-Roo.grid" style="border: none;width:100%;" 
97                 src="/blog.php/GtkDjsComments/Roo.grid.RowSelectionModel.html"></iframe>
98 </div>
99         
100
101                 
102 <!-- ============================== config options ========================== -->                                               
103                  
104     
105     
106                 
107     <div class="hr"></div>
108     <a id="Roo.grid.RowSelectionModel-configs"></a>
109                 
110     
111      
112     
113         
114       <table cellspacing="0" class="member-table">   
115       <caption>Config Options (Usually are also Properties)</caption>
116     
117         
118         <tr>
119             <th class="sig-header" colspan="2">Options</th>
120             
121             <th class="msource-header">Defined By</th>
122         </tr>
123         
124         
125         
126         
127         
128                 <tr class="config-row expandable config-row-alt0">
129                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
130                     <td class="sig">
131
132                         <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
133                         <div class="fixedFont">
134                                 <b  class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
135                                 
136                                 
137                         </div>
138                   
139                         <div class="mdesc">
140                             <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> 
141                         </div>
142                         
143                         <div class="mdesc">
144                             <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> 
145                         </div>
146                         
147                         
148
149                     </td>
150                     <td class="msource">
151                         
152                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
153                                 
154                     </td>
155                 </tr>
156         
157         
158                 <tr class="config-row expandable config-row-alt1 notInherited">
159                    <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
160                     <td class="sig">
161
162                         <a id="Roo.grid.RowSelectionModel-cfg-singleSelect" name=".singleSelect"></a>
163                         <div class="fixedFont">
164                                 <b  class="itemname">singleSelect</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
165                                 
166                                 
167                         </div>
168                   
169                         <div class="mdesc">
170                             <div class="short">True to allow selection of only one row at a time (defaults to false)</div> 
171                         </div>
172                         
173                         <div class="mdesc">
174                             <div class="long">True to allow selection of only one row at a time (defaults to false)</div> 
175                         </div>
176                         
177                         
178
179                     </td>
180                     <td class="msource">
181                         
182                         Roo.grid.RowSelectionModel
183                                 
184                     </td>
185                 </tr>
186         
187         
188     </table>
189                 
190   
191   
192   
193   
194   
195   
196   
197   
198   <!-- ============================== public properties ==================== -->        
199   
200   
201   
202     <a id="Roo.grid.RowSelectionModel-props"></a>      
203     
204     
205
206     
207     
208      <table cellspacing="0" class="member-table">
209       <caption class="Empty">Public Properties - Has None</caption>
210      </table>
211     
212     
213      
214     
215   <!-- ============================== methods summary / details ======================== -->
216   
217   
218   <a id="Roo.grid.RowSelectionModel-methods"></a>
219         <!-- constructor?? -->
220         
221         <!-- static's first 
222         
223         
224         -->
225         
226         <!-- then dynamics first -->
227         
228   
229   
230     
231     
232     
233       <table cellspacing="0" class="member-table">
234       <caption>Public Methods</caption>
235         <tr>
236             <th class="sig-header" colspan="2">Method</th>            
237             <th class="msource-header">Defined By</th>
238
239         </tr>
240         
241         
242         
243          
244         
245         
246           
247           <tr class="method-row config-row-alt0 expandable notInherited">
248             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
249            
250            
251             <td class="sig">
252                 <a id="Roo.grid-method-RowSelectionModel"   name=".RowSelectionModel"></a>
253                 <div class="fixedFont">
254                         <span class="attributes">new <B>Roo.grid.</B></span><b class="itemname">RowSelectionModel</b>
255                                 
256                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>) 
257                         
258                                 
259                         
260                 </div>
261                 <div class="mdesc">
262                 
263                  
264                         <div class="short">Create a new Roo.grid.RowSelectionModel</div> 
265                  
266                  
267                     <div class="long">
268                         
269                         
270                         
271                                 Create a new Roo.grid.RowSelectionModel
272                         
273                         
274                                 <dl class="detailList">
275                                 <dt class="heading">Parameters:</dt>
276                                 
277                                         <dt>
278                                                 <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>
279                                                 
280                                         </dt>
281                                         <dd></dd>
282                                 
283                                 </dl>
284                         
285                         
286                         
287                         
288                         
289                         
290                         
291
292                     
293                     
294                      
295                     </div>                    
296                 </div>
297
298             </td>
299             <td class="msource">
300                 &nbsp;
301             </td>
302         </tr>
303         
304           
305           <tr class="method-row config-row-alt1 expandable">
306             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
307            
308            
309             <td class="sig">
310                 <a id="Roo.util.Observable-method-addEvents"   name=".addEvents"></a>
311                 <div class="fixedFont">
312                         <span class="attributes"></span><b class="itemname">addEvents</b>
313                                 
314                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>) 
315                         
316                                 
317                         
318                 </div>
319                 <div class="mdesc">
320                 
321                    <div class="short">Used to define events on this Observable</div> 
322                  
323                  
324                  
325                     <div class="long">
326                         
327                                 Used to define events on this Observable
328                     
329                                 
330                         
331                         
332                         
333                         
334                                 <dl class="detailList">
335                                 <dt class="heading">Parameters:</dt>
336                                 
337                                         <dt>
338                                                 <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>
339                                                 
340                                         </dt>
341                                         <dd>The object with the events defined</dd>
342                                 
343                                 </dl>
344                         
345                         
346                         
347                         
348                         
349                         
350                         
351
352                     
353                     
354                      
355                     </div>                    
356                 </div>
357
358             </td>
359             <td class="msource">
360                 
361                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
362                 &nbsp;
363             </td>
364         </tr>
365         
366           
367           <tr class="method-row config-row-alt0 expandable">
368             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
369            
370            
371             <td class="sig">
372                 <a id="Roo.util.Observable-method-addListener"   name=".addListener"></a>
373                 <div class="fixedFont">
374                         <span class="attributes"></span><b class="itemname">addListener</b>
375                                 
376                                  (<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>) 
377                         
378                                 
379                         
380                 </div>
381                 <div class="mdesc">
382                 
383                    <div class="short">Appends an event handler to this component</div> 
384                  
385                  
386                  
387                     <div class="long">
388                         
389                                 Appends an event handler to this component
390                     
391                                 
392                         
393                         
394                         
395                         
396                                 <dl class="detailList">
397                                 <dt class="heading">Parameters:</dt>
398                                 
399                                         <dt>
400                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
401                                                 
402                                         </dt>
403                                         <dd>The type of event to listen for</dd>
404                                 
405                                         <dt>
406                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
407                                                 
408                                         </dt>
409                                         <dd>The method the event invokes</dd>
410                                 
411                                         <dt>
412                                                 <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>
413                                                 
414                                         </dt>
415                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
416                                 
417                                         <dt>
418                                                 <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>
419                                                 
420                                         </dt>
421                                         <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>
422                                 
423                                 </dl>
424                         
425                         
426                         
427                         
428                         
429                         
430                         
431
432                     
433                     
434                      
435                     </div>                    
436                 </div>
437
438             </td>
439             <td class="msource">
440                 
441                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
442                 &nbsp;
443             </td>
444         </tr>
445         
446           
447           <tr class="method-row config-row-alt1 expandable notInherited">
448             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
449            
450            
451             <td class="sig">
452                 <a id="Roo.grid.RowSelectionModel-method-clearSelections"   name=".clearSelections"></a>
453                 <div class="fixedFont">
454                         <span class="attributes"></span><b class="itemname">clearSelections</b>
455                                 
456                                  () 
457                         
458                                 
459                         
460                 </div>
461                 <div class="mdesc">
462                 
463                    <div class="short">Clears all selections.</div> 
464                  
465                  
466                  
467                     <div class="long">
468                         
469                                 Clears all selections.
470                     
471                                 
472                         
473                         
474                         
475                         
476                         
477                         
478                         
479                         
480                         
481                         
482
483                     
484                     
485                      
486                     </div>                    
487                 </div>
488
489             </td>
490             <td class="msource">
491                 
492                         Roo.grid.RowSelectionModel
493                 &nbsp;
494             </td>
495         </tr>
496         
497           
498           <tr class="method-row config-row-alt0 expandable notInherited">
499             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
500            
501            
502             <td class="sig">
503                 <a id="Roo.grid.RowSelectionModel-method-deselectRange"   name=".deselectRange"></a>
504                 <div class="fixedFont">
505                         <span class="attributes"></span><b class="itemname">deselectRange</b>
506                                 
507                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>startRow</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>endRow</i></B>) 
508                         
509                                 
510                         
511                 </div>
512                 <div class="mdesc">
513                 
514                    <div class="short">Deselects a range of rows.</div> 
515                  
516                  
517                  
518                     <div class="long">
519                         
520                                 Deselects a range of rows. All rows in between startRow and endRow are also deselected.
521                     
522                                 
523                         
524                         
525                         
526                         
527                                 <dl class="detailList">
528                                 <dt class="heading">Parameters:</dt>
529                                 
530                                         <dt>
531                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>startRow</b>
532                                                 
533                                         </dt>
534                                         <dd>The index of the first row in the range</dd>
535                                 
536                                         <dt>
537                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>endRow</b>
538                                                 
539                                         </dt>
540                                         <dd>The index of the last row in the range</dd>
541                                 
542                                 </dl>
543                         
544                         
545                         
546                         
547                         
548                         
549                         
550
551                     
552                     
553                      
554                     </div>                    
555                 </div>
556
557             </td>
558             <td class="msource">
559                 
560                         Roo.grid.RowSelectionModel
561                 &nbsp;
562             </td>
563         </tr>
564         
565           
566           <tr class="method-row config-row-alt1 expandable notInherited">
567             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
568            
569            
570             <td class="sig">
571                 <a id="Roo.grid.RowSelectionModel-method-deselectRow"   name=".deselectRow"></a>
572                 <div class="fixedFont">
573                         <span class="attributes"></span><b class="itemname">deselectRow</b>
574                                 
575                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>row</i></B>) 
576                         
577                                 
578                         
579                 </div>
580                 <div class="mdesc">
581                 
582                    <div class="short">Deselects a row.</div> 
583                  
584                  
585                  
586                     <div class="long">
587                         
588                                 Deselects a row.
589                     
590                                 
591                         
592                         
593                         
594                         
595                                 <dl class="detailList">
596                                 <dt class="heading">Parameters:</dt>
597                                 
598                                         <dt>
599                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>row</b>
600                                                 
601                                         </dt>
602                                         <dd>The index of the row to deselect</dd>
603                                 
604                                 </dl>
605                         
606                         
607                         
608                         
609                         
610                         
611                         
612
613                     
614                     
615                      
616                     </div>                    
617                 </div>
618
619             </td>
620             <td class="msource">
621                 
622                         Roo.grid.RowSelectionModel
623                 &nbsp;
624             </td>
625         </tr>
626         
627           
628           <tr class="method-row config-row-alt0 expandable">
629             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
630            
631            
632             <td class="sig">
633                 <a id="Roo.util.Observable-method-fireEvent"   name=".fireEvent"></a>
634                 <div class="fixedFont">
635                         <span class="attributes"></span><b class="itemname">fireEvent</b>
636                                 
637                                  (<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>) 
638                         
639                                 
640                                          : 
641                                         
642                                                 
643                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
644                                         
645                                         
646                                         
647                                 
648                         
649                 </div>
650                 <div class="mdesc">
651                 
652                    <div class="short">Fires the specified event with the passed parameters (minus the event name).</div> 
653                  
654                  
655                  
656                     <div class="long">
657                         
658                                 Fires the specified event with the passed parameters (minus the event name).
659                     
660                                 
661                         
662                         
663                         
664                         
665                                 <dl class="detailList">
666                                 <dt class="heading">Parameters:</dt>
667                                 
668                                         <dt>
669                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
670                                                 
671                                         </dt>
672                                         <dd></dd>
673                                 
674                                         <dt>
675                                                 <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>
676                                                 
677                                         </dt>
678                                         <dd>Variable number of parameters are passed to handlers</dd>
679                                 
680                                 </dl>
681                         
682                         
683                         
684                         
685                         
686                                 <dl class="detailList">
687                                 <dt class="heading">Returns:</dt>
688                                 
689                                         <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>
690                                 
691                                 </dl>
692                         
693                         
694                         
695
696                     
697                     
698                      
699                     </div>                    
700                 </div>
701
702             </td>
703             <td class="msource">
704                 
705                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
706                 &nbsp;
707             </td>
708         </tr>
709         
710           
711           <tr class="method-row config-row-alt1 expandable notInherited">
712             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
713            
714            
715             <td class="sig">
716                 <a id="Roo.grid.RowSelectionModel-method-getCount"   name=".getCount"></a>
717                 <div class="fixedFont">
718                         <span class="attributes"></span><b class="itemname">getCount</b>
719                                 
720                                  () 
721                         
722                                 
723                                          : 
724                                         
725                                                 
726                                                 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
727                                         
728                                         
729                                         
730                                 
731                         
732                 </div>
733                 <div class="mdesc">
734                 
735                    <div class="short">Gets the number of selected rows.</div> 
736                  
737                  
738                  
739                     <div class="long">
740                         
741                                 Gets the number of selected rows.
742                     
743                                 
744                         
745                         
746                         
747                         
748                         
749                         
750                         
751                         
752                                 <dl class="detailList">
753                                 <dt class="heading">Returns:</dt>
754                                 
755                                         <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  </dd>
756                                 
757                                 </dl>
758                         
759                         
760                         
761
762                     
763                     
764                      
765                     </div>                    
766                 </div>
767
768             </td>
769             <td class="msource">
770                 
771                         Roo.grid.RowSelectionModel
772                 &nbsp;
773             </td>
774         </tr>
775         
776           
777           <tr class="method-row config-row-alt0 expandable notInherited">
778             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
779            
780            
781             <td class="sig">
782                 <a id="Roo.grid.RowSelectionModel-method-getSelected"   name=".getSelected"></a>
783                 <div class="fixedFont">
784                         <span class="attributes"></span><b class="itemname">getSelected</b>
785                                 
786                                  () 
787                         
788                                 
789                                          : 
790                                         
791                                                 
792                                                 Record
793                                         
794                                         
795                                         
796                                 
797                         
798                 </div>
799                 <div class="mdesc">
800                 
801                    <div class="short">Returns the first selected record.</div> 
802                  
803                  
804                  
805                     <div class="long">
806                         
807                                 Returns the first selected record.
808                     
809                                 
810                         
811                         
812                         
813                         
814                         
815                         
816                         
817                         
818                                 <dl class="detailList">
819                                 <dt class="heading">Returns:</dt>
820                                 
821                                         <dd><span class="fixedFont">Record</span>  </dd>
822                                 
823                                 </dl>
824                         
825                         
826                         
827
828                     
829                     
830                      
831                     </div>                    
832                 </div>
833
834             </td>
835             <td class="msource">
836                 
837                         Roo.grid.RowSelectionModel
838                 &nbsp;
839             </td>
840         </tr>
841         
842           
843           <tr class="method-row config-row-alt1 expandable notInherited">
844             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
845            
846            
847             <td class="sig">
848                 <a id="Roo.grid.RowSelectionModel-method-getSelections"   name=".getSelections"></a>
849                 <div class="fixedFont">
850                         <span class="attributes"></span><b class="itemname">getSelections</b>
851                                 
852                                  () 
853                         
854                                 
855                                          : 
856                                         
857                                                 
858                                                 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
859                                         
860                                         
861                                         
862                                 
863                         
864                 </div>
865                 <div class="mdesc">
866                 
867                    <div class="short">Returns the selected records</div> 
868                  
869                  
870                  
871                     <div class="long">
872                         
873                                 Returns the selected records
874                     
875                                 
876                         
877                         
878                         
879                         
880                         
881                         
882                         
883                         
884                                 <dl class="detailList">
885                                 <dt class="heading">Returns:</dt>
886                                 
887                                         <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span>  Array of selected records</dd>
888                                 
889                                 </dl>
890                         
891                         
892                         
893
894                     
895                     
896                      
897                     </div>                    
898                 </div>
899
900             </td>
901             <td class="msource">
902                 
903                         Roo.grid.RowSelectionModel
904                 &nbsp;
905             </td>
906         </tr>
907         
908           
909           <tr class="method-row config-row-alt0 expandable">
910             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
911            
912            
913             <td class="sig">
914                 <a id="Roo.util.Observable-method-hasListener"   name=".hasListener"></a>
915                 <div class="fixedFont">
916                         <span class="attributes"></span><b class="itemname">hasListener</b>
917                                 
918                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>) 
919                         
920                                 
921                                          : 
922                                         
923                                                 
924                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
925                                         
926                                         
927                                         
928                                 
929                         
930                 </div>
931                 <div class="mdesc">
932                 
933                    <div class="short">Checks to see if this object has any listeners for a specified event</div> 
934                  
935                  
936                  
937                     <div class="long">
938                         
939                                 Checks to see if this object has any listeners for a specified event
940                     
941                                 
942                         
943                         
944                         
945                         
946                                 <dl class="detailList">
947                                 <dt class="heading">Parameters:</dt>
948                                 
949                                         <dt>
950                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
951                                                 
952                                         </dt>
953                                         <dd>The name of the event to check for</dd>
954                                 
955                                 </dl>
956                         
957                         
958                         
959                         
960                         
961                                 <dl class="detailList">
962                                 <dt class="heading">Returns:</dt>
963                                 
964                                         <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>
965                                 
966                                 </dl>
967                         
968                         
969                         
970
971                     
972                     
973                      
974                     </div>                    
975                 </div>
976
977             </td>
978             <td class="msource">
979                 
980                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
981                 &nbsp;
982             </td>
983         </tr>
984         
985           
986           <tr class="method-row config-row-alt1 expandable notInherited">
987             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
988            
989            
990             <td class="sig">
991                 <a id="Roo.grid.RowSelectionModel-method-hasSelection"   name=".hasSelection"></a>
992                 <div class="fixedFont">
993                         <span class="attributes"></span><b class="itemname">hasSelection</b>
994                                 
995                                  () 
996                         
997                                 
998                                          : 
999                                         
1000                                                 
1001                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1002                                         
1003                                         
1004                                         
1005                                 
1006                         
1007                 </div>
1008                 <div class="mdesc">
1009                 
1010                    <div class="short">Returns True if there is a selection.</div> 
1011                  
1012                  
1013                  
1014                     <div class="long">
1015                         
1016                                 Returns True if there is a selection.
1017                     
1018                                 
1019                         
1020                         
1021                         
1022                         
1023                         
1024                         
1025                         
1026                         
1027                                 <dl class="detailList">
1028                                 <dt class="heading">Returns:</dt>
1029                                 
1030                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  </dd>
1031                                 
1032                                 </dl>
1033                         
1034                         
1035                         
1036
1037                     
1038                     
1039                      
1040                     </div>                    
1041                 </div>
1042
1043             </td>
1044             <td class="msource">
1045                 
1046                         Roo.grid.RowSelectionModel
1047                 &nbsp;
1048             </td>
1049         </tr>
1050         
1051           
1052           <tr class="method-row config-row-alt0 expandable notInherited">
1053             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1054            
1055            
1056             <td class="sig">
1057                 <a id="Roo.grid.RowSelectionModel-method-isIdSelected"   name=".isIdSelected"></a>
1058                 <div class="fixedFont">
1059                         <span class="attributes"></span><b class="itemname">isIdSelected</b>
1060                                 
1061                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>) 
1062                         
1063                                 
1064                                          : 
1065                                         
1066                                                 
1067                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1068                                         
1069                                         
1070                                         
1071                                 
1072                         
1073                 </div>
1074                 <div class="mdesc">
1075                 
1076                    <div class="short">Returns True if the specified record id is selected.</div> 
1077                  
1078                  
1079                  
1080                     <div class="long">
1081                         
1082                                 Returns True if the specified record id is selected.
1083                     
1084                                 
1085                         
1086                         
1087                         
1088                         
1089                                 <dl class="detailList">
1090                                 <dt class="heading">Parameters:</dt>
1091                                 
1092                                         <dt>
1093                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>id</b>
1094                                                 
1095                                         </dt>
1096                                         <dd>The id of record to check</dd>
1097                                 
1098                                 </dl>
1099                         
1100                         
1101                         
1102                         
1103                         
1104                                 <dl class="detailList">
1105                                 <dt class="heading">Returns:</dt>
1106                                 
1107                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  </dd>
1108                                 
1109                                 </dl>
1110                         
1111                         
1112                         
1113
1114                     
1115                     
1116                      
1117                     </div>                    
1118                 </div>
1119
1120             </td>
1121             <td class="msource">
1122                 
1123                         Roo.grid.RowSelectionModel
1124                 &nbsp;
1125             </td>
1126         </tr>
1127         
1128           
1129           <tr class="method-row config-row-alt1 expandable">
1130             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1131            
1132            
1133             <td class="sig">
1134                 <a id="Roo.grid.AbstractSelectionModel-method-isLocked"   name=".isLocked"></a>
1135                 <div class="fixedFont">
1136                         <span class="attributes"></span><b class="itemname">isLocked</b>
1137                                 
1138                                  () 
1139                         
1140                                 
1141                                          : 
1142                                         
1143                                                 
1144                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1145                                         
1146                                         
1147                                         
1148                                 
1149                         
1150                 </div>
1151                 <div class="mdesc">
1152                 
1153                    <div class="short">Returns true if the selections are locked.</div> 
1154                  
1155                  
1156                  
1157                     <div class="long">
1158                         
1159                                 Returns true if the selections are locked.
1160                     
1161                                 
1162                         
1163                         
1164                         
1165                         
1166                         
1167                         
1168                         
1169                         
1170                                 <dl class="detailList">
1171                                 <dt class="heading">Returns:</dt>
1172                                 
1173                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  </dd>
1174                                 
1175                                 </dl>
1176                         
1177                         
1178                         
1179
1180                     
1181                     
1182                      
1183                     </div>                    
1184                 </div>
1185
1186             </td>
1187             <td class="msource">
1188                 
1189                         <a href="./Roo.grid.AbstractSelectionModel.html#constructor" roo:cls="Roo.grid.AbstractSelectionModel.html#constructor">Roo.grid.AbstractSelectionModel</a>
1190                 &nbsp;
1191             </td>
1192         </tr>
1193         
1194           
1195           <tr class="method-row config-row-alt0 expandable notInherited">
1196             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1197            
1198            
1199             <td class="sig">
1200                 <a id="Roo.grid.RowSelectionModel-method-isSelected"   name=".isSelected"></a>
1201                 <div class="fixedFont">
1202                         <span class="attributes"></span><b class="itemname">isSelected</b>
1203                                 
1204                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Record <B><i>record</i></B>) 
1205                         
1206                                 
1207                                          : 
1208                                         
1209                                                 
1210                                                 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1211                                         
1212                                         
1213                                         
1214                                 
1215                         
1216                 </div>
1217                 <div class="mdesc">
1218                 
1219                    <div class="short">Returns True if the specified row is selected.</div> 
1220                  
1221                  
1222                  
1223                     <div class="long">
1224                         
1225                                 Returns True if the specified row is selected.
1226                     
1227                                 
1228                         
1229                         
1230                         
1231                         
1232                                 <dl class="detailList">
1233                                 <dt class="heading">Parameters:</dt>
1234                                 
1235                                         <dt>
1236                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Record</span>  <b>record</b>
1237                                                 
1238                                         </dt>
1239                                         <dd>The record or index of the record to check</dd>
1240                                 
1241                                 </dl>
1242                         
1243                         
1244                         
1245                         
1246                         
1247                                 <dl class="detailList">
1248                                 <dt class="heading">Returns:</dt>
1249                                 
1250                                         <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  </dd>
1251                                 
1252                                 </dl>
1253                         
1254                         
1255                         
1256
1257                     
1258                     
1259                      
1260                     </div>                    
1261                 </div>
1262
1263             </td>
1264             <td class="msource">
1265                 
1266                         Roo.grid.RowSelectionModel
1267                 &nbsp;
1268             </td>
1269         </tr>
1270         
1271           
1272           <tr class="method-row config-row-alt1 expandable">
1273             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1274            
1275            
1276             <td class="sig">
1277                 <a id="Roo.grid.AbstractSelectionModel-method-lock"   name=".lock"></a>
1278                 <div class="fixedFont">
1279                         <span class="attributes"></span><b class="itemname">lock</b>
1280                                 
1281                                  () 
1282                         
1283                                 
1284                         
1285                 </div>
1286                 <div class="mdesc">
1287                 
1288                    <div class="short">Locks the selections.</div> 
1289                  
1290                  
1291                  
1292                     <div class="long">
1293                         
1294                                 Locks the selections.
1295                     
1296                                 
1297                         
1298                         
1299                         
1300                         
1301                         
1302                         
1303                         
1304                         
1305                         
1306                         
1307
1308                     
1309                     
1310                      
1311                     </div>                    
1312                 </div>
1313
1314             </td>
1315             <td class="msource">
1316                 
1317                         <a href="./Roo.grid.AbstractSelectionModel.html#constructor" roo:cls="Roo.grid.AbstractSelectionModel.html#constructor">Roo.grid.AbstractSelectionModel</a>
1318                 &nbsp;
1319             </td>
1320         </tr>
1321         
1322           
1323           <tr class="method-row config-row-alt0 expandable">
1324             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1325            
1326            
1327             <td class="sig">
1328                 <a id="Roo.util.Observable-method-on"   name=".on"></a>
1329                 <div class="fixedFont">
1330                         <span class="attributes"></span><b class="itemname">on</b>
1331                                 
1332                                  (<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>) 
1333                         
1334                                 
1335                         
1336                 </div>
1337                 <div class="mdesc">
1338                 
1339                    <div class="short">Appends an event handler to this element (shorthand for addListener)</div> 
1340                  
1341                  
1342                  
1343                     <div class="long">
1344                         
1345                                 Appends an event handler to this element (shorthand for addListener)
1346                     
1347                                 
1348                         
1349                         
1350                         
1351                         
1352                                 <dl class="detailList">
1353                                 <dt class="heading">Parameters:</dt>
1354                                 
1355                                         <dt>
1356                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1357                                                 
1358                                         </dt>
1359                                         <dd>The type of event to listen for</dd>
1360                                 
1361                                         <dt>
1362                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1363                                                 
1364                                         </dt>
1365                                         <dd>The method the event invokes</dd>
1366                                 
1367                                         <dt>
1368                                                 <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>
1369                                                 
1370                                         </dt>
1371                                         <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1372                                 
1373                                         <dt>
1374                                                 <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>
1375                                                 
1376                                         </dt>
1377                                         <dd>(optional)</dd>
1378                                 
1379                                 </dl>
1380                         
1381                         
1382                         
1383                         
1384                         
1385                         
1386                         
1387
1388                     
1389                     
1390                      
1391                     </div>                    
1392                 </div>
1393
1394             </td>
1395             <td class="msource">
1396                 
1397                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1398                 &nbsp;
1399             </td>
1400         </tr>
1401         
1402           
1403           <tr class="method-row config-row-alt1 expandable">
1404             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1405            
1406            
1407             <td class="sig">
1408                 <a id="Roo.util.Observable-method-purgeListeners"   name=".purgeListeners"></a>
1409                 <div class="fixedFont">
1410                         <span class="attributes"></span><b class="itemname">purgeListeners</b>
1411                                 
1412                                  () 
1413                         
1414                                 
1415                         
1416                 </div>
1417                 <div class="mdesc">
1418                 
1419                    <div class="short">Removes all listeners for this object</div> 
1420                  
1421                  
1422                  
1423                     <div class="long">
1424                         
1425                                 Removes all listeners for this object
1426                     
1427                                 
1428                         
1429                         
1430                         
1431                         
1432                         
1433                         
1434                         
1435                         
1436                         
1437                         
1438
1439                     
1440                     
1441                      
1442                     </div>                    
1443                 </div>
1444
1445             </td>
1446             <td class="msource">
1447                 
1448                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1449                 &nbsp;
1450             </td>
1451         </tr>
1452         
1453           
1454           <tr class="method-row config-row-alt0 expandable">
1455             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1456            
1457            
1458             <td class="sig">
1459                 <a id="Roo.util.Observable-method-removeListener"   name=".removeListener"></a>
1460                 <div class="fixedFont">
1461                         <span class="attributes"></span><b class="itemname">removeListener</b>
1462                                 
1463                                  (<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>) 
1464                         
1465                                 
1466                         
1467                 </div>
1468                 <div class="mdesc">
1469                 
1470                    <div class="short">Removes a listener</div> 
1471                  
1472                  
1473                  
1474                     <div class="long">
1475                         
1476                                 Removes a listener
1477                     
1478                                 
1479                         
1480                         
1481                         
1482                         
1483                                 <dl class="detailList">
1484                                 <dt class="heading">Parameters:</dt>
1485                                 
1486                                         <dt>
1487                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
1488                                                 
1489                                         </dt>
1490                                         <dd>The type of event to listen for</dd>
1491                                 
1492                                         <dt>
1493                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
1494                                                 
1495                                         </dt>
1496                                         <dd>The handler to remove</dd>
1497                                 
1498                                         <dt>
1499                                                 <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>
1500                                                 
1501                                         </dt>
1502                                         <dd>(optional) The scope (this object) for the handler</dd>
1503                                 
1504                                 </dl>
1505                         
1506                         
1507                         
1508                         
1509                         
1510                         
1511                         
1512
1513                     
1514                     
1515                      
1516                     </div>                    
1517                 </div>
1518
1519             </td>
1520             <td class="msource">
1521                 
1522                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1523                 &nbsp;
1524             </td>
1525         </tr>
1526         
1527           
1528           <tr class="method-row config-row-alt1 expandable notInherited">
1529             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1530            
1531            
1532             <td class="sig">
1533                 <a id="Roo.grid.RowSelectionModel-method-selectAll"   name=".selectAll"></a>
1534                 <div class="fixedFont">
1535                         <span class="attributes"></span><b class="itemname">selectAll</b>
1536                                 
1537                                  () 
1538                         
1539                                 
1540                         
1541                 </div>
1542                 <div class="mdesc">
1543                 
1544                    <div class="short">Selects all rows.</div> 
1545                  
1546                  
1547                  
1548                     <div class="long">
1549                         
1550                                 Selects all rows.
1551                     
1552                                 
1553                         
1554                         
1555                         
1556                         
1557                         
1558                         
1559                         
1560                         
1561                         
1562                         
1563
1564                     
1565                     
1566                      
1567                     </div>                    
1568                 </div>
1569
1570             </td>
1571             <td class="msource">
1572                 
1573                         Roo.grid.RowSelectionModel
1574                 &nbsp;
1575             </td>
1576         </tr>
1577         
1578           
1579           <tr class="method-row config-row-alt0 expandable notInherited">
1580             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1581            
1582            
1583             <td class="sig">
1584                 <a id="Roo.grid.RowSelectionModel-method-selectFirstRow"   name=".selectFirstRow"></a>
1585                 <div class="fixedFont">
1586                         <span class="attributes"></span><b class="itemname">selectFirstRow</b>
1587                                 
1588                                  () 
1589                         
1590                                 
1591                         
1592                 </div>
1593                 <div class="mdesc">
1594                 
1595                    <div class="short">Selects the first row in the grid.</div> 
1596                  
1597                  
1598                  
1599                     <div class="long">
1600                         
1601                                 Selects the first row in the grid.
1602                     
1603                                 
1604                         
1605                         
1606                         
1607                         
1608                         
1609                         
1610                         
1611                         
1612                         
1613                         
1614
1615                     
1616                     
1617                      
1618                     </div>                    
1619                 </div>
1620
1621             </td>
1622             <td class="msource">
1623                 
1624                         Roo.grid.RowSelectionModel
1625                 &nbsp;
1626             </td>
1627         </tr>
1628         
1629           
1630           <tr class="method-row config-row-alt1 expandable notInherited">
1631             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1632            
1633            
1634             <td class="sig">
1635                 <a id="Roo.grid.RowSelectionModel-method-selectLastRow"   name=".selectLastRow"></a>
1636                 <div class="fixedFont">
1637                         <span class="attributes"></span><b class="itemname">selectLastRow</b>
1638                                 
1639                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>keepExisting</i></B>) 
1640                         
1641                                 
1642                         
1643                 </div>
1644                 <div class="mdesc">
1645                 
1646                    <div class="short">Select the last row.</div> 
1647                  
1648                  
1649                  
1650                     <div class="long">
1651                         
1652                                 Select the last row.
1653                     
1654                                 
1655                         
1656                         
1657                         
1658                         
1659                                 <dl class="detailList">
1660                                 <dt class="heading">Parameters:</dt>
1661                                 
1662                                         <dt>
1663                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>keepExisting</b>
1664                                                 
1665                                         </dt>
1666                                         <dd>(optional) True to keep existing selections</dd>
1667                                 
1668                                 </dl>
1669                         
1670                         
1671                         
1672                         
1673                         
1674                         
1675                         
1676
1677                     
1678                     
1679                      
1680                     </div>                    
1681                 </div>
1682
1683             </td>
1684             <td class="msource">
1685                 
1686                         Roo.grid.RowSelectionModel
1687                 &nbsp;
1688             </td>
1689         </tr>
1690         
1691           
1692           <tr class="method-row config-row-alt0 expandable notInherited">
1693             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1694            
1695            
1696             <td class="sig">
1697                 <a id="Roo.grid.RowSelectionModel-method-selectNext"   name=".selectNext"></a>
1698                 <div class="fixedFont">
1699                         <span class="attributes"></span><b class="itemname">selectNext</b>
1700                                 
1701                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>keepExisting</i></B>) 
1702                         
1703                                 
1704                         
1705                 </div>
1706                 <div class="mdesc">
1707                 
1708                    <div class="short">Selects the row immediately following the last selected row.</div> 
1709                  
1710                  
1711                  
1712                     <div class="long">
1713                         
1714                                 Selects the row immediately following the last selected row.
1715                     
1716                                 
1717                         
1718                         
1719                         
1720                         
1721                                 <dl class="detailList">
1722                                 <dt class="heading">Parameters:</dt>
1723                                 
1724                                         <dt>
1725                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>keepExisting</b>
1726                                                 
1727                                         </dt>
1728                                         <dd>(optional) True to keep existing selections</dd>
1729                                 
1730                                 </dl>
1731                         
1732                         
1733                         
1734                         
1735                         
1736                         
1737                         
1738
1739                     
1740                     
1741                      
1742                     </div>                    
1743                 </div>
1744
1745             </td>
1746             <td class="msource">
1747                 
1748                         Roo.grid.RowSelectionModel
1749                 &nbsp;
1750             </td>
1751         </tr>
1752         
1753           
1754           <tr class="method-row config-row-alt1 expandable notInherited">
1755             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1756            
1757            
1758             <td class="sig">
1759                 <a id="Roo.grid.RowSelectionModel-method-selectPrevious"   name=".selectPrevious"></a>
1760                 <div class="fixedFont">
1761                         <span class="attributes"></span><b class="itemname">selectPrevious</b>
1762                                 
1763                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>keepExisting</i></B>) 
1764                         
1765                                 
1766                         
1767                 </div>
1768                 <div class="mdesc">
1769                 
1770                    <div class="short">Selects the row that precedes the last selected row.</div> 
1771                  
1772                  
1773                  
1774                     <div class="long">
1775                         
1776                                 Selects the row that precedes the last selected row.
1777                     
1778                                 
1779                         
1780                         
1781                         
1782                         
1783                                 <dl class="detailList">
1784                                 <dt class="heading">Parameters:</dt>
1785                                 
1786                                         <dt>
1787                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>keepExisting</b>
1788                                                 
1789                                         </dt>
1790                                         <dd>(optional) True to keep existing selections</dd>
1791                                 
1792                                 </dl>
1793                         
1794                         
1795                         
1796                         
1797                         
1798                         
1799                         
1800
1801                     
1802                     
1803                      
1804                     </div>                    
1805                 </div>
1806
1807             </td>
1808             <td class="msource">
1809                 
1810                         Roo.grid.RowSelectionModel
1811                 &nbsp;
1812             </td>
1813         </tr>
1814         
1815           
1816           <tr class="method-row config-row-alt0 expandable notInherited">
1817             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1818            
1819            
1820             <td class="sig">
1821                 <a id="Roo.grid.RowSelectionModel-method-selectRange"   name=".selectRange"></a>
1822                 <div class="fixedFont">
1823                         <span class="attributes"></span><b class="itemname">selectRange</b>
1824                                 
1825                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>startRow</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>endRow</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>keepExisting</i></B>) 
1826                         
1827                                 
1828                         
1829                 </div>
1830                 <div class="mdesc">
1831                 
1832                    <div class="short">Selects a range of rows.</div> 
1833                  
1834                  
1835                  
1836                     <div class="long">
1837                         
1838                                 Selects a range of rows. All rows in between startRow and endRow are also selected.
1839                     
1840                                 
1841                         
1842                         
1843                         
1844                         
1845                                 <dl class="detailList">
1846                                 <dt class="heading">Parameters:</dt>
1847                                 
1848                                         <dt>
1849                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>startRow</b>
1850                                                 
1851                                         </dt>
1852                                         <dd>The index of the first row in the range</dd>
1853                                 
1854                                         <dt>
1855                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>endRow</b>
1856                                                 
1857                                         </dt>
1858                                         <dd>The index of the last row in the range</dd>
1859                                 
1860                                         <dt>
1861                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>keepExisting</b>
1862                                                 
1863                                         </dt>
1864                                         <dd>(optional) True to retain existing selections</dd>
1865                                 
1866                                 </dl>
1867                         
1868                         
1869                         
1870                         
1871                         
1872                         
1873                         
1874
1875                     
1876                     
1877                      
1878                     </div>                    
1879                 </div>
1880
1881             </td>
1882             <td class="msource">
1883                 
1884                         Roo.grid.RowSelectionModel
1885                 &nbsp;
1886             </td>
1887         </tr>
1888         
1889           
1890           <tr class="method-row config-row-alt1 expandable notInherited">
1891             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1892            
1893            
1894             <td class="sig">
1895                 <a id="Roo.grid.RowSelectionModel-method-selectRecords"   name=".selectRecords"></a>
1896                 <div class="fixedFont">
1897                         <span class="attributes"></span><b class="itemname">selectRecords</b>
1898                                 
1899                                  (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>records</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>keepExisting</i></B>) 
1900                         
1901                                 
1902                         
1903                 </div>
1904                 <div class="mdesc">
1905                 
1906                    <div class="short">Select records.</div> 
1907                  
1908                  
1909                  
1910                     <div class="long">
1911                         
1912                                 Select records.
1913                     
1914                                 
1915                         
1916                         
1917                         
1918                         
1919                                 <dl class="detailList">
1920                                 <dt class="heading">Parameters:</dt>
1921                                 
1922                                         <dt>
1923                                                 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span>  <b>records</b>
1924                                                 
1925                                         </dt>
1926                                         <dd>The records to select</dd>
1927                                 
1928                                         <dt>
1929                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>keepExisting</b>
1930                                                 
1931                                         </dt>
1932                                         <dd>(optional) True to keep existing selections</dd>
1933                                 
1934                                 </dl>
1935                         
1936                         
1937                         
1938                         
1939                         
1940                         
1941                         
1942
1943                     
1944                     
1945                      
1946                     </div>                    
1947                 </div>
1948
1949             </td>
1950             <td class="msource">
1951                 
1952                         Roo.grid.RowSelectionModel
1953                 &nbsp;
1954             </td>
1955         </tr>
1956         
1957           
1958           <tr class="method-row config-row-alt0 expandable notInherited">
1959             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1960            
1961            
1962             <td class="sig">
1963                 <a id="Roo.grid.RowSelectionModel-method-selectRow"   name=".selectRow"></a>
1964                 <div class="fixedFont">
1965                         <span class="attributes"></span><b class="itemname">selectRow</b>
1966                                 
1967                                  (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>row</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>keepExisting</i></B>) 
1968                         
1969                                 
1970                         
1971                 </div>
1972                 <div class="mdesc">
1973                 
1974                    <div class="short">Selects a row.</div> 
1975                  
1976                  
1977                  
1978                     <div class="long">
1979                         
1980                                 Selects a row.
1981                     
1982                                 
1983                         
1984                         
1985                         
1986                         
1987                                 <dl class="detailList">
1988                                 <dt class="heading">Parameters:</dt>
1989                                 
1990                                         <dt>
1991                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>  <b>row</b>
1992                                                 
1993                                         </dt>
1994                                         <dd>The index of the row to select</dd>
1995                                 
1996                                         <dt>
1997                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>keepExisting</b>
1998                                                 
1999                                         </dt>
2000                                         <dd>(optional) True to keep existing selections</dd>
2001                                 
2002                                 </dl>
2003                         
2004                         
2005                         
2006                         
2007                         
2008                         
2009                         
2010
2011                     
2012                     
2013                      
2014                     </div>                    
2015                 </div>
2016
2017             </td>
2018             <td class="msource">
2019                 
2020                         Roo.grid.RowSelectionModel
2021                 &nbsp;
2022             </td>
2023         </tr>
2024         
2025           
2026           <tr class="method-row config-row-alt1 expandable notInherited">
2027             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2028            
2029            
2030             <td class="sig">
2031                 <a id="Roo.grid.RowSelectionModel-method-selectRows"   name=".selectRows"></a>
2032                 <div class="fixedFont">
2033                         <span class="attributes"></span><b class="itemname">selectRows</b>
2034                                 
2035                                  (<a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a> <B><i>rows</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>keepExisting</i></B>) 
2036                         
2037                                 
2038                         
2039                 </div>
2040                 <div class="mdesc">
2041                 
2042                    <div class="short">Selects multiple rows.</div> 
2043                  
2044                  
2045                  
2046                     <div class="long">
2047                         
2048                                 Selects multiple rows.
2049                     
2050                                 
2051                         
2052                         
2053                         
2054                         
2055                                 <dl class="detailList">
2056                                 <dt class="heading">Parameters:</dt>
2057                                 
2058                                         <dt>
2059                                                 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span>  <b>rows</b>
2060                                                 
2061                                         </dt>
2062                                         <dd>Array of the indexes of the row to select</dd>
2063                                 
2064                                         <dt>
2065                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>keepExisting</b>
2066                                                 
2067                                         </dt>
2068                                         <dd>(optional) True to keep existing selections</dd>
2069                                 
2070                                 </dl>
2071                         
2072                         
2073                         
2074                         
2075                         
2076                         
2077                         
2078
2079                     
2080                     
2081                      
2082                     </div>                    
2083                 </div>
2084
2085             </td>
2086             <td class="msource">
2087                 
2088                         Roo.grid.RowSelectionModel
2089                 &nbsp;
2090             </td>
2091         </tr>
2092         
2093           
2094           <tr class="method-row config-row-alt0 expandable">
2095             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2096            
2097            
2098             <td class="sig">
2099                 <a id="Roo.util.Observable-method-un"   name=".un"></a>
2100                 <div class="fixedFont">
2101                         <span class="attributes"></span><b class="itemname">un</b>
2102                                 
2103                                  (<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>) 
2104                         
2105                                 
2106                         
2107                 </div>
2108                 <div class="mdesc">
2109                 
2110                    <div class="short">Removes a listener (shorthand for removeListener)</div> 
2111                  
2112                  
2113                  
2114                     <div class="long">
2115                         
2116                                 Removes a listener (shorthand for removeListener)
2117                     
2118                                 
2119                         
2120                         
2121                         
2122                         
2123                                 <dl class="detailList">
2124                                 <dt class="heading">Parameters:</dt>
2125                                 
2126                                         <dt>
2127                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>eventName</b>
2128                                                 
2129                                         </dt>
2130                                         <dd>The type of event to listen for</dd>
2131                                 
2132                                         <dt>
2133                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>handler</b>
2134                                                 
2135                                         </dt>
2136                                         <dd>The handler to remove</dd>
2137                                 
2138                                         <dt>
2139                                                 <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>
2140                                                 
2141                                         </dt>
2142                                         <dd>(optional) The scope (this object) for the handler</dd>
2143                                 
2144                                 </dl>
2145                         
2146                         
2147                         
2148                         
2149                         
2150                         
2151                         
2152
2153                     
2154                     
2155                      
2156                     </div>                    
2157                 </div>
2158
2159             </td>
2160             <td class="msource">
2161                 
2162                         <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
2163                 &nbsp;
2164             </td>
2165         </tr>
2166         
2167           
2168           <tr class="method-row config-row-alt1 expandable">
2169             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2170            
2171            
2172             <td class="sig">
2173                 <a id="Roo.grid.AbstractSelectionModel-method-unlock"   name=".unlock"></a>
2174                 <div class="fixedFont">
2175                         <span class="attributes"></span><b class="itemname">unlock</b>
2176                                 
2177                                  () 
2178                         
2179                                 
2180                         
2181                 </div>
2182                 <div class="mdesc">
2183                 
2184                    <div class="short">Unlocks the selections.</div> 
2185                  
2186                  
2187                  
2188                     <div class="long">
2189                         
2190                                 Unlocks the selections.
2191                     
2192                                 
2193                         
2194                         
2195                         
2196                         
2197                         
2198                         
2199                         
2200                         
2201                         
2202                         
2203
2204                     
2205                     
2206                      
2207                     </div>                    
2208                 </div>
2209
2210             </td>
2211             <td class="msource">
2212                 
2213                         <a href="./Roo.grid.AbstractSelectionModel.html#constructor" roo:cls="Roo.grid.AbstractSelectionModel.html#constructor">Roo.grid.AbstractSelectionModel</a>
2214                 &nbsp;
2215             </td>
2216         </tr>
2217         
2218                                                        
2219     </table>
2220
2221   
2222   <!-- ============================== events summary / details ======================== -->
2223   
2224   
2225   <a id="Roo.grid.RowSelectionModel-events"></a>
2226     
2227   
2228         
2229    
2230   
2231     
2232     
2233     
2234       <table cellspacing="0" class="member-table">
2235                 <caption>Events</caption>
2236               <thead>
2237                 <tr>
2238                     <th class="sig-header" colspan="2">Event</th>            
2239                     <th class="msource-header">Defined By</th>
2240
2241                 </tr>
2242               </thead>  
2243         
2244         
2245          
2246         
2247         
2248           <tr class="method-row expandable config-row-alt0 notInherited">
2249             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2250             
2251             <td class="sig">
2252                 <a id="Roo.grid.RowSelectionModel-event-*afterselectionchange"></a>
2253                 
2254                <div class="fixedFont">
2255                 <b class="itemname">afterselectionchange</b> (SelectionModel <B><i>this</i></B>) 
2256                 
2257                 </div>
2258
2259                 <div class="mdesc">
2260
2261                    <div class="short">Fires after the selection changes (eg.
2262                    
2263                 </div> 
2264                     
2265                     <div class="long">
2266                     
2267                         Fires after the selection changes (eg. by key press or clicking)
2268                     
2269                         
2270                         
2271                 
2272                         
2273                                 <dl class="detailList">
2274                                 <dt class="heading">Parameters:</dt>
2275                                 
2276                                         <dt>
2277                                                 <span class="fixedFont">SelectionModel</span> <b>this</b>
2278                                                 
2279                                         </dt>
2280                                         <dd></dd>
2281                                 
2282                                 </dl>
2283                         
2284                         
2285                         
2286                         
2287                         
2288                         
2289                         
2290
2291                     
2292                     
2293                      
2294                     </div>                    
2295                 </div>
2296
2297             </td>
2298             <td class="msource">
2299                 Roo.grid.RowSelectionModel
2300             </td>
2301         </tr>
2302         
2303           <tr class="method-row expandable config-row-alt1 notInherited">
2304             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2305             
2306             <td class="sig">
2307                 <a id="Roo.grid.RowSelectionModel-event-*beforerowselect"></a>
2308                 
2309                <div class="fixedFont">
2310                 <b class="itemname">beforerowselect</b> (SelectionModel <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rowIndex</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>keepExisting</i></B>) 
2311                 
2312                 </div>
2313
2314                 <div class="mdesc">
2315
2316                    <div class="short">Fires when a row is selected being selected, return false to cancel.
2317                    
2318                 </div> 
2319                     
2320                     <div class="long">
2321                     
2322                         Fires when a row is selected being selected, return false to cancel.
2323                     
2324                         
2325                         
2326                 
2327                         
2328                                 <dl class="detailList">
2329                                 <dt class="heading">Parameters:</dt>
2330                                 
2331                                         <dt>
2332                                                 <span class="fixedFont">SelectionModel</span> <b>this</b>
2333                                                 
2334                                         </dt>
2335                                         <dd></dd>
2336                                 
2337                                         <dt>
2338                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2339                                                 
2340                                         </dt>
2341                                         <dd>The selected index</dd>
2342                                 
2343                                         <dt>
2344                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>keepExisting</b>
2345                                                 
2346                                         </dt>
2347                                         <dd>False if other selections will be cleared</dd>
2348                                 
2349                                 </dl>
2350                         
2351                         
2352                         
2353                         
2354                         
2355                         
2356                         
2357
2358                     
2359                     
2360                      
2361                     </div>                    
2362                 </div>
2363
2364             </td>
2365             <td class="msource">
2366                 Roo.grid.RowSelectionModel
2367             </td>
2368         </tr>
2369         
2370           <tr class="method-row expandable config-row-alt0 notInherited">
2371             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2372             
2373             <td class="sig">
2374                 <a id="Roo.grid.RowSelectionModel-event-*rowdeselect"></a>
2375                 
2376                <div class="fixedFont">
2377                 <b class="itemname">rowdeselect</b> (SelectionModel <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>rowIndex</i></B>) 
2378                 
2379                 </div>
2380
2381                 <div class="mdesc">
2382
2383                    <div class="short">Fires when a row is deselected.
2384                    
2385                 </div> 
2386                     
2387                     <div class="long">
2388                     
2389                         Fires when a row is deselected.
2390                     
2391                         
2392                         
2393                 
2394                         
2395                                 <dl class="detailList">
2396                                 <dt class="heading">Parameters:</dt>
2397                                 
2398                                         <dt>
2399                                                 <span class="fixedFont">SelectionModel</span> <b>this</b>
2400                                                 
2401                                         </dt>
2402                                         <dd></dd>
2403                                 
2404                                         <dt>
2405                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2406                                                 
2407                                         </dt>
2408                                         <dd>The selected index</dd>
2409                                 
2410                                 </dl>
2411                         
2412                         
2413                         
2414                         
2415                         
2416                         
2417                         
2418
2419                     
2420                     
2421                      
2422                     </div>                    
2423                 </div>
2424
2425             </td>
2426             <td class="msource">
2427                 Roo.grid.RowSelectionModel
2428             </td>
2429         </tr>
2430         
2431           <tr class="method-row expandable config-row-alt1 notInherited">
2432             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2433             
2434             <td class="sig">
2435                 <a id="Roo.grid.RowSelectionModel-event-*rowselect"></a>
2436                 
2437                <div class="fixedFont">
2438                 <b class="itemname">rowselect</b> (SelectionModel <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.data.Record.html#constructor" roo:cls="Roo.data.Record.html#constructor">Roo.data.Record</a> <B><i>r</i></B>) 
2439                 
2440                 </div>
2441
2442                 <div class="mdesc">
2443
2444                    <div class="short">Fires when a row is selected.
2445                    
2446                 </div> 
2447                     
2448                     <div class="long">
2449                     
2450                         Fires when a row is selected.
2451                     
2452                         
2453                         
2454                 
2455                         
2456                                 <dl class="detailList">
2457                                 <dt class="heading">Parameters:</dt>
2458                                 
2459                                         <dt>
2460                                                 <span class="fixedFont">SelectionModel</span> <b>this</b>
2461                                                 
2462                                         </dt>
2463                                         <dd></dd>
2464                                 
2465                                         <dt>
2466                                                 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
2467                                                 
2468                                         </dt>
2469                                         <dd>The selected index</dd>
2470                                 
2471                                         <dt>
2472                                                 <span class="fixedFont"><a href="./Roo.data.Record.html#constructor" roo:cls="Roo.data.Record.html#constructor">Roo.data.Record</a></span> <b>r</b>
2473                                                 
2474                                         </dt>
2475                                         <dd>The record</dd>
2476                                 
2477                                 </dl>
2478                         
2479                         
2480                         
2481                         
2482                         
2483                         
2484                         
2485
2486                     
2487                     
2488                      
2489                     </div>                    
2490                 </div>
2491
2492             </td>
2493             <td class="msource">
2494                 Roo.grid.RowSelectionModel
2495             </td>
2496         </tr>
2497         
2498           <tr class="method-row expandable config-row-alt0 notInherited">
2499             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2500             
2501             <td class="sig">
2502                 <a id="Roo.grid.RowSelectionModel-event-*selectionchange"></a>
2503                 
2504                <div class="fixedFont">
2505                 <b class="itemname">selectionchange</b> (SelectionModel <B><i>this</i></B>) 
2506                 
2507                 </div>
2508
2509                 <div class="mdesc">
2510
2511                    <div class="short">Fires when the selection changes
2512                    
2513                 </div> 
2514                     
2515                     <div class="long">
2516                     
2517                         Fires when the selection changes
2518                     
2519                         
2520                         
2521                 
2522                         
2523                                 <dl class="detailList">
2524                                 <dt class="heading">Parameters:</dt>
2525                                 
2526                                         <dt>
2527                                                 <span class="fixedFont">SelectionModel</span> <b>this</b>
2528                                                 
2529                                         </dt>
2530                                         <dd></dd>
2531                                 
2532                                 </dl>
2533                         
2534                         
2535                         
2536                         
2537                         
2538                         
2539                         
2540
2541                     
2542                     
2543                      
2544                     </div>                    
2545                 </div>
2546
2547             </td>
2548             <td class="msource">
2549                 Roo.grid.RowSelectionModel
2550             </td>
2551         </tr>
2552         
2553                                                        
2554     </table>
2555
2556   
2557   
2558   
2559  
2560 <!-- ============================== footer ================================= -->
2561                 <div class="fineprint" style="clear:both">
2562                         
2563                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:08 GMT+0800 (HKT)
2564                         Based on 
2565                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
2566                 </div>
2567         </body>
2568 </html>