Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonathanprince/jquery.table-matrix
Simple jQuery plugin for creating a data matrix from an HTML table
https://github.com/jonathanprince/jquery.table-matrix
Last synced: 11 days ago
JSON representation
Simple jQuery plugin for creating a data matrix from an HTML table
- Host: GitHub
- URL: https://github.com/jonathanprince/jquery.table-matrix
- Owner: JonathanPrince
- Created: 2014-11-27T09:38:32.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-27T14:21:56.000Z (almost 10 years ago)
- Last Synced: 2024-04-16T08:46:33.128Z (7 months ago)
- Language: JavaScript
- Size: 160 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#jquery.table-matrix
##Description
Simple jQuery plugin for creating a data matrix from an HTML table.
Returns a 2D array of table data, can be used with a callback function.
##Usage
Include jQuery and plugin scripts.
**Basic usage:**
```js
// save output in a variable
var data = $( "#myTable" ).tableMatrix();
```**Specify Callback Function:**
```jsvar myCallback = function( data ){
// do something with the data...
};$( "#my-table" ).tableMatrix( myCallback );
```