Author: | 853419196 |
---|---|
Views Total: | 1,227 views |
Official Page: | Go to website |
Last Update: | October 25, 2019 |
License: | MIT |
Preview:

Description:
A tiny, fast table sorting JavaScript library that supports numbers, dates & times and lowercase/uppercase strings.
How to use it:
1. Load the core JavaScript file IntlTableSort.js in the document.
<script src="IntlTableSort.js"></script>
2. Enable the sorting functionality on an HTML column.
<th onclick="tableSort(this)">Code</th>
3. Sort table columns by lowercase/uppercase strings.
<script src="IntlTableSort.Number.js"></script>
<th onclick="stringTableSort(this,'Lower','en')">Name</th>
4. Sort table columns by dates & times.
<script src="IntlTableSort.DateTime.js"></script>
<th onclick="dateTimeTableSort(this,'DateTime')">Birthday</th>
5. Sort numbers in your HTML table.
<script src="IntlTableSort.String.js"></script>
<th onclick="numberTableSort(this,true)">GDP per capita (2011)</th>
Great, this is the international table sorting library I’m looking for!