Posted By

peteinlux on 11/12/08


Tagged

textmate extjs


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Anber


EXTJS - Container for a remotely loaded grid


 / Published in: Other
 

  1. /**
  2. * Container for a remotely loaded grid
  3. */
  4.  
  5. HO.Class.CRUD.prototype.defineGridContainer = function () {
  6. this.GridContainer = {
  7. id : 'GridContainer'
  8. ,title : 'grid'
  9. ,loadScripts : true
  10. ,layout : 'fit'
  11. ,plugins : [this.Grid]
  12. ,managerRef : this // !!!!!!! a reference to managing object, this object, because this is our app logic
  13. //,autoShow : true
  14. ,tbar: [{
  15. text:'click me',
  16. listeners: {
  17. click: function(){ alert('test'); }
  18. }
  19. }]
  20. }
  21. } // eo function

Report this snippet  

You need to login to post a comment.