2 "name" : "Roo.bootstrap.Table.RowSelectionModel",
4 "Roo.bootstrap.Table.AbstractSelectionModel"
6 "desc" : "The default SelectionModel used by {@link Roo.bootstrap.Table}.\nIt supports multiple selections and keyboard selection/navigation.",
10 "memberOf" : "RowSelectionModel",
26 "name" : "singleSelect",
28 "desc" : "True to allow selection of only one row at a time (defaults to false)",
29 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
36 "desc" : "Gets the number of selected rows.",
38 "isConstructor" : false,
40 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
55 "name" : "getSelections",
56 "desc" : "Returns the selected records",
58 "isConstructor" : false,
60 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
70 "desc" : "Array of selected records"
75 "name" : "selectRange",
76 "desc" : "Selects a range of rows. All rows in between startRow and endRow are also selected.",
78 "isConstructor" : false,
80 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
89 "desc" : "The index of the first row in the range",
95 "desc" : "The index of the last row in the range",
99 "name" : "keepExisting",
101 "desc" : "(optional) True to retain existing selections",
108 "name" : "selectFirstRow",
109 "desc" : "Selects the first row in the grid.",
111 "isConstructor" : false,
113 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
122 "name" : "selectLastRow",
123 "desc" : "Select the last row.",
125 "isConstructor" : false,
127 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
134 "name" : "keepExisting",
136 "desc" : "(optional) True to keep existing selections",
143 "name" : "deselectRow",
144 "desc" : "Deselects a row.",
146 "isConstructor" : false,
148 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
157 "desc" : "The index of the row to deselect",
164 "name" : "selectNext",
165 "desc" : "Selects the row immediately following the last selected row.",
167 "isConstructor" : false,
169 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
176 "name" : "keepExisting",
178 "desc" : "(optional) True to keep existing selections",
185 "name" : "selectPrevious",
186 "desc" : "Selects the row that precedes the last selected row.",
188 "isConstructor" : false,
190 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
197 "name" : "keepExisting",
199 "desc" : "(optional) True to keep existing selections",
206 "name" : "selectRows",
207 "desc" : "Selects multiple rows.",
209 "isConstructor" : false,
211 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
220 "desc" : "Array of the indexes of the row to select",
224 "name" : "keepExisting",
226 "desc" : "(optional) True to keep existing selections",
233 "name" : "selectRecords",
234 "desc" : "Select records.",
236 "isConstructor" : false,
238 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
247 "desc" : "The records to select",
251 "name" : "keepExisting",
253 "desc" : "(optional) True to keep existing selections",
260 "name" : "hasSelection",
261 "desc" : "Returns True if there is a selection.",
263 "isConstructor" : false,
265 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
280 "name" : "isIdSelected",
281 "desc" : "Returns True if the specified record id is selected.",
283 "isConstructor" : false,
285 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
294 "desc" : "The id of record to check",
307 "name" : "selectAll",
308 "desc" : "Selects all rows.",
310 "isConstructor" : false,
312 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
321 "name" : "selectRow",
322 "desc" : "Selects a row.",
324 "isConstructor" : false,
326 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
335 "desc" : "The index of the row to select",
339 "name" : "keepExisting",
341 "desc" : "(optional) True to keep existing selections",
348 "name" : "getSelected",
349 "desc" : "Returns the first selected record.",
351 "isConstructor" : false,
353 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
368 "name" : "isSelected",
369 "desc" : "Returns True if the specified row is selected.",
371 "isConstructor" : false,
373 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
381 "type" : "Number/Record",
382 "desc" : "The record or index of the record to check",
395 "name" : "clearSelections",
396 "desc" : "Clears all selections.",
398 "isConstructor" : false,
400 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
409 "name" : "deselectRange",
410 "desc" : "Deselects a range of rows. All rows in between startRow and endRow are also deselected.",
412 "isConstructor" : false,
414 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
423 "desc" : "The index of the first row in the range",
429 "desc" : "The index of the last row in the range",
438 "name" : "rowselect",
439 "desc" : "Fires when a row is selected.",
440 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
448 "type" : "SelectionModel",
455 "desc" : "The selected index",
460 "type" : "Roo.data.Record",
461 "desc" : "The record",
468 "name" : "beforerowselect",
469 "desc" : "Fires when a row is selected being selected, return false to cancel.",
470 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
478 "type" : "SelectionModel",
485 "desc" : "The selected index",
489 "name" : "keepExisting",
491 "desc" : "False if other selections will be cleared",
498 "name" : "rowdeselect",
499 "desc" : "Fires when a row is deselected.",
500 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
508 "type" : "SelectionModel",
515 "desc" : "The selected index",
522 "name" : "afterselectionchange",
523 "desc" : "Fires after the selection changes (eg. by key press or clicking)",
524 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
532 "type" : "SelectionModel",
540 "name" : "selectionchange",
541 "desc" : "Fires when the selection changes",
542 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
550 "type" : "SelectionModel",