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 - Grid from a remote file with a listener for dbl click


 / Published in: Other
 

  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  

You need to login to post a comment.