loadXML fails with bigger string parameter values

When i try to use loadXML method ( called by grid object ) it fails when i have big list of parameters attached to it.

how can i control the request-length header?

Unfortunately issue can’t be reconstructed locally.

If issue still occurs for you - please provide any kind of sample or demo link where it can be reconstructed.

problem fixed!

instead of mygrid.load(…

i used

mygrid.post(…

In case anyone comes along with this problem, too, I found an alternative solution.
Just do an Ajax post, then use loadXMLString() with the response text.

dhtmlxAjax.post('url.xml',params,function(response){ mygrid.loadXMLString(response.xmlDoc.responseText); });

Obviously, you’ll have to throw in some extra JavaScript for robustness, but it works great.

@sematik: As far as a sample goes, try using loadXML() with a query string that is incredibly long (think 8200+ characters). Get requests have a limit to how long they can be, but I think it varies by server configuration, so it’s good to have a way to submit a post request.