DataTables / TableTools

Please note that TableTools has now been retired and replaced by the Buttons and Select extensions which offers significant improvements and API integration with the rest of DataTables and the other extensions.
http://datatables.net/
Other
237 stars 149 forks source link

fix header rendering when exporting csv with multiple header rows #103

Open wxiang7 opened 9 years ago

wxiang7 commented 9 years ago

fix header rendering when exporting csv with multiple header rows (#80)

referenced: https://datatables.net/forums/discussion/22592/export-multiple-row-headers

DataTables commented 9 years ago

Thanks for the PR! I'm actually in the process of replacing TableTools, so I'm not sure if this change will make it into a production release. However, I'll review it properly when I get a little bit of time after the work I'm currently doing.

Ladel commented 8 years ago

Hi,

Maybe use dt.aoHeader instead dt.nTHead?

 dt.aoHeader[rowIdx][colIdx].cell.innerText 

Best regards,

madpin commented 7 years ago

Hello,

Hist Issue is corrected? How I export 2 headers lines?

Tkx,