examples/bootstrap/calendar.js
authorAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 04:50:09 +0000 (12:50 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 04:50:09 +0000 (12:50 +0800)
examples/bootstrap/calendar.js

index c077649..993cc7e 100644 (file)
@@ -2,7 +2,7 @@
 
 Roo.example = Roo.example || {};
 
-Roo.example.bootstrap = new Roo.XComponent({
+Roo.example.calendar = new Roo.XComponent({
     part     :  ["layout","viewpanel"],
     order    : '001-viewpanel',
     region   : '',
@@ -28,7 +28,13 @@ Roo.example.bootstrap = new Roo.XComponent({
                  {
                     xtype: 'Calendar',
                     xns: Roo.bootstrap,
-                    cls : 'col-md-9'
+                    cls : 'col-md-9',
+                    listeners : {
+                        render : function() {
+                            _this.render
+                        }
+                        
+                    }
                  }
             ]
         };