Skip to content
Advertisement

no-data section loads first and then shows the data in v-data-table

I am using vuetify v-data-table to display data. The issue I am facing here is No Settings Yet message always shows for like 1 second and then displays the data. Its like no data message loads first and then the actual data shows up. Is there a way to fix this.

JavaScript

Advertisement

Answer

I think you can do this by adding v-if directive in no-data slot like below example

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement