Skip to content

AlexanderFillbrunn/Clusterize.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


Demo, usage, etc… (of the original library)

example

About

Tiny vanilla JS plugin to display large data sets easily

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.9%
  • CSS 5.1%