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

Reactive row addition without refresh tab #273

Open
KirillTerentiev opened this issue Sep 4, 2020 · 1 comment
Open

Reactive row addition without refresh tab #273

KirillTerentiev opened this issue Sep 4, 2020 · 1 comment
Labels

Comments

@KirillTerentiev
Copy link

KirillTerentiev commented Sep 4, 2020

Hi! I stucked with the problem of adding new row in the table. The updated value that come to grid.records array with new value doesn't update table until i refresh page. Same behaviour with the delete of the record on button click, on screen table is the same until i refresh the page. Any suggestions how to fix this behaviour?
Maybe it is some refresh table method?Or smth similar to this?

@ota-meshi
Copy link
Member

Sorry for late reply.
You'll need to call some refresh methods, but the easiest way to do this is to call the records property setter.

I think you can refresh yourself by doing the following:

grid.records =records

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants