ParamQuery grid support forum
General Category => ParamQuery Pro Evaluation Support => Topic started by: sbryan on March 20, 2015, 01:13:26 am
-
I downloaded the Pro evaluation and when I try to use xmlToJson
var data = $.paramquery.xmlToJson(dataXMLDoc, obj);
I get the error: "TypeError: $.paramquery.xmlToJson is not a function"
If I use 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.
-
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.
-
Clearing the browser cache worked. Thanks!