I just want to include a view to another view and make it visible when run, however I only encounter a white screen. I could not find the problem.
More clearly when a define a panel insteadn 'Login' in the main panel it works, but I want to include panel where it has already define outside the main panel and then include. I tried many time but could not achieve it.
Another question about forum: how will I write code segment in the coding style?
My problem is with require system of the extjs. I do not understand why it is not working.
It works when I simply define a component and create one instance just under it as below
Ext.define(MyGrid,{
}
Ext.create(MyGrid);
However I want to define it outside the file in views directory for example
like
Ext.define(MyApp.view.MyGrid,{
}
and include it file where I want to create one instance.
I know this is very basic question about the extjs but I used require, view all places but I could noy achieve it.