代码如下:
//显示当前记录下的明细masterProductionSchedule.onShowRowDetail = function (e) { debugger; var grid = e.sender; var row = e.record; var td = grid.getRowDetailCellEl(row); var workShopId = masterProductionSchedule.getWorkShopId(); var state = masterProductionSchedule.getState(); var detailGrid_Form = document.getElementById('MasterPlanGrid_Form' + workShopId + state);