JavaScript client 如何获取 Telerik RadGrid的值

网上很多代码用不成,下面这段代码经验证可用:

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

你可能感兴趣的:(.net,value,selected,Telerik,RadGrid)