Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Dave on May 28, 2008 07:15
open dhtmlx forum
grid.xmlLoader.loadXML

Hi,

I had been using a method you specified below to get loadXML to use post. However since update to 1.6 this method has stopped functioning.

Ajax command is being issued OK.
POST params are OK.
Returned XML is OK

... but it does not load into grid.

Dave

By using inner functionality - it can be done in next way

grid.xmlLoader.loadXML("./TableObjectTreeGenerator?",true,GET_DATA+"="+getDataName());
Answer posted by Support on May 29, 2008 05:02
You can use attached extension, it will add
    grid.post
method, which can be used same as grid.load, but will use POST instead of get

grid.post(url)
grid.post(url,post_string)
grid.post(url,post_string,call)
grid.post(url,post_string,call,type)
grid.post(url,post_string,type)

grid.post("some.php","a=1&c=2",function(){
    alert("loaded");
},"json")
Attachments (1)
Answer posted by Dave on May 29, 2008 06:31
Thanks, that works well