I make an ajax call which returns XML to a javascript variable, for example:
var xmlObj = getXmlFromAjax(…..);
Can I use this xmlObj variable as XML source in jqGrid?
I have edited the grid.base.js file populate function and added:
case "xmlvar":
addXmlData(ts.p.datastr,ts.grid.bDiv);
ts.p.datastr = null;
ts.p.datatype = "local";
if(loadComplete) loadComplete();
break;
with datastr as my javascript xml document but nothing happens… Am I close to any solution…
It’s good. What I try to do now is when pressing the button from pager to submit new xml generated by external function at jqgrid painting to new data. Is there any such possibility and what should I use?