Skip to content
vanillaDataTables
TypeScript 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.
src
.editorconfig
.gitignore
LICENSE
README.md
css
dat.yaml
headFrag.pug
index.html
index.pug

README.md

vanillaDataTables


A lightweight, extendable table plugin.

Forked from https://github.com/Mobius1/Vanilla-DataTables:

Quick Start

Then just initialise the plugin by either passing a reference to the table or a CSS3 selector string as the first parameter:

var myTable = document.querySelector("#myTable");
var dataTable = new DataTable(myTable);

// or

var dataTable = new DataTable("#myTable");

You can also pass the options object as the second parameter:

var dataTable = new DataTable("#myTable", {
	searchable: false,
	fixedHeight: true,
	...
});

Old example: https://codepen.io/Mobius1/pen/VadmKb

Don't forget to check the old wiki.


Features

  • Sortable columns
  • Pagination
  • Searchable
  • Customisable layout
  • Customisable labels
  • Customise column rendering
  • Export to common formats like csv, txt json, and sql
  • Control column visibility
  • Reorder or swap columns

Old Documentation


Old Demos

You can’t perform that action at this time.