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());

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”)

dhtmlxgrid_post.zip (456 Bytes)

Thanks, that works well