Skip to content

scorredoira/VirtualGrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Virtual Grid

* Handles millions of rows fast and efficiently.
* No dependencies.
* Single 9 kB file.

Demo

Usage:

	var columns = [ 
		{ text: 'A', width: 150 }, 
		{ text: 'B', width: 250 }, 
		{ text: 'C', width: 250 }
	];

	var values = [
		[ 1, 3, 5 ],
		[ 8, 6, 9 ],
		[ 8, 6, 9 ]
	];

	var grid = new S.grid("grid1");
	grid.columns = columns;
	grid.values = values;
	grid.update();