View Full Version : Launch Window instead of viewport in Ext JS 4.X MVC application

16 Apr 2013, 9:07 PM
function comboBoxChange() {
name : "MyApp",
appFolder : "customerview",//default,
controllers : ["ActionsController"],
launch : function(){
Ext.create('Ext.window.Window', {
title: 'Hello',
height: 400,
width: 400,
layout: 'fit',
items: { // Let's put an empty grid in just to illustrate fit layout
xtype: 'grid',
border: false,
columns: [{header: 'World'}], // One header just for show. There's no data,
store: Ext.create('Ext.data.ArrayStore', {}) // A dummy empty data store

Any suggestions why this is not working.
I do not require a viewport sine I am launching the Window using MVC app on a combo box change unction
Any workaround or fix is really appreciated

18 Apr 2013, 9:52 AM
Do you already have an instantiated Ext.app.Application at the time this function is called?