您好,我使用Telerik GridView我发生了cach事件(在行上双击),它可以正常工作。此处使用javascript代码
function RadGrid1_OnRowDblClick(sender, args) {
console.log(sender);
}
Now i need to get value from this Row (this row have ProductID,ProductLoad,Distance),i my case i need the ProductID of the row that i double clicked.
Sow how can i do this?
这是正确的args.getDataKeyValue(“ ProductID”)
但是添加非常重要
<MasterTableView Width="100%" ClientDataKeyNames="ProductID">
</MasterTableView>
args.get_itemIndexHierarchical();
在内调用RadGrid1_OnRowDblClick
会给您双击的行号。这是您要找的东西吗?
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句