-
16 Mar 2012 2:50 AM #1
Extend Viewport
Extend Viewport
Hello All,
When I include the viewport in my project it states :
extend : app.view.ui.MyViewport ? Why does it not just say: Ext.container.Viewport . Can I change it to Ext.container.Viewport?Code:Ext.define('app.view.MyViewport', { extend: 'app.view.ui.MyViewport', alias: 'widget.viewport', initComponent: function() { var me = this; me.callParent(arguments); } });
Regards,
BertBert Deterd
-
16 Mar 2012 5:52 AM #2
Whats the version/build of your Designer? What you have suggests its an older version.
It should say
Ext.define('MyApp.view.MyViewport', {
extend: 'Ext.container.Viewport',
..Bharat Nagwani
Sencha Designer Development Team
-
16 Mar 2012 6:50 AM #3
version is 2.0.0 build 298
Bert Deterd
-
16 Mar 2012 7:01 AM #4
You should update to latest which i believe is 311.
Bharat Nagwani
Sencha Designer Development Team


Reply With Quote