cheetah-grid icon indicating copy to clipboard operation
cheetah-grid copied to clipboard

Reactive row addition without refresh tab

Open KirillTerentiev opened this issue 4 years ago • 1 comments

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?

KirillTerentiev avatar Sep 04 '20 13:09 KirillTerentiev

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

ota-meshi avatar Oct 19 '20 03:10 ota-meshi