0
안녕하세요, Telerik GridView i cach 이벤트 (행을 두 번 클릭)를 사용하면 작동합니다. 자바 스크립트 다음 코드는자바 스크립트에서 GridView (행 클릭)에서 값을 가져 오는 방법
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?
이 바로 ANS args.getDataKeyValue ("제품 ID")
그러나 인 RadGrid1_OnRowDblClick
내 args.get_itemIndexHierarchical();
를 호출
<MasterTableView Width="100%" ClientDataKeyNames="ProductID">
</MasterTableView>
아니요 ProductID, ProductLoad와 같은 행에서 가치가 필요합니다. –
'args.getDataKeyValue ("ProductID")'등을 수행 할 수 있습니다. – Vidhuran
[여기에 예제가 있습니다.] – Vidhuran