$.ajax({ url : ctx + "/xx/xxxxx.do", type : 'post', dateType : 'json' success : function(data) { $('#table').datagrid('load',data); }});