ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: sbryan on March 20, 2015, 01:13:26 am

Title: xmlToJson
Post by: sbryan on March 20, 2015, 01:13:26 am
I downloaded the Pro evaluation and when I try to use xmlToJson
Code: [Select]
var data = $.paramquery.xmlToJson(dataXMLDoc, obj);
I get the error: "TypeError: $.paramquery.xmlToJson is not a function"

If I use
Code: [Select]
var data = $.paramquery.xmlToArray(dataXMLDoc, obj);   it works

I've made sure I'm using the correct pqgrid.min.js file that came with the Pro evaluation but it looks like the function isn't in there.
Title: Re: xmlToJson
Post by: paramvir on March 20, 2015, 09:43:27 pm
xmlToJson method is used in this demo.

http://paramquery.com/pro/demos/grid_xml

Evaluation version is fully functional and contains this method. Have you cleared browser's cache, there is a good chance that your scripts are still referencing base version of grid.
Title: Re: xmlToJson
Post by: sbryan on March 21, 2015, 01:05:54 am
Clearing the browser cache worked. Thanks!