Ext JS - Learning Center

Extension:Ext.ux.form.Spinner

From Learn About the Ext JavaScript Library

Revision as of 20:58, 27 August 2008 by K0bo (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Summary: A form field to spin through numbers, dates and time
Author: Steven Chim
Published: 19 September 2007
Version: 0.35
Ext Version: 2.0+
License: BSD license
Demo Link: View Demo
Forum Post: View Post

Contents

Description

Ext.ux.form.Spinner lets the user spin through values for a form field. Supported values can be numbers, dates and time. Additional support for other values can easily be added, i.e. to spin through an array or dataset.

Functionality

  • Spinner has draggable divider to change values
  • keyUp and keyDown support, when Spinner is in focus
  • Alternate spinning when 'Shift' is pressed while spinning
  • pageUp and pageDown for alternate spinning
  • Scrollwheel support
  • Configurable increments
  • Configurable spinning range (min- and max values)

Usage

Check out the forum post for its usage.

Plugin version

Make sure to check out the plugin version too. Plug this plugin into an ext-form component to give it spinning behaviour while keeping the native validation, etc...

Screenshot

Image:Ux-form-spinner.jpg