The plugin provides a
$.columns method, but passing sizes with
vw units to
$.css will work as well.
There's a demo here: jquery.columns demo.
stacktable.js (GitHub: johnpolacek / stacktable.js, License: MIT/GPL) by John Polacek is a plugin for stacking tables on small screens. It's designed to work in responsive layouts by using media queries.
To make tables fit smaller screens, this plugin stacks each column vertically in order. The headers will be placed in the correct order as well. Behind the scenes, tables are actually replaced with the stacked version -- by passing a specific class name to the plugin responsive layouts can be supported.