Console.log() MAPPED data after mapping in Editor (CSV Import)
Console.log() MAPPED data after mapping in Editor (CSV Import)

I'm trying to view the data that I have mapped in Datatable Editor (csv import)
as json object.
Can you please help?
This discussion has been closed.
Answers
very similar question to this https://datatables.net/forums/discussion/27937/how-to-access-data-on-presubmit
I don't quite follow, but you can use
postSubmit
orsubmitComplete
- the data sent to and from the server is contained in the parameter lists.Colin
Hi Colin,
Thanks for your message!
I'm using the csv import and now I want to store data (to a variable) right after it is mapped before it is submitted.
my hope is to store a json object to a variable after mapping the csv file import
If you look at the code around line 36 in this example, that's where it's getting the data - so you could gather it there too.
Colin
Hi Collin,
I did! but thought there could be another way because var field and var mapped returned data that weren't in the format i wanted..
I guess i'll have to work with those two variables to build a json object
Thanks again for your help Collin!