When I’m trying to open new Panel after button tap I always get this error:
Uncaught Error: [ERROR][Ext.Container#factoryItem] Invalid config, must be a valid config object
Here is the function (Located in custom controller):
push : function(navigationView, viewClass) {
navigationView.push(viewClass);
}
And this is how it’s called (Located in controller class that extends custom controller):
push(this.getNvw_main(), 'First.view.HomePage');
Thanks for help in advance.
Well, view must be instatiated in order to pushed: