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
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
  disabledClass : String
CSS class added to the component when it is disabled (defaults to "x-item-disabled").
Component
  disabledDatesRE : RegExp
JavaScript regular expression used to disable a pattern of dates (defaults to null)
DatePicker
  disabledDatesText : String
The tooltip text to display when the date falls on a disabled date (defaults to "")
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 "")
DatePicker
  id : String
The unique id of this component (defaults to an auto-assigned id).
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
  stateId : String
The unique id for this component to use for state management purposes (defaults to the component id).
Component
  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