Ext的grid中已经知道了行号 怎么对这一行增加双击事件
或者给这一行增加id
换个思路不久行了,添加itemdblclick事件,判断是你需要的行再执行相关代码
itemdblclick( this, record, item, index, e, eOpts )
Fires when an item is double clicked.
Available since: 4.0.0
Parameters
this : Ext.view.View
record : Ext.data.Model
The record that belongs to the item
item : HTMLElement
The item's element
index : Number
The item's index
e : Ext.EventObject
The raw event object
eOpts : Object
The options object passed to Ext.util.Observable.addListener.