Also, is there a way to add/remove data from the file that is created when Export As CSV is executed. I have noticed that extra lines are in the exported file that need to be removed and I would like to add a line of text to the end of the file like perhaps... "EOF"
I realize I can write PHP code to do this but if you have something already built in to do this please let me know so I don't have to recreate the wheel.
As long as you have TableToolsInit.bIncFooter == true (which it is by default) then the footer should be included no problem - and in a quick test it appears to be okay for me. Perhaps you can post a link to an example showing the issue?
Also - there isn't an API way to modify the text that TableTables saves to the file, but if you look for the function 'fnGetDataTablesData' in the JS file - at the end you can just modify the string that is returned to match what you want. Good idea to add a callback for this in future...
Replies
I realize I can write PHP code to do this but if you have something already built in to do this please let me know so I don't have to recreate the wheel.
Also - there isn't an API way to modify the text that TableTables saves to the file, but if you look for the function 'fnGetDataTablesData' in the JS file - at the end you can just modify the string that is returned to match what you want. Good idea to add a callback for this in future...
Allan
It would be a real nice feature to to be able to manipulate the Export to CSV output through the API