how to save information from data table button
how to save information from data table button

I am using data table to show my information from database.I want to save user information when a user save excel or csv or pdf from the table. I have written a function to save my user information. How can i save them when a button is clicked.How can i solve this problem?? TIA
I have uploaded my question in stack overflow.
https://stackoverflow.com/questions/29675271/how-to-save-information-from-data-table-button
This discussion has been closed.