Search
3538 results 51-60
Forum
- 11th Dec 2021Can I print text color & icons to PDF?I think the doc.content is only for the PDF export, not the print. This SO thread appears to be doing the trick - hopefully that'll get you going, Colin
- 29th Nov 2021Font color is not working on PDF print@colin my apologies, I wasn't sure if this qualified as a new question, since I'm only struggling with the font color on the PDF print, as I got the original question figured out (mostly).
- 21st Jul 2021How to print a bootstrap 4 page with embedded datatableThat's right, as when paging is enable, only the visible data is in the DOM, so the print command wouldn't have access to anything else. Colin
- 14th Jul 2021After selecting print the search box in inaccessible unless I click off the web browserone that triggered the print while it is in
- 8th Jul 2021Row Styling to Apply to Print View?For the print button (not pdf) we
- 17th Jun 2021Data Table Print Button100, "All"]], buttons: [ { extend: 'print', //autoPrint: false, text: 'Print
- 25th May 2021Print Display Header logo and column custumization.It is a normal instantiation buttons: [{ extend: 'print', customize: function (win) { $(win.document.body) .css('font-size', '10pt') .prepend( '<img src="http://datatables.net/media/images/logo-fade.png" style="position:absolute; top:0; left:0;" />' ); $(win.document.body).find('table') .addClass('compact') .css('font-size', 'inherit'); }, exportOptions: { columns: ':visible' } } ],
- 25th Feb 2021Print Subtotal Grouping Row to Excel or PdfThis is sample code = https://codepen.io/andhyakbar/pen/xxRpQrR But my problem is how to print the subtotal results from the table?
- 16th Nov 2020Print to secondary tableI have globally declared siteTable and used the function, but the print message is still: Parent table id: nota_tbl var siteTable; messageTop: function () { var id = $(siteTable.table().node()).attr('id'); return 'Parent table id: '+id; }, I have updated the changes in: http://javierlasen.es/easd2/login/admin_nota.php
- 9th Nov 2020Datatables print - Insert page break after/before table rowI'm with you now - thanks for the explanation. In that case, using the customize callback for the print button would be the way to do it. Loop over the generated table's rows, inserting the class where needed. Regards, Allan