VUEJS Template
I am using KTDatable with:checkbox-enabled = "true" and getting data from the server side
Response:
[
{
"id": 1,
"name": "User 1",
"checked": true
},
{
"id": 2,
"name": "User 2",
"checked": false
}
]
How can check this row by default?
Hi,
Our Vue experts will look into your issue ASAP. In the meantime can you please provide us your Metronic version?
Regards.
Hi
Version is 8.1.9
Hi Muhamed,
Sorry for the late reply.
Currently, we do not have any way to set default selected items in our KTDatatable component. I will create a task to implement this in the next releases.
For now, you can consider reusing the solution from our HTML version.
https://preview.keenthemes.com/html/metronic/docs/general/datatables/overview
Regards,
Lauris Stepanovs,
Keenthemes Support Team