EXTJS - Container for a remotely loaded grid


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



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.