I'm using the "Datatable" component and when I update it to the "table-data" prop the "Datatable" component doesn't render the new data (it doesn't change dynamically).
Do you know how to solve it?
Hi Mateus Bonadiman,
Could you please clarify the issue? Where do you change the "table-data" value?
Please let us know which app are you working on. Laravel or HTML version?
The value was changed through a computed which is passed to the prop table-data. The computed updates but the datatable does not update.
I'm using VUE.
Could you please specify which Metronic version are you using?
In the Metronic v8.1.1, we made some refactoring of our datatable component and the issue should be fixed in this version.
Keenthemes Support Team
I updated and now works.
The only thing that still doesn't work correctly is when we have a dropdown button (actions) in the table.
The operation of the drop down button in the table is arbitrary, that is, sometimes you click on it and it shows the options and sometimes nothing happens.
When it works, for example, and I press F5, it reloads the table, but when I click the button again, nothing happens.
Please check if there is a bug in the component.
The MenuComponent reinitializes for each page separately during the page load, most likely your data is fetched and rendered asynchronously so you need to recall the MenuComponent initialization function again.