onRowDoubleClick()
onCellHover()
onRowClick() 单击行时执行
<table id="grid" dojoType="dojox.grid.Grid" store="wishStore" query="{wishId:'*'}" clientSort="true">
<script type="dojo/connect" event="onRowClick" args="evt">
var searchTerms = this.model.getRow(evt.rowIndex).discription;
console.debug(searchTerms); 输出结果为:描述9
</script>
<thead>
<tr>
<th field="discription" width="15em">Cigar</th>
<th field="size">length/ring</th>
<th field="origin" >origin</th>
<th field="wrapper" >wrapper</th>
<th field="shape" >shape</th>
</tr>
</thead>
</table>
type="dojo/connect" 浏览器不识别,会简单的跳过。
evt.rowIndex 从0开始计数。