How to get PDF of table and share it on mail?

I have a table from that I need to send a mail for particular row when I click on mail icon in that row with details of the columns in PDF format. how can I achieve that?

The supported way is to use the reporting module.


but I want pdf created for a single row how can do that using report?

You'll need to make a report with a table on it in the same structure as your table data. Then script an action to pass your selected row data into that report and email it.