I want to create my own table component by using vuetify's data-table component.
Here is a sandbox for the work I did: https://codesandbox.io/s/my2mvroxlj
Basically SampleTable
is a wrapper for Vuetify's data-table.
In that table component, I want to make the items selectable. I was able to get the checkboxes rendered, using the select-all
prop.
I am using the items
slot to render the checkboxes for each row.
The problem I am facing is that when user selects a checkbox, the input
event is not getting fired(See console for a message)
But, if the checkbox in the header is selected/de-selected, the input
event is fired properly.
I don't know why this is happening. Please help in finding the issue in my code.