Table select all includes disabled checkboxes #16250
-
I have a q-table set with selection="multiple". This allows selecting all visible rows. I have a condition that disables some rows. I set the :disable property on those checkboxes to true. When clicking the top checkbox to select all I expect only the rows with their checkbox not disabled to be included in the selected array. i.e. I have five rows showing, two of those rows have their checkbox disabled. But when clicking select all, the array contains all 5 rows. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@cdecinkoKnight use using this example https://quasar.dev/vue-components/table#example--selection-cell-slots |
Beta Was this translation helpful? Give feedback.
@cdecinkoKnight use
selected
eventusing this example https://quasar.dev/vue-components/table#example--selection-cell-slots
https://codepen.io/metalsadman/pen/rNoOjPN?editors=1010