网上很多代码用不成,下面这段代码经验证可用: Java代码 var MasterTable = grid.get_masterTableView(); var selectedRows = MasterTable.get_selectedItems(); var row = selectedRows[0]; var cell = MasterTable.getCellByColumnUniqueName(row, "ID"); cell = cell.innerHTML;