-
When using Has anyone successfully used replace data? I can find the page/sort/filter before updating the data and then set it post update, but this still causes jitter and change in scroll position. I'm working on a clone now, to illustrate the issue. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
yes please - tried it on the demo app, and worked as expected for me |
Beta Was this translation helpful? Give feedback.
-
Here I am trying to show that if you scroll down on your table and then an update is set, the scroll position will not stay. Sort however, does seem to stay. Here is the clone: https://anvil.works/build#clone:TX5IJADW5BLXJTRB=IGU6N4GJMVJGZXZHMS4NRCBH |
Beta Was this translation helpful? Give feedback.
Looking at the docs for tabulator
but if you're using pagination, it turns out the virtual dom is not enabled, and so scroll position is not maintained
if you use infinite scroll i.e.
then it works as expected
You seem to have hacked together a solution
here's another one