You can custom the post method by overriding the 'poster' function. Be sure to download the newest 'jquery.edatagrid.js' file from
http://www.jeasyui.com/extension/edatagrid.php$('#dg').edatagrid({
poster: function(url, data, success, error){
$.ajax({
type: 'post',
url: url,
data: data, // JSON.stringify(data)
dataType: 'json',
success: function(data){
success(data);
},
error: function(jqXHR, textStatus, errorThrown){
error({
jqXHR: jqXHR,
textStatus: textStatus,
errorThrown: errorThrown
});
}
});
}
});