Stop window.Retool.modelUpdate from refreshing the custom component

Hi, I have a custom pivot table in a custom component

When I used window.Retool.modelUpdate to pass the data out to javascript query to do processing, it refreshes the whole pivot table and cause the filtering to be back to initial.

How can we stop it from refreshing when we call window.Retool.modelUpdate

Hey @Budder! I'm not sure you'll be able to stop the component from refreshing... Does it work for you to include filter settings in your model and pass your current filters along when you call .modelUpdate?

Yeah there's another way I have to do it and I need to reload the filters again once it's refreshed which is quite tedious. But if there's no other way out, then I guess I just have to use it this way