NeXTs / Clusterize.js

Tiny vanilla JS plugin to display large data sets easily
https://clusterize.js.org
MIT License
7.22k stars 412 forks source link

Are there examples of how to handle filtering and sorting? #148

Open martinhbramwell opened 6 years ago

martinhbramwell commented 6 years ago

I'm guessing, since I see no reference to filtering and sorting in the docs, that the underlying data model is expected to deal with those aspects.

My question is simply if anyone could point out some nice fast example code for that functionality.

Thanks.

goulu commented 6 years ago

+1. I'd like to combine clusterize.js with a D3 table like http://bl.ocks.org/dhoboy/1ac430a7ca883e7a8c09

nathanlesage commented 5 years ago

This is how github.com/Zettlr/Zettlr does it:

Have a look here:

https://github.com/Zettlr/Zettlr/blob/master/source/renderer/zettlr-preview.js#L83

Works like a charm, and handles even big amounts of data pretty well and fast.