Maison > Article > développement back-end > JavaScript client 如何获取 Telerik RadGrid的值
网上很多代码用不成,下面这段代码经验证可用:
Java代码
var MasterTable = grid.get_masterTableView(); var selectedRows = MasterTable.get_selectedItems(); var row = selectedRows[0]; var cell = MasterTable.getCellByColumnUniqueName(row, "ID"); cell = cell.innerHTML;