I'm using the headers search box but when export in excel no headers
I'm using the headers search box but when export in excel no headers
rafaelrmontes
Posts: 16Questions: 3Answers: 0
Hi,
I'm using the option to search by column, but when I use this choice, and I use the export to Excel, the excel file comes out with empty headers, does anyone know how to bring the headers having the column search enabled?
This question has an accepted answers - jump to answer
Answers
Sounds like you might need to set
orderCellsTop
. This defines where the order click events are assigned but I think it also controls which header is exported.Kevin
I tried already as orderCellsTop: true, but still not picking up the headers name
This example works:
http://live.datatables.net/giharaka/1357/edit
Please provide a link to your page or a test case showing the issues so we can help debug. Feel free to update my example to show the problem.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin