Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / examples / organizer / OrgPanel.js
index d48b874..4d172be 100644 (file)
@@ -26,7 +26,23 @@ Ext.define('Ext.org.OrgPanel', {
                 region: 'center',
                 padding: '5 5 5 0',
                 items: {
-                    xtype: 'imageview'
+                    xtype: 'imageview',
+                    /*  (add a '/' at the front of this line to turn this on)
+                    listeners: {
+                        containermouseout: function (view, e) {
+                            Ext.log('ct', e.type);
+                        },
+                        containermouseover: function (view, e) {
+                            Ext.log('ct', e.type);
+                        },
+                        itemmouseleave: function (view, record, item, index, e) {
+                            Ext.log('item', e.type, ' id=', record.id);
+                        },
+                        itemmouseenter: function (view, record, item, index, e) {
+                            Ext.log('item', e.type, ' id=', record.id);
+                        }
+                    },/**/
+                    trackOver: true
                 }
             }
         ];