Closed MayanSolutions closed 1 year ago
Figured it out, need the rowSelected event
Hi @MayanSolutions
Could you please share the code example. I didnt get the idea on how to use methods.
p/s: I'm still new with Vue3
@nizzam
create the below
// Object for selected rows let selected = ref([]); // Function to select rows const rowSelect = async (client: any) => { selected.value = JSON.parse(JSON.stringify(client)); }
Add the below to the table component
@rowSelect="rowSelect"
Hi @FYILTD
Thank you for your response. Really appreciate it.
But, I'm referring to the documentation provided, as screenshot below :
Hope you able to share a way of implementation and usage of those methods.
@nizzam I will add one more example with all events and methods by tomorrow.
@nizzam Please find the demo for all the methods with source code: https://vue3-datatable-document.vercel.app/methods
Hi @bhaveshpatel200
Thank you very much for your prompt action. Really appreciate it.
Wish you all the best !
Thanks..
unable to get the selected rows which are checked in the checkbox