I'm trying to export html table using header output in php. I'm using jquery to hide the columns by checkbox event.
My jquery code to unhide and hide column is:
$('.col').css('display','table-cell');
$('.col').css('display','none');
When I export my html table with hidden columns, the hidden columns still appears. I want to hide those columns while exporting to excel using php header.
Thanks for your help in advance.