Book Image

Ext JS 4 Plugin and Extension Development

By : Abdullah Al Mohammad
Book Image

Ext JS 4 Plugin and Extension Development

By: Abdullah Al Mohammad

Overview of this book

Ext JS is a pure JavaScript application framework for building interactive web applications using techniques such as Ajax, DHTML, and DOM scripting. Ext JS 4 Plugin and Extension Development is a practical, step-by-step tutorial which guides you to learn and develop ExtJS plugins and extensions. There are a lot of examples with explanations and plenty of code provided to make it easier and quicker to pick up. Starting with the fundamentals, this book introduces some of the ExtJS library and community provided plugins and extensions and finishes with several hands-on, real world development examples. You will get a clear concept of ExtJS plugins and extensions and learn how to use them. You will also learn how to develop an ExtJS plugin and extension by going through several examples with code and screenshots. Ext JS 4 Plugin and Extension Development book will provide you with the knowledge to develop ExtJS plugins and extensions using real-life examples.
Table of Contents (16 chapters)
Ext JS 4 Plugin and Extension Development
About the Author
About the Reviewers

The MultiDate extension

MultiDate is a form field extension, which is extended from Ext.form.field.Date, which allows entering of multiple dates and date ranges with flexible format-matching and powerful drop-down picker, developed by Alexander Tokarev.

Following is the screenshot of a MultiDate field:

The following are some of the features for MultiDate:

  • No limit for number of dates or date ranges.

  • Separate settings for input format, display format, and submit format of range values.

  • Fully themed with CSS sheet provided.

  • Backwards compatibility: multivalue input can be turned off by setting one option; in this case, behavior is similar to the stockDate field.

  • Support for configurable work weekdays selection.

  • Press Space in picker to select/unselect single day.

  • Shift + Space or Shift + click in picker selects the work week.

  • Ctrl + Backspace in picker clears the selection.

  • Ctrl + click in picker selects the freeform ranges: Ctrl + click once to set the start date and Ctrl + click again to set the...