Add row-based selection to QTable #13359
Unanswered
ddenev
asked this question in
Ideas / Proposals
Replies: 3 comments 2 replies
-
For the alternative idea above, I just checked that QTable.js actually has a method |
Beta Was this translation helpful? Give feedback.
1 reply
-
bump |
Beta Was this translation helpful? Give feedback.
0 replies
-
bump |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be possible to add a built-in way to make the rows selected by clicking on them, rather than clicking only on the selection checkboxes?
My use-case:
Currently I implement row-based selection by utilizing the
@row-click
event and manipulating theselected
prop and this does work well for single selection. Now I want to add Ctrl and Shift modifiers to implement multi-selection (as in this example - https://quasar.dev/vue-components/table#example--custom-multiple-selection) and I need to use the@selection
event.The problem is that this event is called only when I'm selecting by clicking on the checkboxes.
Alternatively, I was also thinking whether adding a method, e.g.
select
, to QTable, which I would call, and which in turn would fire the@selection
event - would solve my problem.Beta Was this translation helpful? Give feedback.
All reactions