Hi,
My grid is loading data from a URL that generates either XML or JSON. We are trying to implement JSON and have had success but we’ve run into one issue. We need to set the “Accept” header on the AJAX request to “application/json” before the request is sent so that the server knows to serve JSON instead of XML. The only way I’ve found to do this is to directly edit dhtmlxcommon.js but this is obviously not ideal because we would have to make the change for every new version that comes out. Is there another more convenient way to take control of the request?
Thanks,
Joe