download excel in datatable with only defined fields
download excel in datatable with only defined fields
Hi, I have a problem when clicking on responsive tables.
I usually use
"buttons": [
{
"extend": 'excel',
"text": 'Exportar a Excel',
"filename": fileName
}
I usually use the following event to click on buttons that are within datatable.
But when the table becomes responsive and the button is below the main line and it is no longer possible to run the previous event.
How can I execute that button when it is in resposive?
Answers
Hi @rrzavaleta ,
I'm sorry, but I don't understand the problem. As in this example here (a different button but that shouldn't affect it), when it is clicked, whatever the responsive state, it still responds.
Would you be able to demonstrate the problem by modifying that example, or linking to your page, please?
Cheers,
Colin
a few other threads here : linking them together: https://datatables.net/forums/discussion/52161/datatable#latest