行添加操作列
rowformater方法可以扩展自定义列:

The cell formatter function, take three parameters:
value: the field value.
rowData: the row record data.
rowIndex: the row index.
Code example:
$('#dg').datagrid({
columns:[[
{field:'userId',title:'User', width:80,
formatter: function(value,row,index){
if (row.user){
return row.user.name;
} else {
return value;
}
}
}
]]
});

浙公网安备 33010602011771号