Export to CSV, Excel and PDF method

I want to export my data on click of a custom button in csv/pdf format. Which method is used for fetching the desired format

EDIT
My data is in html and in datatable

you should wirte python script using openpyexcel for xlsx format and for pdf you need to design html template
do ping further help :smile:

Yup that was the only working way i found. Had to create an API for that using Python.

Thanks btw :+1: