Move excel button functionality to another button
Move excel button functionality to another button
Jeff23
Posts: 8Questions: 3Answers: 0
Hello, I have a qustion regarding the buttons (Excel, Colvis).
1) Is it possible to move the functionality of the Excel button to another button,i.e, can I call a function from my other button that export the table to excel?
- For smal screen resolution, is it poissible to not display Excel/Colvis buttons?
//Jeff
This discussion has been closed.
Answers
Like you can do with the search, but with the excel button intead.
table.search($('#mySearchText').val()).draw();
Yes - see the last example on this page.
Allan
Hello Alan, I do not fully understand how to do it. Can you give me a smal example?
In that example Allan pointed you to, you need to call the Excel's action function (which it does in that example) in the action function for another button.
Colin