Skip to content
Vue CLI 3 project. Sorting tables with either Datatables.net with plugins or vue-tabulator module
Vue JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.gitignore
README.md
babel.config.js
package-lock.json
package.json
vue.config.js

README.md

datatables-and-tabulator-demo

Sorting columns of a table is rather easy using Datatables.net. However, sorting a column holding dates has always been a bit tricky.

Here I'll show two ways of sorting a simple table.

  1. using jQuery, Datatables.net and Datatables.net plugins
  2. using vue-tabulator

Note that both date sortings are based on moment.js.

Here is how it looks: Screenshot of the tables

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Customize configuration

See Configuration Reference.

You can’t perform that action at this time.