Tiny vanilla JS plugin to display large data sets easily
This fork adds support for a function supplying html code for new rows.
Usage:
// JavaScript
var clusterize = new Clusterize({
rows: function(i) {
return '<tr>' + Math.sqrt(i) + '</tr>'
},
// You need to specify the size because clusterize cannot determine it from the function
size : 500000,
scrollId: 'scrollArea',
contentId: 'contentArea'
});
You can also still just pass an array instead of the function and the size