/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Container for a remotely loaded grid */ HO.Class.CRUD.prototype.defineGridContainer = function () { this.GridContainer = { id : 'GridContainer' ,title : 'grid' ,loadScripts : true ,layout : 'fit' ,plugins : [this.Grid] ,managerRef : this // !!!!!!! a reference to managing object, this object, because this is our app logic //,autoShow : true ,tbar: [{ text:'click me', listeners: { click: function(){ alert('test'); } } }] } } // eo function