Separate (Column Rendered) Columns on Excel Export
Separate (Column Rendered) Columns on Excel Export
![patrickny](https://secure.gravatar.com/avatar/b82a0f98dd5b9472810974223bf6cdde/?default=https%3A%2F%2Fvanillicon.com%2Fb82a0f98dd5b9472810974223bf6cdde_200.png&rating=g&size=120)
I am currently combining two columns using the Column Rendering Feature
{ "render": function ( data, type, row ) {
return data +'<br>'+ row[18];
},
"targets": 0
},
However, on the Excel Export, it is exporting the Rendered view. Is there a way on the Excel Export - to NOT display the Combined Rendered column?
buttons: [ {
extend: 'excel',
title:'',
exportOptions: {columns: [ 0, 1, 2, 5 ],}
}, 'print',]
This discussion has been closed.
Answers
Here's an example: http://live.datatables.net/guzasike/1/edit
Although, I can't get the Excel button to show up ..
Here, I combined the AGE and the NAME column, .. and I made the Age column hidden. However, how do I export the NAME column with Just the Name in it, and not the age?
Got it!
http://live.datatables.net/tolezupe/2/edit