We have implemented dynamic data load in an HTML table. The next set of records are loaded using DWR and the HTML table is updated.
The trouble is when we click any link and go to other page, and then come back using browser's back button, the latest set of data is not shown.
For this Im trying to use the history framework - RSH. Using this I stored the data retrieved by DWR into on historyStorage object. On back button click, I retrieved this stored data and am trying to again call the callback function with this data.
Now, when I print this retrieved data, these are valid values, but when I send this to the callback function explicitly, the table getting painted has all <td> with 'undefined' as the value.
Additional alerts showed that the options.data is coming as 'undefined' but Im not sure why. Can anyone help?