onCellSelect jqgrid的单元格单机事件在coloModel中 对应的标签内容添加formatter中{name: '', index: 'add', align:"center", width:100, formatter:function(cellvalue, options, rowObject){ var addButton = "<img src='./images/add_16.gif' title='添加票据' onclick='addBtn(\""+rowObject.ID+"\");' />"; return addButton; } }
onCellSelect jqgrid的单元格单机事件
在coloModel中 对应的标签内容添加formatter中
{name: '', index: 'add', align:"center", width:100, formatter:function(cellvalue, options, rowObject){