download excel in datatable with only defined fields
download excel in datatable with only defined fields
rrzavaleta
Posts: 78Questions: 52Answers: 2
in DataTables
"buttons": [
{
"extend": 'excel',
"text": 'Exportar a Excel',
"filename": fileName
}
how can I define the download fields of the excel file in datable.
since all the information in the table is currently downloaded regardless of whether the fields are visible
This discussion has been closed.
Answers
See if this example helps:
https://datatables.net/extensions/buttons/examples/html5/columns.html
Kevin
a few other threads here : linking them together: https://datatables.net/forums/discussion/52161/datatable#latest