Skip to content

jQuery Plugin to dynamically show/hide table contents to fit window.

Notifications You must be signed in to change notification settings

mcuznz/jquery.magiccolumns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

jquery.magiccolumns

jQuery Plugin to dynamically show/hide table contents to fit window.

Consider this a Beta at best; it works for the single use case that I needed it for, but might not work in all cases. It also needs some prettying up.

Call on the root <table> element; will simply exit if called against other tags.

<th> and <td> cells that you want to dynamically hide need a data-priority attribute. A data-priority of 0 is a permanent cell and will never be hidden. Lower numbers persist longer; a cell with data-priority=10 will be hidden long before one with data-priority=1.

Use at your own risk.

-- Mike Cousins / @mcuznz

About

jQuery Plugin to dynamically show/hide table contents to fit window.

Resources

Stars

Watchers

Forks

Packages

No packages published