I use the action of Ajax to get the json data from the database ,but I add it to a grid ,the grid cann’t show the data.
the data is the text below
dhx.ajax().post(rootPath + "/wap/DataPortalAction.do", {req_noValue:req_noValue1,cust_nameValues:cust_nameValues1},
function(text){
$$('mygrid').load(text);
}
);
var text = [
{
“cust_nameValues”:“XXX”,“id”:"",“isSuccess”:“1”,“multipartRequestHandler”:null,“req_noValue”:“X20110549097”,“servletWrapper”:{}
}
]
The method load doesn’t work 。Please give me some advice.
Any help would be appreciated!