Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Ext JS Data-driven Application Design

You're reading from   Ext JS Data-driven Application Design Learn how to build a user-friendly database in Ext JS using data from an existing database with this step-by-step tutorial. Takes you from first principles right through to implementation.

Arrow left icon
Product type Paperback
Published in Dec 2013
Publisher Packt
ISBN-13 9781782165446
Length 162 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Kazuhiro Kotsutsumi Kazuhiro Kotsutsumi
Author Profile Icon Kazuhiro Kotsutsumi
Kazuhiro Kotsutsumi
Arrow right icon
View More author details
Toc

Using Ext.util.History for directly accessing a screen


Ext.util.History manages the history. When a page changes, the application catches this change and then the Ext.util.History fires an event. Using this feature, we can control actions in our application.. For example, by using Ext.util.History, every time the application is accessed the dashboard URL is displayed.

Sometimes, when the user inputs an incorrect hash in the URL, the application will have trouble finding the page. However, with Ext.util.History, it goes to screens specified by the developer. For example, when we implement Ext.util.History, the user can access the quotation page directly without abnormal screen behavior. With Ext.util.History, it also allows us to attach the URL to an e-mail to access documents directly.

To begin with, you need to make the MyApp.util.History class. You might think it is an abstract class when you set eyes on it, actually, it is different. MyApp.util.History is a class used to incorporate URL...

You have been reading a chapter from
Ext JS Data-driven Application Design
Published in: Dec 2013
Publisher: Packt
ISBN-13: 9781782165446
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image