Ajax datatables with pdf csv, excel, print & copy buttons
April 1, 2015 at 5:11 pmPosts: 9Member Reply #623
I am using metronic admin theme with material design. How can we have Ajax datatables with pdf csv, excel, print & copy buttons along with search as already available in metronicAdvanced Datatables
April 2, 2015 at 3:15 pmPosts: 4527Support Staff Reply #631
Thanks for asking this example. Please find the attached HTML and JS files where ajax datatables is implemented with tabletools extension. We will include this sample in the next update so our users can use it if needed.
Attachments:You must be logged in to view attached files.
April 7, 2015 at 5:47 pmPosts: 9Member Reply #680
I asked this question:
<span style=”color: #555555; font-family: Hind, ‘Helvetica Neue’, Helvetica, sans-serif; line-height: 28px;”>I am using metronic admin theme with material design. How can we have Ajax datatables with pdf csv, excel, print & copy buttons along with search as already available in metronicAdvanced Datatables</span>
The files that were given here doesnt have the required functionalities. I just kept the files in my orginal root folder. Am I missing anything or the files are not incorrect
April 8, 2015 at 5:30 pmPosts: 4527Support Staff Reply #684
The provided code is based on ajax datatables from http://www.keenthemes.com/preview/metronic/theme/templates/admin/table_ajax.html.
We have slightly extended the already implemented datatable and integrated the tabletools above the datatable.
If it does not have your required functionality please provide us more details(screenshot, reference URL, etc) so we can advise you further. Please note our support does not cover after sale customizations but we will do our best to point you out.
April 9, 2015 at 3:19 amPosts: 9Member Reply #718
Thats ok mate. I am trying to say that extended tabletools are not visible in the files provided by you. I have just used two files given by you. So am I missing something to add in the files. Do I need to add some code or plugin or do I need to use them as is.
April 9, 2015 at 4:45 pmPosts: 4527Support Staff Reply #729
The provided files were tested properly and they should work fine if you put/replace them in the templates folder. You can follow below steps:
1) Rename table-ajax.js to table-ajax-demo.js and put it under “assets/admin/pages/scripts” folder.
2) Rename table_ajax.html to table_ajax_demo.html and put it under “templates/admin/” folder
3) In able_ajax_demo.html go to the bottom and rename table-ajax.js to table-ajax-demo.js.
Please follow the above steps and let us know the result.
April 11, 2015 at 3:40 amPosts: 9Member Reply #752
yes worked well thanks
April 11, 2015 at 4:48 amPosts: 4527Support Staff Reply #753
Great! You are welcome 🙂
Thanks for using Metronic!
July 18, 2016 at 8:45 amPosts: 5Member Reply #7163
I’m using Ajax datatable.
It works fine, But I want to export Data Table to PDF file.
I’ve include “table-ajax.js” in my project but nothing happens, And I have also tried “table_ajax.html” file from theme.
I also tried replay “Reply #729” but nothing changed.
“table_ajax.html” File display options for export to various files but it doesn’t work.
Can you please tell me how can i do this?
July 18, 2016 at 3:27 pmPosts: 4527Support Staff Reply #7170
As we replied to your previous comment we will need to check your page in order to advise you further. Please try to check your browser console for any JS errors and if you need any further help please provide us a test link to your developing site in a private reply.
You must be logged in to reply to this topic.