Print Friendly

Class Ext.form.DateField

Package:Ext.form
Class:DateField
Extends:Ext.form.TextField
Defined In:DateField.js
Provides a date editor field, and optionally a DatePicker. The DateEditor provides a method to override (showCalendar) if you don't want to use the built in DatePicker control. The reason I chose to use my own DatePicker control rather than the nice YUI Calendar component is my control was very easy to override events to make it work well with the grid. its also only 5k compressed, while the YUI Calendar is 40k compressed. The DatePicker supports left/right keys to move months, up/down keys to move years and the mouse wheel to quickly go through the months. The DateEditor supports the following configuration options: For more information on using this editor, see this blog post.

Properties   -  Methods   -  Events

Public Properties

This class has no public properties.

Public Methods

Method Defined By
  DateField(Object config) DateField
Create a new DateField

Public Events

This class has no public events.

Constructor Details

DateField

public function DateField(Object config)
Create a new DateField
Parameters:
  • config : Object

yui-ext - Copyright © 2006 Jack Slocum. | Yahoo! UI - Copyright © 2006 Yahoo! Inc.
All rights reserved.