var rows = $('#dg').datagrid('getChanges');var data = JSON.stringify(rows);$.post(yoururl, {data:data}, ...);