jQuery datatables export to pdf

kudvenkat
kudvenkat
99.2 هزار بار بازدید - 9 سال پیش - Link for all dot net
Link for all dot net and sql server video tutorial playlists
https://www.youtube.com/user/kudvenka...

Link for slides, code samples and text version of the video
http://csharp-video-tutorials.blogspo...

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.
@aarvikitchen5572

In this video we will discuss
1. How to export jQuery datatables data to excel, PDF, CSV
2. How to copy jQuery datatables data to Clipboard
3. How to see print view

To be able to export data, copy to clipborad or print you should use TableTools plugin for DataTables.

Grab the TableTools plugin CSS and JavaScript CDN links from the following URL
https://www.datatables.net/download/i...

In addition to the CSS and JavaScript files you also need TableTools Flash SWF file. You can get the TableTools Flash SWF file CDN link from the following URL. You will find 2 different SWF files. The only difference between them is that one of them provides the ability to save PDF files while the other doesn't. The trade off is that the PDF capable file is significantly larger in size (56K v 2K).
https://cdn.datatables.net/tabletools/

JavaScript References required on the page
JQuery, DataTables, TableTools

CSS References required on the page
DataTables, TableTools

You also need to set the sSwfPath TableTools option, if you aren't using the same directory structure as the TableTools package.

Table Tools Button options documentation
https://www.datatables.net/extensions...
9 سال پیش در تاریخ 1394/05/19 منتشر شده است.
99,247 بـار بازدید شده
... بیشتر