Replies: 1 comment 1 reply
-
|
Any guidance would be appreciated :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for putting this project together!
I'm a bit unclear as to how
datagridshould be reacting to reactive state, i.e.$statepassed toDatagridCore. I had assumed it would update on state change by default (similar to other data table libraries), but it appears it doesn't? Or, at least, it isn't updating the displayed data.I might well be doing something wrong.
I noticed the docs on Cache Manager. If I manually invalidate and recalculate then it does update to display new data, though I'm not sure on the implications of this as it seems counterintuitive. Do I need to be handling the cache myself for every state change?
If so, I fear I'm not understanding how I should be handling reactive state alongside the cache/filtering/sorting/etc.
My ultimate use case is to have a "live" data grid that will be updating frequently, around once every 1-2 seconds, as the underlying $state-backed array is deeply mutated off the back of a stream of incoming updates being sent from a back-end. Updates would include row additions/removals as well as cell updates within rows.
Any guidance would be greatly appreciated.
Here is the basic example I am starting with...
Beta Was this translation helpful? Give feedback.
All reactions