I am attempting to load a different new JSON data set, after initialization, from a separate function. The response I am getting has the correct JSON. HOWEVER, I am having an issue figuring out how to get the new JSON to view in the grid.
I have studied the API dataModel.data and tried using:
//setter
$( ".selector" ).pqGrid( "option", "dataModel.data", newData );
I have also looked at the dataModel.getData but that doesn't seem to work either.
I know I must be missing something obvious. Is there an example you could point me to or advise me on what I should be looking at as a solution?