ratiw / vue-table

data table simplify! -- vuetable is a Vue.js component that will automatically request (JSON) data from the server and display them nicely in html table with swappable/extensible pagination component.
MIT License
1.83k stars 303 forks source link

Dataset is empty #143

Closed SimplyCorey closed 7 years ago

SimplyCorey commented 7 years ago

Thanks for the great vuejs compondent. Is there currently a way to show "No results" if the API response comes back as empty?

Basically, I want to be able to have the table show this if the API response is empty.

image

Thanks!

ratiw commented 7 years ago

@SimplyCorey You can use Pagination Info for that. Also see the Properties in the wiki page for properties related to pagination info.

SimplyCorey commented 7 years ago

@ratiw I missed those in the docs. Thanks!