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

Convert to string #91

Closed thomas-rusz closed 7 years ago

thomas-rusz commented 7 years ago

Hi!

Would you consider using the toStringof rows? By converting the elements to string with toString() enables the user to not only use array of strings but arrays of any type. Furthermore, it makes possible to generate the rows on rendering.

NeXTs commented 7 years ago

Hi Thomas, could you please provide benefits by this approach? What may be used except strings? I mean.. DOM nodes won't work this way because they will be converted to "[object HTMLDivElement]", so what's the point?