日期:2014-05-16 浏览次数:20414 次
gridComplete : function() {
var ids = jQuery("#list").jqGrid('getDataIDs');
for ( var i = 0; i < ids.length; i++) {
var cl = ids[i];
re = "<a href='#'>回复</a>";
jQuery("#list").jqGrid('setRowData', ids[i], {
act : re
});
}
},
colModel: [
{ name: 'act', formatter: function (value, grid, rec, state) { return "<a href='#'>回复</a>" },
//...