在initComponent末尾添加如下代码
//单击:
this.on('rowclick',function(g,i,e){
var record = g.getStore().getAt(i);
alert(record.get('ID'));
},this)
//双击:
this.on('rowdblclick ',function(g,i,e){
var record = g.getStore().getAt(i);
alert(record.get('ID'));
},this)