nnajm / orb

Pivot table javascript library
https://nnajm.github.io/orb/
MIT License
558 stars 172 forks source link

Handle dynamic data changes #9

Closed johnpletka closed 9 years ago

johnpletka commented 9 years ago

Is there a way to feed data changes into the datasource and have the aggregates recalculated? I have a requirement to support data-changes over time. If the control currently does not support it, could you point me in the right direction to add it?

Thanks

nnajm commented 9 years ago

Hello,

Sorry, it's not documented, but it's possible. You need a reference to the orb.pgridwidget instance, then call its refreshData method with the new data source array. Sorting, filtering, collpsed states will be retained.

The website is now updated with this information.