how to remove unnecessary divs in while exporting to excel file??

how to remove unnecessary divs in while exporting to excel file??

vivekchovivekcho Posts: 5Questions: 3Answers: 0

Currently i m using table tools which is really awesome, but the problem is i couldn't find out how to remove unnecessary divs while exporting to excel file from datatable?? i have done the same with print.. code for doing this in the print feature is

"sExtends": "print",
"sMessage": "Opening Enlistment Contract",
"fnComplete": function(){
$('#editDocModal').remove()
$('#editProcurementModal').remove()
$('#editContractModal').remove()
$('.addDiv').hide()
t.fnSetColumnVis([7,8], false );

but i m unable doing this on while exporting to excel.

Answers

This discussion has been closed.