In your example here: https://www.koolreport.com/examples/reports/export/sakila_rental/index.php you have a button to export to pdf. In your code example here: https://www.koolreport.com/packages/export I do not see where such a button is set up.
How would I go about triggering the pdf download to browser via a button click (via a button of my choice)?