Search
3537 results 651-660
Forum
- 8th May 2016how to edit columns text-align print pdfHtml5buttons: [ 'copy', 'csv', 'excel', { extend: 'pdfHtml5', title: 'Top 10 Album CDH', customize: function (doc) { doc.content[1].table.widths = [ '*', '*', '*'], doc.content[1].table.body = {alignment:'center'} }, download: 'open' } this my function button pdf, i have 2 column number but align on left, i want change to right
- 28th Oct 2015Improper alignment in print option of datatableIn print..the tr an td are not aligned properly
- 23rd Sep 2015Buttons: Print selected rows example does not workThis sample code here for printing selected rows does not work, please fix it. https://datatables.net/extensions/buttons/examples/print/select.html
- 25th May 2015i can call json string with ajax and i can't print in Datatablesjson string with key value pair... it is in the format of [ { "emp" : "kib" },{"emp" : "sun" } ] $(document).ready(function() { $.ajax({ url : 'TableData',// servlet URL type : "POST", dataType : 'json', success : function(data) { data.bDestroy = true; $('#example').dataTable(data); }, }); });
- 2nd Jan 2015Not able to add copy, print button in the tableHello, I am not able to add the copy,print button. my code is below $('#sample').dataTable({ 'paging': true, // Table pagination 'ordering': true, // Column ordering 'info': true, // Bottom left status text // Text translation options // Note the required keywords between underscores (e.g MENU) oLanguage: { // sSearch: 'Search all columns:', sLengthMenu: '_MENU_ records per page', info: 'Showing page _PAGE_ of _PAGES_', zeroRecords: 'Nothing found - sorry', infoEmpty: 'No records available', infoFiltered: '(filtered from _MAX_ total records)', dom: 'T<"clear">lfrtip', tableTools: { "sSwfPath": "/swf/copy_csv_xls_pdf.swf" } }, }); Please correct it i have done any mistake
- 13th Aug 2014Print button works, Export to Excel and Copy Button Doesn't Work(Chrome OK, Internet Explorer Fails)Hi, i have an interesting issue. I googled but no solution. Can you help me please? İ am using datatables to show data with opening popup. Popup comes with a new page. When i try to click Excel and copy button, there is no any answer. But when i click a button(not datatable button) to refresh page i can export Excel etc. So i mean when i refresh the page, button works with IE. Chrome works very well as usual! What is the problem? Thank you so much.
- 4th May 2014How do i exclude the last column from being print ?hi, i have searched everywhere to solve this problem, if someone could help me it would be awesome, thank you all in advance
- 12th Sep 2013problem with print-preview and printany ideas why the doesn't have the same layout on the second and third site like on first page?? i made some screenshots.. on page 1 everything is fine! on the second and third site/page i got no border on top and the background has moved. Page 1: http://imageshack.us/a/img96/4369/zqah.jpg Page 2: http://imageshack.us/a/img849/8276/yrrl.jpg Page 3: http://imageshack.us/a/img835/3297/k568.jpg can you tell me the name of class you are using in your script? its hard to change this css because i can't edit the print-preview with firebug. maybe it is possible to repeat the thead every 10 lines.. !?
- 27th Apr 2013copy csv excel pdf printcan i have Edit Add & Delete buttons table along side "sSwfPath swf/copy_csv_xls_pdf.swf" buttons if so how ?? I have tried all way to mix and match nothing seems to work !! i.e "oTableTools": { "sRowSelect": "multi", "aButtons": [ { "sExtends": "editor_create", "editor": editor }, { "sExtends": "editor_edit", "editor": editor }, { "sExtends": "editor_remove", "editor": editor } "sRowSelect": "multi", "sSwfPath": "/stats/extras/TableTools/media/swf/copy_csv_xls_pdf.swf" } but it wont work please help. pete
- 6th Feb 2011Print working everything else isn't - TableToolsI am banging my head here, I have got a folder called "Swf" with "ZeroClipboard.swf" but it still doesnt seem to want to work, when I check my log in Chrome it says 404 error /media/swf/ZeroClipboard.swf Example of my Data Table code ... // Data Table $('#data_table').dataTable({ "sDom": 'T<"clear">lfrtip', "oTableTools": { "sSwfPath": "/swf/ZeroClipboard.swf" }, "bAutoWidth": false, "bStateSave": true }); please someone let me know what I am doing wrong!