直接利用rowclick方法即可,代码如下。
listeners:{ 'rowclick':function(hospitalGrid,index,e){ var sm = hospitalGrid.getSelectionModel(); if(sm.isSelected(index)){ var selections = hospitalGrid.getSelectionModel().getSelections(); if(selections!=null){ reloadMainDoc(selections[0].get('id')); } } } }