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

Update clusterize.js when using existing markup #107

Open Marfa93 opened 7 years ago

Marfa93 commented 7 years ago

Hello ! I'm looking for a way to update my table after the user retrieves new data. I'm using React v15.x.x to create the datatable with the data, but it seems there is no method for what I want to do. I might be wrong ^^

hazzo commented 7 years ago

Do you mean update Clusterize data with the new rendered info in React? If that it is what you are talking about, I'm looking forward to do the same in Vue, i need to use the markup that I'm rendering because it contains directives that are unique to Vue.

NeXTs commented 7 years ago

@Marfa93 there are method called exactly ".update"

@hazzo I guess would be better to use vue specific version of clusterize https://github.com/vue-comps/vue-clusterize

hazzo commented 7 years ago

@NeXTs that version of vue-clusterize just works with old vue 1.0. What we mean with update I think we refer to a method that updates if markup changes and there is no need to pass an array of data. In the method update an array of data seems to be needed. No?