/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * create basic view port */ var createViewPort = function () { var viewport = new Ext.Viewport({ layout:'border', items: [ { title: 'Listado', region: 'center', layout: 'fit', height:210, split: true, id: 'grid', plugins: [new Ext.ux.Plugin.RemoteComponent({ url : '/files/ux/RemoteComponent/implementation4/grid.php' // ,loadOn : 'focus' })] ,autoShow: true } ] }); //Ext.getCmp('g').getStore().load(); } // eo function