Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table does not refresh when the 'rows' (data) gets updated ... #7

Open
p2c2e opened this issue Aug 23, 2022 · 0 comments
Open

Table does not refresh when the 'rows' (data) gets updated ... #7

p2c2e opened this issue Aug 23, 2022 · 0 comments

Comments

@p2c2e
Copy link

p2c2e commented Aug 23, 2022

If we bind the rows to some external property and modify the values, the table does not refresh. Looking at the code, there seems to be no reactive code block to handle changes to the data after initialization.

let data = [ ..default items ...]
...
// async load and update of 'data' - say during the onMount() event
//....
<SimpleTable bind:data {columnSettings} {tableSettings} />
// Table still shows the 'default items'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant