Menu

Tree [r4] /
 History

HTTPS access


File Date Author Commit
 readme 2011-02-26 euanr [r4] Added readme
 tableFit.htm 2011-02-26 euanr [r3] Added instructions
 tableFit.js 2011-02-24 euanr [r1] First public version. Only works for specific s...

Read Me

Tablefit is a plugin for fitting standard HTML tables into restricted rooms by implementing scrolling
that keeps hears, footer and row labels visible.

Check out the example at http://puna.net.nz/tableFit/

Implement thus:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>	
<script src='tablefit.js'></script>
	
// $(selector).tableFit(options);
//
// As used in this example...

$('#scroll').tableFit({
	width:document.body.offsetWidth - 60,
	height:400
});	




Selector:

	jQuery CSS Selector for the tables to 'fit' with the provided options.
	
Options:

	Width: desired width in pixels,
	Height: desired height in pixels
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.