postSubmit - Is it possible to update the json array with contents from the data object
postSubmit - Is it possible to update the json array with contents from the data object
Description of problem:
The problem is certain symbols are displaying incorrectly within my datatable.
I've used postSubmit to view the returned ajax request data and I can see the symbols are correct within the 'data' object but they are incorrect within the 'json' array (which I understand is used to update the actual datatable).
So, I was hoping to intercept the update by using the postSubmit event and simply copy the correct data from the data object into the json array before it is passed to the datatable, is this possible? And if so, how might I go about achieving this?
Thanks, Chris
ps. Apologies for the all the questions recently
Answers
My postSubmit code:
Please ignore this as my issue is now solved, thanks