Properties Methods Events Config Options Direct Link
Observable
  Component
    DatePicker

Class Ext.DatePicker

Package:Ext
Defined In:DatePicker.js
Class:DatePicker
Extends:Component
* Simple date picker class.

Config Options

Config Options Defined By
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  cancelText : String
The text to display on the cancel button
DatePicker
  constrainToViewport : Boolean
Deprecated (not currently used). True to constrain the date picker to the viewport (defaults to true)
DatePicker
  dayNames : Array
An array of textual day names which can be overriden for localization support (defaults to Date.dayNames)
DatePicker
  disabled : Boolean
Render this component disabled (default is false).
Component
  disabledClass : String
CSS class added to the component when it is disabled (defaults to "x-item-disabled").
Component
  disabledDatesText : String
The tooltip text to display when the date falls on a disabled date (defaults to "Disabled")
DatePicker
  disabledDays : Array
An array of days to disable, 0-based. For example, [0, 6] disables Sunday and Saturday (defaults to null).
DatePicker
  disabledDaysText : String
The tooltip to display when the date falls on a disabled day (defaults to "Disabled")
DatePicker
  hidden : Boolean
Render this component hidden (default is false).
Component
  maxDate : Date
Maximum allowable date (JavaScript date object, defaults to null)
DatePicker
  maxText : String
The error text to display if the maxDate validation fails (defaults to "This date is after the maximum date")
DatePicker
  minDate : Date
Minimum allowable date (JavaScript date object, defaults to null)
DatePicker
  minText : String
The error text to display if the minDate validation fails (defaults to "This date is before the minimum date")
DatePicker
  monthNames : Array
An array of textual month names which can be overriden for localization support (defaults to Date.monthNames)
DatePicker
  monthYearText : String
The header month selector tooltip (defaults to 'Choose a month (Control+Up/Down to move years)')
DatePicker
  nextText : String
The next month navigation button tooltip (defaults to 'Next Month (Control+Right)')
DatePicker
  okText : String
The text to display on the ok button
DatePicker
  prevText : String
The previous month navigation button tooltip (defaults to 'Previous Month (Control+Left)')
DatePicker
  startDay : Number
Day index at which the week should begin, 0-based (defaults to 0, which is Sunday)
DatePicker
  todayText : String
The text to display on the button that selects the current date (defaults to "Today")
DatePicker
  todayTip : String
The tooltip to display for the button that selects the current date (defaults to "{current date} (Spacebar)")
DatePicker

Public Properties

Property Defined By
  disabled : Boolean
True if this component is disabled. Read-only.
Component
  hidden : Boolean
True if this component is hidden. Read-only.
Component
  initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
  rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

Method Defined By

Public Events

Event Defined By