Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Container
        Menu
          DateMenu

Class Ext.menu.DateMenu

Package:Ext.menu
Defined In:DateMenu.js
Class:DateMenu
Extends:Menu

A menu containing an Ext.DatePicker Component.

Notes:

  • Although not listed here, the constructor for this class accepts all of the configuration options of Ext.DatePicker.
  • If subclassing DateMenu, any configuration options for the DatePicker must be applied to the initialConfig property of the DateMenu. Applying DatePicker configuration settings to this will not affect the DatePicker's configuration.

Config Options

Config OptionsDefined By
 allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
 allowOtherMenus : Boolean
True to allow multiple menus to be displayed at the same time (defaults to false)
Menu
 data : Mixed
The initial set of data to apply to the tpl to update the content area of the Component.
Component
 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
 hidden : Boolean
Render this component hidden (default is false). If true, the hide method will be called internally.
Component
 hideOnClick : Boolean
False to continue showing the menu after a date is selected, defaults to true.
DateMenu
 items : Mixed
An array of items to be added to this menu. Menus may contain either menu items, or general Components.
Menu
 layoutConfig : Object
This is a config object containing properties specific to the chosen layout if layout has been specified as a string.

Container
 minWidth : Number
The minimum width of the menu in pixels (defaults to 120)
Menu
 pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent
 pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent
 pickerId : String
An id to assign to the underlying date picker. Defaults to null.
DateMenu
 plain : Boolean
True to remove the incised line down the left side of the menu. Defaults to false.
Menu
 resizeEvent : String
The event to listen to for resizing in layouts. Defaults to 'resize'.
Container
 scope : Object
The scope (this reference) in which the handler function will be called. Defaults to this DateMenu instance.
DateMenu
 showSeparator : Boolean
True to show the icon separator. (defaults to true).
Menu
 subMenuAlign : String
The Ext.Element.alignTo anchor position value to use for submenus of this menu (defaults to 'tl-tr?')
Menu
 x : Number
The local x (left) coordinate for this component if contained within a positioning container.
BoxComponent
 y : Number
The local y (top) coordinate for this component if contained within a positioning container.
BoxComponent
 zIndex : Number
zIndex to use when the menu is floating.
Menu

Public Properties

PropertyDefined 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
 items : MixedCollection
The collection of components in this container as a Ext.util.MixedCollection
Container
 picker : DatePicker
The Ext.DatePicker instance for this DateMenu
DateMenu
 rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

MethodDefined By

Public Events

EventDefined By