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
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The DragSelector plugin


DragSelector is a plugin that helps selecting grid rows by dragging the mouse over the rows, developed by Harald Hanek. The initial developer of the original code is Claudio Walser. This plugin is really helpful as it supports selecting multiple rows very quickly. It supports the selection of grid rows in the following ways:

  • Selecting by dragging over the rows

  • Press the Ctrl key and select by dragging, keeping the existing selections

  • Press the Ctrl key and deselect the existing selections, by intersecting the existing selections by dragging the mouse.

In the following screenshot, we can see the DragSelector plugin in action:

A live demo for this plugin is located at . This plugin is licensed under LGPLv3. You can download this plugin at https://github.com/harrydeluxe/extjs-ux/blob/master/ux/grid/plugin/DragSelector.js.