Export data from data table


I am building an app that store record in a data table(data entry).

What I am interested in is giving access to the admin of this app the ability to download in excel/csv all the records from data table(the opposite of importing excel tutorial to data table) with a button. I can’t find anything similar in the forum.

Thank you

There is a method for that: Anvil Docs | Using Data Tables from Python