I'm trying to reload a page with a button. I can't seem to get the button to do anything. The current window just needs to be reloaded. Similar to hitting refresh on the browser.
Thanks in advance.
Depends how is your window built, what it's made of. For table view, do as Richie said, check the table_view_refresh.js. Hints :
Clear table view data :
Set new data :
I havnt actually got to refresh in my app yet. So I can't give you an example I have tried
But… Have you looked at the kitchen sink example/table_view_refresh.js
Which may give you an idea on how to do it
I will take a look thanks. Anyone else doing this too?