Read more

Clusterize.js

Henning Koch
May 02, 2015Software engineer at makandra GmbH

Small (1.5 KB) Javascript library that lets you render tables, lists, etc. with hundreds of thousands of items.

Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

How it works is that you move your data set from the DOM into JS. Clusterize than makes sure only the rows in the viewport (and adjacent batches) are rendered.

I believe that AngularUI's data grid component uses a similar technique to reduce the number of bindings in large tables, but I can't seem to find documentation on that.

Posted by Henning Koch to makandra dev (2015-05-02 18:42)