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

Getting Started

Instalation:

npm i @dcorrea-estrav/vue3-datatables

Require the script:

import {ServerTable, ClientTable, Event} from 'vue3-datatables';

Register the component(s)

app.use(ClientTable, [options = {}], [useVuex = false], [theme = 'tailwind'], [swappables = {}]);

The above code is only for the purpose of documentation. The actual code would look something like this:

app.use(ServerTable, {}, false, 'tailwind')

PreviousDependencies & CompatabilityNextClient Table

Last updated 1 year ago