GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - iagopaixao/sortTable: Sort an ascending and descending table with HTML and JS.

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
js
js
 
 
README.md
README.md
 
 
sortTableExemple.html
sortTableExemple.html
 
 

Repository files navigation

Sort Table

sortTable is a simple JS script to sort data from an HTML table in an Ascending and Descending way. You can use it to sort names, numbers, dates, and currency.

How to use

Add the sortTable.js to the <head> of your HTML file. It's necessary that your project is using jQuery. In its HTML file it makes a call to sortTable.js as follows:

jQuery(document).ready(function() {
    var table = new ScriptOrderTable();
    table.queryTableColumns('#myTable', 'thead td a');
});

See the sortTableExample.html file for an example of how to use the script.

About

Sort an ascending and descending table with HTML and JS.

github.com/euiagosilva/sortTable

Topics

htmljqueryjssort-table

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.