Can you guys help me with this error i cant display my data. The error is
DataTables warning: table id=DataTables_Table_0 - Requested unknown parameter '0' for row 0, column 0. For more information about this error, please see https://datatables.net/tn/4
here is the template for the datatable
You appear not to be using the Datatable component correctly - you should only be defining a header and/or footer
Do not use a Vue for statement to populate the table with data unless the data is static (i.e. not reactive). Doing so would cause both DataTables and Vue to try and control the same DOM elements, resulting in unpredictable behaviour. Bind data using the data parameter!
@tykus well this question may be off topic to the title of my post but here it is, i also tried using the datatable component correctly as you mention and it display my data in datatable, i also added buttons and what i want to achieve is when the button is click a modal will popup but the problem is the modal is not showing, i also add a console.log to the function but it is not appearing. So i thought the @click is not working inside the render in datatable