Skip to content

PLint-sites/datatables-and-tabulator-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 three ways of sorting a simple table.

  1. using jQuery, Datatables.net and Datatables.net plugins
  2. using vue-tabulator
  3. using grid.js (and it's Vue plugin)

Note that the first tow options use moment.js for date sorting. The latter uses dayjs, the light weight alternative to moment.

Blog

Read all details on our blog

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.

About

Vue CLI 3 project. Sorting tables with either Datatables.net with plugins or vue-tabulator module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •