How to export data table

I have a datatable and the data is getting from mysql. I tried to export data from table in CSV format but it is not working properly. I couldn’t find any proper export docs in Wappler channel.

I have attached the screenshot given below:

Community Page
Last updated: