How can I download the results of a data table as CSV using Canvas?
Welcome.
I don't think you can do that in Canvas.
Canvas is designed to be a presentation layer. Why do you need something like this in canvas ?
The ability to use ESSQL offers more flexibility of the table content, and this combined with the overall layout flexibility of Canvas made this great for e.g. a report overview whilst offering downloads when the tables become paginated.