grid load data for remote json

hi all:
im use grid ,want load data from other jsp,now jsp out:
{“count”:12,“item”:[{“amount”:0.00,“code”:“201510160001”,“deliveryTeam”:“teama”,“deliveryType”:“what”,“phoneNumber”:“15626561150”,“remark”:“remark…”,“state”:“done”,“timeStamp”:“2015-10-16 19:08:30”},{“amount”:48.90,“code”:“201510160002”,“deliveryTeam”:“teama”,“deliveryType”:“what”,“phoneNumber”:“13669860875”,“remark”:“remark…”,“state”:“done”,“timeStamp”:“2015-10-16 20:05:28”}],“result”:“success”}
the struct have count and item,not total_count and rows,how load grid and show,please help me,thanks.

Unfortunately the “total_count” and “pos” attributes are hardcoded in the process_xml function.
In the “dhtmlxgrid.js”
_process_xml:function(xhr){

var cr = parseInt(top.getAttribute(“pos”)||0);
var total = parseInt(top.getAttribute(“total_count”)||0);

The only available solution is to modify the inner code and change these attributes in the process_xml function to the required.

thank you answer my question.