1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.grid.RowSelectionModel</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.grid.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>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.grid.AbstractSelectionModel.html#constructor" roo:cls="Roo.grid.AbstractSelectionModel.html#constructor">Roo.grid.AbstractSelectionModel</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.grid.RowSelectionModel
52 <!-- ============================== class title / details ============================ -->
55 <h1 class="classTitle">
57 Class Roo.grid.RowSelectionModel
60 <table cellspacing="0" class="class-summary-table">
62 <tr><td class="label">Package:</td><td class="hd-info">Roo.grid</td></tr>
64 <tr><td class="label">Defined In:</td><td class="hd-info">
66 <a href="./src/Roo_grid_RowSelectionModel.js.html">Roo/grid/RowSelectionModel.js</a>.
69 <tr><td class="label">Class:</td><td class="hd-info">RowSelectionModel</td></tr>
74 <tr><td class="label">Extends:</td><td class="hd-info">
75 <a href="./Roo.grid.AbstractSelectionModel.html#constructor" roo:cls="Roo.grid.AbstractSelectionModel.html#constructor">Roo.grid.AbstractSelectionModel</a>
83 <!-- ============================== class summary ========================== -->
84 <div class="description">
85 The default SelectionModel used by {<b>link</b> Roo.grid.Grid}.<br/>It supports multiple selections and keyboard selection/navigation.
89 <!-- ============================== Class comment block... ========================== -->
91 <div class="comments">
92 <b>Class Comments / Notes</B> =>
93 <u onclick="parent.CommentDialog.showCommentId = 'Roo.grid.RowSelectionModel';">[Add Your comment/notes about this class]</u>
95 <iframe frameborder="0" id="comments-Roo.grid" style="border: none;width:100%;"
96 src="/blog.php/GtkDjsComments/Roo.grid.RowSelectionModel.html"></iframe>
101 <!-- ============================== config options ========================== -->
106 <div class="hr"></div>
107 <a id="Roo.grid.RowSelectionModel-configs"></a>
113 <table cellspacing="0" class="member-table">
114 <caption>Config Options (Usually are also Properties)</caption>
118 <th class="sig-header" colspan="2">Options</th>
120 <th class="msource-header">Defined By</th>
127 <tr class="config-row expandable config-row-alt0 notInherited">
128 <td class="micon"><a class="exi" href="#expand"> </a></td>
131 <a id="Roo.grid.RowSelectionModel-cfg-singleSelect" name=".singleSelect"></a>
132 <div class="fixedFont">
133 <b class="itemname">singleSelect</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
139 <div class="short">True to allow selection of only one row at a time (defaults to false)</div>
143 <div class="long">True to allow selection of only one row at a time (defaults to false)</div>
151 Roo.grid.RowSelectionModel
167 <!-- ============================== public properties ==================== -->
171 <a id="Roo.grid.RowSelectionModel-props"></a>
177 <table cellspacing="0" class="member-table">
178 <caption class="Empty">Public Properties - Has None</caption>
184 <!-- ============================== methods summary / details ======================== -->
187 <a id="Roo.grid.RowSelectionModel-methods"></a>
188 <!-- constructor?? -->
195 <!-- then dynamics first -->
202 <table cellspacing="0" class="member-table">
203 <caption>Public Methods</caption>
205 <th class="sig-header" colspan="2">Method</th>
206 <th class="msource-header">Defined By</th>
216 <tr class="method-row config-row-alt0 expandable notInherited">
217 <td class="micon"><a class="exi" href="#expand"> </a></td>
221 <a id="Roo.grid-method-RowSelectionModel" name=".RowSelectionModel"></a>
222 <div class="fixedFont">
223 <span class="attributes">new <B>Roo.grid.</B></span><b class="itemname">RowSelectionModel</b>
225 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
233 <div class="short">Create a new Roo.grid.RowSelectionModel</div>
240 Create a new Roo.grid.RowSelectionModel
243 <dl class="detailList">
244 <dt class="heading">Parameters:</dt>
247 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
274 <tr class="method-row config-row-alt1 expandable notInherited">
275 <td class="micon"><a class="exi" href="#expand"> </a></td>
279 <a id="Roo.grid.RowSelectionModel-method-clearSelections" name=".clearSelections"></a>
280 <div class="fixedFont">
281 <span class="attributes"></span><b class="itemname">clearSelections</b>
290 <div class="short">Clears all selections.</div>
296 Clears all selections.
319 Roo.grid.RowSelectionModel
325 <tr class="method-row config-row-alt0 expandable notInherited">
326 <td class="micon"><a class="exi" href="#expand"> </a></td>
330 <a id="Roo.grid.RowSelectionModel-method-deselectRange" name=".deselectRange"></a>
331 <div class="fixedFont">
332 <span class="attributes"></span><b class="itemname">deselectRange</b>
334 (<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>)
341 <div class="short">Deselects a range of rows.</div>
347 Deselects a range of rows. All rows in between startRow and endRow are also deselected.
354 <dl class="detailList">
355 <dt class="heading">Parameters:</dt>
358 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>startRow</b>
361 <dd>The index of the first row in the range</dd>
364 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>endRow</b>
367 <dd>The index of the last row in the range</dd>
387 Roo.grid.RowSelectionModel
393 <tr class="method-row config-row-alt1 expandable notInherited">
394 <td class="micon"><a class="exi" href="#expand"> </a></td>
398 <a id="Roo.grid.RowSelectionModel-method-deselectRow" name=".deselectRow"></a>
399 <div class="fixedFont">
400 <span class="attributes"></span><b class="itemname">deselectRow</b>
402 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>row</i></B>)
409 <div class="short">Deselects a row.</div>
422 <dl class="detailList">
423 <dt class="heading">Parameters:</dt>
426 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>row</b>
429 <dd>The index of the row to deselect</dd>
449 Roo.grid.RowSelectionModel
455 <tr class="method-row config-row-alt0 expandable notInherited">
456 <td class="micon"><a class="exi" href="#expand"> </a></td>
460 <a id="Roo.grid.RowSelectionModel-method-getCount" name=".getCount"></a>
461 <div class="fixedFont">
462 <span class="attributes"></span><b class="itemname">getCount</b>
470 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
479 <div class="short">Gets the number of selected rows.</div>
485 Gets the number of selected rows.
496 <dl class="detailList">
497 <dt class="heading">Returns:</dt>
499 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> </dd>
515 Roo.grid.RowSelectionModel
521 <tr class="method-row config-row-alt1 expandable notInherited">
522 <td class="micon"><a class="exi" href="#expand"> </a></td>
526 <a id="Roo.grid.RowSelectionModel-method-getSelected" name=".getSelected"></a>
527 <div class="fixedFont">
528 <span class="attributes"></span><b class="itemname">getSelected</b>
545 <div class="short">Returns the first selected record.</div>
551 Returns the first selected record.
562 <dl class="detailList">
563 <dt class="heading">Returns:</dt>
565 <dd><span class="fixedFont">Record</span> </dd>
581 Roo.grid.RowSelectionModel
587 <tr class="method-row config-row-alt0 expandable notInherited">
588 <td class="micon"><a class="exi" href="#expand"> </a></td>
592 <a id="Roo.grid.RowSelectionModel-method-getSelections" name=".getSelections"></a>
593 <div class="fixedFont">
594 <span class="attributes"></span><b class="itemname">getSelections</b>
602 <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
611 <div class="short">Returns the selected records</div>
617 Returns the selected records
628 <dl class="detailList">
629 <dt class="heading">Returns:</dt>
631 <dd><span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> Array of selected records</dd>
647 Roo.grid.RowSelectionModel
653 <tr class="method-row config-row-alt1 expandable notInherited">
654 <td class="micon"><a class="exi" href="#expand"> </a></td>
658 <a id="Roo.grid.RowSelectionModel-method-hasSelection" name=".hasSelection"></a>
659 <div class="fixedFont">
660 <span class="attributes"></span><b class="itemname">hasSelection</b>
668 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
677 <div class="short">Returns True if there is a selection.</div>
683 Returns True if there is a selection.
694 <dl class="detailList">
695 <dt class="heading">Returns:</dt>
697 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
713 Roo.grid.RowSelectionModel
719 <tr class="method-row config-row-alt0 expandable notInherited">
720 <td class="micon"><a class="exi" href="#expand"> </a></td>
724 <a id="Roo.grid.RowSelectionModel-method-isIdSelected" name=".isIdSelected"></a>
725 <div class="fixedFont">
726 <span class="attributes"></span><b class="itemname">isIdSelected</b>
728 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>id</i></B>)
734 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
743 <div class="short">Returns True if the specified record id is selected.</div>
749 Returns True if the specified record id is selected.
756 <dl class="detailList">
757 <dt class="heading">Parameters:</dt>
760 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>id</b>
763 <dd>The id of record to check</dd>
771 <dl class="detailList">
772 <dt class="heading">Returns:</dt>
774 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
790 Roo.grid.RowSelectionModel
796 <tr class="method-row config-row-alt1 expandable notInherited">
797 <td class="micon"><a class="exi" href="#expand"> </a></td>
801 <a id="Roo.grid.RowSelectionModel-method-isSelected" name=".isSelected"></a>
802 <div class="fixedFont">
803 <span class="attributes"></span><b class="itemname">isSelected</b>
805 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Record <B><i>record</i></B>)
811 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
820 <div class="short">Returns True if the specified row is selected.</div>
826 Returns True if the specified row is selected.
833 <dl class="detailList">
834 <dt class="heading">Parameters:</dt>
837 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>/Record</span> <b>record</b>
840 <dd>The record or index of the record to check</dd>
848 <dl class="detailList">
849 <dt class="heading">Returns:</dt>
851 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> </dd>
867 Roo.grid.RowSelectionModel
873 <tr class="method-row config-row-alt0 expandable notInherited">
874 <td class="micon"><a class="exi" href="#expand"> </a></td>
878 <a id="Roo.grid.RowSelectionModel-method-selectAll" name=".selectAll"></a>
879 <div class="fixedFont">
880 <span class="attributes"></span><b class="itemname">selectAll</b>
889 <div class="short">Selects all rows.</div>
918 Roo.grid.RowSelectionModel
924 <tr class="method-row config-row-alt1 expandable notInherited">
925 <td class="micon"><a class="exi" href="#expand"> </a></td>
929 <a id="Roo.grid.RowSelectionModel-method-selectFirstRow" name=".selectFirstRow"></a>
930 <div class="fixedFont">
931 <span class="attributes"></span><b class="itemname">selectFirstRow</b>
940 <div class="short">Selects the first row in the grid.</div>
946 Selects the first row in the grid.
969 Roo.grid.RowSelectionModel
975 <tr class="method-row config-row-alt0 expandable notInherited">
976 <td class="micon"><a class="exi" href="#expand"> </a></td>
980 <a id="Roo.grid.RowSelectionModel-method-selectLastRow" name=".selectLastRow"></a>
981 <div class="fixedFont">
982 <span class="attributes"></span><b class="itemname">selectLastRow</b>
984 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>keepExisting</i></B>)
991 <div class="short">Select the last row.</div>
1004 <dl class="detailList">
1005 <dt class="heading">Parameters:</dt>
1008 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>keepExisting</b>
1011 <dd>(optional) True to keep existing selections</dd>
1029 <td class="msource">
1031 Roo.grid.RowSelectionModel
1037 <tr class="method-row config-row-alt1 expandable notInherited">
1038 <td class="micon"><a class="exi" href="#expand"> </a></td>
1042 <a id="Roo.grid.RowSelectionModel-method-selectNext" name=".selectNext"></a>
1043 <div class="fixedFont">
1044 <span class="attributes"></span><b class="itemname">selectNext</b>
1046 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>keepExisting</i></B>)
1053 <div class="short">Selects the row immediately following the last selected row.</div>
1059 Selects the row immediately following the last selected row.
1066 <dl class="detailList">
1067 <dt class="heading">Parameters:</dt>
1070 <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>
1073 <dd>(optional) True to keep existing selections</dd>
1091 <td class="msource">
1093 Roo.grid.RowSelectionModel
1099 <tr class="method-row config-row-alt0 expandable notInherited">
1100 <td class="micon"><a class="exi" href="#expand"> </a></td>
1104 <a id="Roo.grid.RowSelectionModel-method-selectPrevious" name=".selectPrevious"></a>
1105 <div class="fixedFont">
1106 <span class="attributes"></span><b class="itemname">selectPrevious</b>
1108 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>keepExisting</i></B>)
1115 <div class="short">Selects the row that precedes the last selected row.</div>
1121 Selects the row that precedes the last selected row.
1128 <dl class="detailList">
1129 <dt class="heading">Parameters:</dt>
1132 <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>
1135 <dd>(optional) True to keep existing selections</dd>
1153 <td class="msource">
1155 Roo.grid.RowSelectionModel
1161 <tr class="method-row config-row-alt1 expandable notInherited">
1162 <td class="micon"><a class="exi" href="#expand"> </a></td>
1166 <a id="Roo.grid.RowSelectionModel-method-selectRange" name=".selectRange"></a>
1167 <div class="fixedFont">
1168 <span class="attributes"></span><b class="itemname">selectRange</b>
1170 (<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>)
1177 <div class="short">Selects a range of rows.</div>
1183 Selects a range of rows. All rows in between startRow and endRow are also selected.
1190 <dl class="detailList">
1191 <dt class="heading">Parameters:</dt>
1194 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>startRow</b>
1197 <dd>The index of the first row in the range</dd>
1200 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>endRow</b>
1203 <dd>The index of the last row in the range</dd>
1206 <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>
1209 <dd>(optional) True to retain existing selections</dd>
1227 <td class="msource">
1229 Roo.grid.RowSelectionModel
1235 <tr class="method-row config-row-alt0 expandable notInherited">
1236 <td class="micon"><a class="exi" href="#expand"> </a></td>
1240 <a id="Roo.grid.RowSelectionModel-method-selectRecords" name=".selectRecords"></a>
1241 <div class="fixedFont">
1242 <span class="attributes"></span><b class="itemname">selectRecords</b>
1244 (<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>)
1251 <div class="short">Select records.</div>
1264 <dl class="detailList">
1265 <dt class="heading">Parameters:</dt>
1268 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>records</b>
1271 <dd>The records to select</dd>
1274 <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>
1277 <dd>(optional) True to keep existing selections</dd>
1295 <td class="msource">
1297 Roo.grid.RowSelectionModel
1303 <tr class="method-row config-row-alt1 expandable notInherited">
1304 <td class="micon"><a class="exi" href="#expand"> </a></td>
1308 <a id="Roo.grid.RowSelectionModel-method-selectRow" name=".selectRow"></a>
1309 <div class="fixedFont">
1310 <span class="attributes"></span><b class="itemname">selectRow</b>
1312 (<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>)
1319 <div class="short">Selects a row.</div>
1332 <dl class="detailList">
1333 <dt class="heading">Parameters:</dt>
1336 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>row</b>
1339 <dd>The index of the row to select</dd>
1342 <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>
1345 <dd>(optional) True to keep existing selections</dd>
1363 <td class="msource">
1365 Roo.grid.RowSelectionModel
1371 <tr class="method-row config-row-alt0 expandable notInherited">
1372 <td class="micon"><a class="exi" href="#expand"> </a></td>
1376 <a id="Roo.grid.RowSelectionModel-method-selectRows" name=".selectRows"></a>
1377 <div class="fixedFont">
1378 <span class="attributes"></span><b class="itemname">selectRows</b>
1380 (<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>)
1387 <div class="short">Selects multiple rows.</div>
1393 Selects multiple rows.
1400 <dl class="detailList">
1401 <dt class="heading">Parameters:</dt>
1404 <span class="fixedFont"><a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a></span> <b>rows</b>
1407 <dd>Array of the indexes of the row to select</dd>
1410 <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>
1413 <dd>(optional) True to keep existing selections</dd>
1431 <td class="msource">
1433 Roo.grid.RowSelectionModel
1442 <!-- ============================== events summary / details ======================== -->
1445 <a id="Roo.grid.RowSelectionModel-events"></a>
1454 <table cellspacing="0" class="member-table">
1455 <caption>Events</caption>
1458 <th class="sig-header" colspan="2">Event</th>
1459 <th class="msource-header">Defined By</th>
1468 <tr class="method-row expandable config-row-alt0 notInherited">
1469 <td class="micon"><a class="exi" href="#expand"> </a></td>
1472 <a id="Roo.grid.RowSelectionModel-event-*afterselectionchange"></a>
1474 <div class="fixedFont">
1475 <b class="itemname">afterselectionchange</b> (SelectionModel <B><i>this</i></B>)
1481 <div class="short">Fires after the selection changes (eg.
1487 Fires after the selection changes (eg. by key press or clicking)
1493 <dl class="detailList">
1494 <dt class="heading">Parameters:</dt>
1497 <span class="fixedFont">SelectionModel</span> <b>this</b>
1518 <td class="msource">
1519 Roo.grid.RowSelectionModel
1523 <tr class="method-row expandable config-row-alt1 notInherited">
1524 <td class="micon"><a class="exi" href="#expand"> </a></td>
1527 <a id="Roo.grid.RowSelectionModel-event-*beforerowselect"></a>
1529 <div class="fixedFont">
1530 <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>)
1536 <div class="short">Fires when a row is selected being selected, return false to cancel.
1542 Fires when a row is selected being selected, return false to cancel.
1548 <dl class="detailList">
1549 <dt class="heading">Parameters:</dt>
1552 <span class="fixedFont">SelectionModel</span> <b>this</b>
1558 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
1561 <dd>The selected index</dd>
1564 <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>
1567 <dd>False if other selections will be cleared</dd>
1585 <td class="msource">
1586 Roo.grid.RowSelectionModel
1590 <tr class="method-row expandable config-row-alt0 notInherited">
1591 <td class="micon"><a class="exi" href="#expand"> </a></td>
1594 <a id="Roo.grid.RowSelectionModel-event-*rowdeselect"></a>
1596 <div class="fixedFont">
1597 <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>)
1603 <div class="short">Fires when a row is deselected.
1609 Fires when a row is deselected.
1615 <dl class="detailList">
1616 <dt class="heading">Parameters:</dt>
1619 <span class="fixedFont">SelectionModel</span> <b>this</b>
1625 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
1628 <dd>The selected index</dd>
1646 <td class="msource">
1647 Roo.grid.RowSelectionModel
1651 <tr class="method-row expandable config-row-alt1 notInherited">
1652 <td class="micon"><a class="exi" href="#expand"> </a></td>
1655 <a id="Roo.grid.RowSelectionModel-event-*rowselect"></a>
1657 <div class="fixedFont">
1658 <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>)
1664 <div class="short">Fires when a row is selected.
1670 Fires when a row is selected.
1676 <dl class="detailList">
1677 <dt class="heading">Parameters:</dt>
1680 <span class="fixedFont">SelectionModel</span> <b>this</b>
1686 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>rowIndex</b>
1689 <dd>The selected index</dd>
1692 <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>
1713 <td class="msource">
1714 Roo.grid.RowSelectionModel
1718 <tr class="method-row expandable config-row-alt0 notInherited">
1719 <td class="micon"><a class="exi" href="#expand"> </a></td>
1722 <a id="Roo.grid.RowSelectionModel-event-*selectionchange"></a>
1724 <div class="fixedFont">
1725 <b class="itemname">selectionchange</b> (SelectionModel <B><i>this</i></B>)
1731 <div class="short">Fires when the selection changes
1737 Fires when the selection changes
1743 <dl class="detailList">
1744 <dt class="heading">Parameters:</dt>
1747 <span class="fixedFont">SelectionModel</span> <b>this</b>
1768 <td class="msource">
1769 Roo.grid.RowSelectionModel
1780 <!-- ============================== footer ================================= -->
1781 <div class="fineprint" style="clear:both">
1783 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Jul 16 2010 16:11:57 GMT+0800 (HKT)
1785 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>