1.给单元格添onchange事件
实例:
$('#gridYosan').setColProp('yosanka',
{editoptions: {
dataEvents:[{
type: 'change',
fn: function (e) {
var id = $('#gridYosan').jqGrid('getGridParam','selrow');
var val = this.value;
yosankaChange(val,id);
}
}]
}
});