column-control
Advanced tools
Comparing version 0.0.10 to 0.0.11
0.0.11 / 2014-03-31 | ||
=================== | ||
- updated readme, fixed styles | ||
0.0.10 / 2014-03-26 | ||
@@ -3,0 +8,0 @@ =================== |
@@ -7,2 +7,3 @@ require('cssify').byUrl('//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css') | ||
document.body.innerHTML = table; | ||
document.body.style.margin = '20px'; | ||
@@ -9,0 +10,0 @@ var targetTable = document.querySelector('.target-table'); |
module.exports = | ||
[ '<div class="table_controls"></div>' | ||
[ '<div class="table-controls"></div>' | ||
, '<br/><br/>' | ||
, '<div class="table_holder">' | ||
, '<div class="table-holder">' | ||
, '<table class="target-table table">' | ||
@@ -6,0 +6,0 @@ , '<thead>' |
{ | ||
"name": "column-control", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "decorate an html table with basic column controls", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# Column-Control | ||
a module to decorate an html table with column controls such as hide / show / move | ||
Input an html table. Output controls to hide / show / move columns of that table. | ||
Controls: | ||
<img src="http://imgur.com/pUqHKqE,E0Zr974" /> | ||
With drop down open: | ||
<img src="http://imgur.com/pUqHKqE,E0Zr974#1" /> | ||
To play with an example, download and run: | ||
npm run-script example |
Sorry, the diff of this file is not supported yet
11873
13