Home  >  Article  >  Backend Development  >  How does JavaScript client get the value of Telerik RadGrid

How does JavaScript client get the value of Telerik RadGrid

巴扎黑
巴扎黑Original
2016-12-19 17:12:051467browse

Many codes on the Internet cannot be used. The following code has been verified to be usable:

Java code

var MasterTable = grid.get_masterTableView();  
var selectedRows = MasterTable.get_selectedItems();  
var row = selectedRows[0];  
var cell = MasterTable.getCellByColumnUniqueName(row, "ID");  
cell = cell.innerHTML;


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn