74ae6f24bb4f4b15a5a746f9fe97d3e80888778f.svn-base 47 KB

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