spock

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • spock
    Participant

    Ok I figured out a workaround instead of exporting and importing. I'm using JQGridState

    spock
    Participant

    I'm making progress. I ended up going through grid.import.js to see what jqGridImport was doing. My thought is you feed in a json string which was generated from jqGridExport and then it should just work. Well my “ReferenceError: Can't find variable “grid” ” error was due to the json string not having a grid root ” {“grid”: ” after going through the functions. I ended up using the “json” variable ( json = $.jgrid.parse(jsonstr); ) from the JsonConvert var/function and changed my import command be “$($t).jqGrid( json );” instead of “$($t).jqGrid( gprm );”

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

Stay connected with us in your favorite flavor!