EXTJS - Grid from a remote file with a listener for dbl click


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



Copy this code and paste it in your HTML
  1. /**
  2. * grid from remote file with a listener for dbl click
  3. */
  4.  
  5. HO.Class.CRUD.prototype.defineGrid = function () {
  6. console.log('HO.Class.CRUD.initGrid ');
  7.  
  8. this.Grid = new Ext.ux.Plugin.RemoteComponent({
  9. url : '/files/ux/RemoteComponent/implementation4/grid_generated.php'
  10. //,loadOn : 'show' /* defer processing to container's show-event */
  11. });
  12.  
  13. // add events
  14. this.Grid.on('success', function(cmp){
  15. cmp.on('rowdblclick', this.onRowDblClick);
  16. return false;
  17. }, this);
  18. }
  19.  

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.