Archive

Posts Tagged ‘JQ grid’

Unable to get property ‘integer’ of undefined or null reference – Error jqGrid

October 25, 2014 Leave a comment

We got a requirement to display XML data in table format in HTML file. We opted jqGrid for binding xml and display the XML content.

$(“#grid”).jqGrid({ datatype: ‘xmlstring’, datastr: responseXml, xmlReader: { repeatitems: false, root: xmlRoot, row: xmlRow }

I was getting this exception when I was binding XML to the jqGrid Fix :

  • By referring “grid.locale-en.js” file in my HTML file solved the issue.(i.e., <script src=”../grid.locale.en.js”></script>)

Note : grid.locale-en.js is helper file which comes when you download jqGrid.

🙂