PDA

View Full Version : How to Reload/refresh current page only on clicking Browser refresh button (Chrome)



mazhar.shaikh
30 Jan 2014, 1:28 PM
Hi ,

I have an app build using Extjs 4.2, Sencha Architect 2.2 that I run on Chrome.
It has a lot of views/pages, tabs with Grids and other components on it.

Currently my issue is, if the user clicks on the Browser refresh button, the whole application is refreshed and gets the user back to the starting point of the application (login page). The requirement is to refresh only the current page that the user is on and load the defaults of that page.

I can t seem to get it. Can someone assist me or point me to appropriate links.

Thanks

greg.barry
4 Feb 2014, 10:26 AM
It sounds like you may be interested in Routing. It's a feature that exists in Sencha Touch but has not officially been added to ExtJS as of yet. That said, we are planning on adding this functionality very soon.

In the meantime, you may be interested in viewing some 3rd party implementations of routing:
https://market.sencha.com/extensions/ext-ux-router

Thanks!
Greg

mazhar.shaikh
12 Feb 2014, 12:51 PM
I will take this as an answer! Thanks