v
v
vue-tables-2
Search
K
Comment on page

Error Message

Display a custom error message when request fails
This feature is only available on vue-tables-2-premium and v-tables-3
In case the request fails (i.e 4xx or 5xx status) the loading message will be replaced by the (default) message: 'Error loading results'
You can modify this message using the texts.loadingError property:
options:{
texts:{
loadingError: 'Oops! Something went wrong'
}
}
The tr will have the class 'VueTables__error' which you can use to style the message, e.g:
.VueTables__error {
color:red;
}