解决方案 »

  1.   

    给正在编辑的行添加onCellSelect事件?没明白具体要表达什么。。
      

  2.   

    自定义事件 。{name:'code',index:'code',formatter: cLink, width:110,editable:true},
    function cLink(cellvalue, options, rowObject){
    return '<a href="javascript:void(0)" onclick="">xxx</a>';
      

  3.   

    为某个确定的单元格添加事件,不用onCellSelect,如:失去焦点事
      

  4.   


    onCellSelect:function(rowid, index, contents, event){
    $("#"+rowid+"_planprice").change(function(){
    $("#"+rowid+"_planmoney").val($("#"+rowid+"_planprice").val() * $("#"+rowid+"_plannum").val() );
    });
    }
    change 事件可以改为blur或focus