EXTJS-Basic Viewport


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /**
  2. * create basic view port
  3. */
  4. var createViewPort = function () {
  5. var viewport = new Ext.Viewport({
  6. layout:'border',
  7.  
  8. items: [
  9. {
  10. title: 'Listado',
  11. region: 'center',
  12. layout: 'fit',
  13. height:210,
  14. split: true,
  15. id: 'grid',
  16. plugins: [new Ext.ux.Plugin.RemoteComponent({
  17. url : '/files/ux/RemoteComponent/implementation4/grid.php'
  18. // ,loadOn : 'focus'
  19. })]
  20. ,autoShow: true
  21.  
  22.  
  23. }
  24. ]
  25. });
  26. //Ext.getCmp('g').getStore().load();
  27. } // eo function

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.