Conversion of databe data to pdf

Conversion of table data to a downloadable link that generate pdf

This extension should help you in generation the pdf, then the download is just a question of few line of code.

Otherwise you can use this extension together with

which show the data and give the possibility to export in several format

Forgot to mention the "man in the middle"

Practically the grid use yii2-export which use yii2-mpdf to generate the pdf

If you want to use the the export directly without the grid here it is.