Extension:Ext.ux.form.Spinner (Legacy)

This version of our Learning Center is unmaintained.
This article may be out-of-date or contain incorrect information.
Please visit the new Sencha Learning Center for up-to-date material.

Go to the new Sencha Learning Center

From Sencha - Learn

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

This page was last modified on 27 August 2008, at 20:58. This page has been accessed 24,025 times.