EXT 双击事件

原文地址:http://blog.csdn.net/sanshou/article/details/7967470

定义双击事件

var onrowdoubleclick=function(grid,index,e){

var selectionModel=grid.getSelectionModel();
var record=selectionModel.getSelected();
window.opener.addcode(record.get('jcode'),record.get('zjh'));
window.close();

}

grid加监听

grid.addListener('rowdblclick',onrowdoubleclick);


拓展:

http://qsrock.iteye.com/blog/209658

你可能感兴趣的:(EXT 双击事件)