Properties Methods Events Config Options Direct Link
Observable
  Component
    DatePicker

Class CQ.Ext.DatePicker

Package:CQ.Ext
Class:DatePicker
Extends:CQ.Ext.Component
Clientlib:cq.widgets
xtype:datepicker

A popup date picker. This class is used by the DateField class to allow browsing and selection of valid dates.

All the string values documented below may be overridden by including an Ext locale file in your page.

Config Options

Config Options Defined By
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  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
  disabledDays : Array
An array of days to disable, 0-based. For example, [0, 6] disables Sunday and Saturday (defaults to null).
DatePicker
  maxDate : Date
Maximum allowable date (JavaScript date object, defaults to null)
DatePicker
  minDate : Date
Minimum allowable date (JavaScript date object, defaults to null)
DatePicker
  monthNames : Array
An array of textual month names which can be overriden for localization support (defaults to Date.monthNames)
DatePicker
  startDay : Number
Day index at which the week should begin, 0-based (defaults to 0, which is Sunday)
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
  refOwner : CQ.Ext.Container The
Component
  rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

Method Defined By

Public Events

Event Defined By