Ext.Viewport.add is not a function In Ext js
问题 I am very new to Ext js . I am trying to implement Grid in application in that once user will click on data new msg window will open with current data and user can edit that and this will saved in model. I am using Classic toolkit I tried like this: Ext.define('MyApp.view.main.MainController', { extend: 'Ext.app.ViewController', alias: 'controller.main', require:['Ext.plugin.Viewport'], itemtap: function (view,index,item,record) { Ext.Viewport.add({ xtype:'formpanel', title:'update', width