extjs的grid的行响应双击事件
在listeners里面添加下面的代码
listeners: {
rowdblclick: function(grid, rowindex, e){
var record = grid.getStore().getAt(rowindex);
alert("所选行的id信息: " + record.data.id);
}
}
Written by gegewan on 一月 12th, 2010 with
no comments.
Read more articles on 前端技术.
- [+] Digg: Feature this article
- [+] Del.icio.us: Bookmark this article
- [+] Furl: Bookmark this article