grid.loadXML POST request

Hi,



I am trying to do a loadXML on a grid via a POST, is this possible?



I can do a get like so:



ajaxExt_NumGrid.loadXML(‘foo.php?NUMBERS=’+selectedRows,ajaxExt_NumGridCalculateFooter);



I was hoping I could do the same as an AJAX request and simply specify parameters as the second parameter like so:



ajaxExt_NumGrid.loadXML(‘foo.php’,‘NUMBERS=’+selectedRows,ajaxExt_NumGridCalculateFooter);



but it does a GET not POST :frowning:


Hello,


you can try to use dhtmlxgrid_post.js extenstion:


ajaxExt_NumGrid.post(“foo.php”,“NUMBERS=”+selectedRows, ajaxExt_NumGridCalculateFooter);




Thank you, that works great.

Is it possible to do a POST for updateFromXML too? (I have just asked this in another query :wink:

Kind Regards,

Martin

Answer is posted here dhtmlx.com/docs/products/kb/inde … al&q=10579