Column headers not exported in Excel
Column headers not exported in Excel
Hello there!
Im using DT with both the extract to CSV option and the "hidden row details" API (http://www.datatables.net/release-datatables/examples/api/row_details.html & http://www.datatables.net/release-datatables/extras/TableTools/swf_path.html )
Every thing is working exept that headers inside details are not exported on the csv
in other ways , when i have in the "+" sections
"first details rows"
Column name A : TEST1
Column name B : TEST2
Column name C : TEST3
"second details rows"
Column name A : TEST4
Column name B : TEST5
Column name C : TEST6
the export looks like
(blank) (blank) (blank)
TEST1 TEST2 TEST3
TEST4 TEST5 TEST6
...
Any way to tell to the export function to take the names before aDATA like headers name ?
Im using DT with both the extract to CSV option and the "hidden row details" API (http://www.datatables.net/release-datatables/examples/api/row_details.html & http://www.datatables.net/release-datatables/extras/TableTools/swf_path.html )
Every thing is working exept that headers inside details are not exported on the csv
in other ways , when i have in the "+" sections
"first details rows"
Column name A : TEST1
Column name B : TEST2
Column name C : TEST3
"second details rows"
Column name A : TEST4
Column name B : TEST5
Column name C : TEST6
the export looks like
(blank) (blank) (blank)
TEST1 TEST2 TEST3
TEST4 TEST5 TEST6
...
Any way to tell to the export function to take the names before aDATA like headers name ?
This discussion has been closed.