Vue3-datatables
  • Dependencies & Compatability
  • Getting Started
  • Client Table
    • Asynchronous Loading
    • Grouping
    • Filtering Algorithm
    • Editable Cells
  • Server Table
    • Implementations
    • Custom Request Function
    • Setting Multiple Request Parameters
    • Error Message
    • Draw Counter
  • Dependencies & Compatability
  • Getting Started
  • Virtual Pagination
  • Column Templates
  • Nested Data Structures
  • Selectable Rows
  • List Filters
  • Custom Template
  • Custom Filters
  • Multiple Sorting
  • Date Columns
  • Custom Sorting
  • Conditional Cell Styling
  • Columns Visibility
  • Child Rows
  • Properties
  • Slots
  • Methods
  • Events
Powered by GitBook
On this page
  1. Server Table

Error Message

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;
}
PreviousSetting Multiple Request ParametersNextDraw Counter

Last updated 1 year ago