Hi,
I’m testing jqxgrid whereby I use HTML FileReader to read and load a json file into the grid. The grid is set up to use ‘localdata’ which is kept in a variable once the data is read from the file.
What is the recommended way to reload the grid with the new data after the user selects another file. I understand the approach may be the same regardless of where the data comes from, but I want to make sure I’m not recreating the grid when I reload.
I tried to use the following but it doesn’t to work as expected as the grid is not updated nor refreshed.
// gridSource defined once
gridSource.localdata = myFileContent;
$("#jqxgrid").jqxGrid('updatebounddata', 'cells');
Any direct assistance or links would be appreciated!
Rob