Advertisements
Home > Misc > Unable to get property ‘integer’ of undefined or null reference – Error jqGrid

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

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.

🙂

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: