O'Reilly logo

Ext JS 4 Web Application Development Cookbook by Stuart Ashworth, Andrew Duncan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Advanced functionality with plugins

Ext JS' functionality can be easily extended and modified by attaching plugins to components. Plugins allow us to create reusable code that will modify or add to a component's look and behavior during or after its instantiation.

The Ext JS community is prolific in their creation of plugins to extend the framework and there are some excellent contributions with both open source and commercial licenses. You can browse through the available plugins (and submit your own!) on the Sencha forums or on the Sencha marketplace (http://market.sencha.com/).

In this recipe, we are going to create a plugin called Ext.ux.ReadOnlyField that can be attached to text fields. This will allow them to be switched between a read-only ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required