how can i send as attached the output of the render..?
i mean, i want that the result of the GC render, the html with the rederized data, will be a file that user can download event see inside the bfrowser!
⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠
Posted 28 April 2017 - 19:42 PM
how can i send as attached the output of the render..?
i mean, i want that the result of the GC render, the html with the rederized data, will be a file that user can download event see inside the bfrowser!
Posted 02 May 2017 - 01:11 AM
So you want the HTML and the table to be a downloadable file? The datatable also has an export feature in the front end.
But generally, to send the $output from render() as a downloadable file, you need to change the header Content-type, maybe use text/plain