datagrid combobox事件更新编辑状态下的datagrid行




请问如何从上图状态 点击下拉的combobox中值然后在不取消datagrid编辑状态下更新这一行另一列的数据,达到下图这样的效果:




非常感谢!
给你的combobox  绑定一个onSelect 事件,
然后  
onSelect:function(){
  var index =  $(this).parent("tr").index();
  $("table tr:eq("+index+")").find("td:nth-child(2)").text("6"); 

这样试试.
}
原文地址:https://www.cnblogs.com/wdcwy/p/5015088.html