Posted By

peteinlux on 11/12/08


Tagged

textmate extjs


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Anber
the_coder


EXTJS-Basic Viewport


 / Published in: Other
 

  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  

You need to login to post a comment.