Upgrade to ExtJS 3.0.3 - Released 10/11/2009
[extjs.git] / docs / source / DateMenu.html
index 6674760..933b10b 100644 (file)
@@ -1,11 +1,17 @@
-<html>\r
-<head>\r
-  <title>The source code</title>\r
-    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
-    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
-</head>\r
-<body  onload="prettyPrint();">\r
-    <pre class="prettyprint lang-js"><div id="cls-Ext.menu.DateMenu"></div>/**\r
+<html>
+<head>
+  <title>The source code</title>
+    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+</head>
+<body  onload="prettyPrint();">
+    <pre class="prettyprint lang-js">/*!
+ * Ext JS Library 3.0.3
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+<div id="cls-Ext.menu.DateMenu"></div>/**\r
  * @class Ext.menu.DateMenu\r
  * @extends Ext.menu.Menu\r
  * <p>A menu containing an {@link Ext.DatePicker} Component.</p>\r
      */\r
     hideOnClick : true,\r
     \r
+    <div id="cfg-Ext.menu.DateMenu-pickerId"></div>/** \r
+     * @cfg {String} pickerId\r
+     * An id to assign to the underlying date picker. Defaults to <tt>null</tt>.\r
+     */\r
+    pickerId : null,\r
+    \r
     <div id="cfg-Ext.menu.DateMenu-maxHeight"></div>/** \r
      * @cfg {Number} maxHeight\r
      * @hide \r
         Ext.apply(this, {\r
             plain: true,\r
             showSeparator: false,\r
-            items: this.picker = new Ext.DatePicker(Ext.apply({\r
+            items: this.picker = new Ext.DatePicker(Ext.applyIf({\r
                 internalRender: this.strict || !Ext.isIE,\r
-                ctCls: 'x-menu-date-item'\r
+                ctCls: 'x-menu-date-item',\r
+                id: this.pickerId\r
             }, this.initialConfig))\r
         });\r
         this.picker.purgeListeners();\r
     }\r
  });\r
  Ext.reg('datemenu', Ext.menu.DateMenu);\r
- </pre>    \r
-</body>\r
+ </pre>
+</body>
 </html>
\ No newline at end of file