kalldrexx

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • kalldrexx
    Participant

    Fix came from stack overflow: http://stackoverflow.com/questions/3213984/jqgrid-giving-exception-when-json-is-attempted-to-be-loaded

    I needed to add

    kalldrexx
    Participant

    I tried to format my data like it says (the data never showed up in the grid to begin with as an FYI), so now my json is being returned like this:

    {“page”:”1″,”total”:”1″,”records”:6,”rows”:[{“id”:”37″,”version”:”4.14.9.1″,”name”:”4.14 Patch 8″,”date”:”2010-07-08″},{“id”:”39″,”version”:”4.15.4.1″,”name”:”4.15 Patch 3″,”date”:”2010-07-08″},{“id”:”36″,”version”:”4.13.11.1″,”name”:”4.13 Patch 11″,”date”:”2010-07-15″},{“id”:”40″,”version”:”4.15.5.1″,”name”:”4.15 Patch 4″,”date”:”2010-07-22″},{“id”:”38″,”version”:”4.14.10.1″,”name”:”4.14 Patch 9″,”date”:”2010-07-22″},{“id”:”30″,”version”:”4.16.1.1″,”name”:”4.16 Release”,”date”:”2010-07-30″}]}

    However now, once the data loads a new exception is thrown:

    Uncaught TypeError: Cannot read property '0' of undefined

    kalldrexx
    Participant

    Nevermind, it appears it's caused because I was loading jquery.jqGrid.min.js prior to grid.locale-en.js

Viewing 3 replies - 1 through 3 (of 3 total)

Stay connected with us in your favorite flavor!