Smart-Table icon indicating copy to clipboard operation
Smart-Table copied to clipboard

Selecting a range of rows

Open naltatis opened this issue 9 years ago • 2 comments

Explorer and Finder let you select multiple rows at once by clicking the start row and then shift-clicking the end row. For larger datasets this is a very valuable feature.

ng-grid has this implemented https://angular-ui.github.io/ng-grid/#/rowSelection

Do you have plans on implementing something like this?

naltatis avatar Aug 21 '14 21:08 naltatis

Hello, would be interesting to get this feature indeed. Although to do it properly the best would be to change the select API to take a start row and a end row, so I need to think a bit more. You can still achieve it with a plugin which you attach to the tr element and which would listen the click event. It would keep in a closure the start index and on the second click get the end index to then call the controller select method for each row in the range

lorenzofox3 avatar Aug 23 '14 08:08 lorenzofox3

+1 how can I help to push this issue?

borehack avatar Aug 13 '15 12:08 borehack