Search
43675 results 6771-6780
Forum
- 16th Jun 2017how to add different colors to cells based on condition in exported table.Thank you !! <3 :D
- 14th Jun 2017Read ONLY Table Rows that are Currently VisibleUse the page option of the selector-modifier object. For example: let rows = table.rows( { page: 'current' } ); Allan
- 6th Jun 2017How would one incorporate tags into the results that are displayed in a table?after a lot of trial and error I figured it out. This message can be closed.
- 30th May 2017Data table PDF export with borderMaybe you can do something with an pdf export example I made a while back. You can view it on codepen. Good luck.
- 30th May 2017My Table loads the data very very slow.Please see the Q. DataTables is running slow. How can I speed it up? FAQ. Allan
- 29th May 2017UTF-8 encoding - impossible decode html table charactersThat would do it if the connection isn't set to be UTF8 by default. Thanks for posting back with your answer! Allan
- 24th May 2017Sum of table column according to the data that is in another columnmay be helpful https://datatables.net/examples/advanced_init/footer_callback.html
- 23rd May 2017Data table does not export values as they visible on data table list.Duplicate of this thread. Allan
- 15th May 2017Data Table Page numbers showing verticallyIts impossible to say for sure without a test case, but my guess is that you haven't loaded the DataTables stylesheet. Use the download builder to create a stylesheet for you. Allan
- 3rd May 2017Can you export a table and format a cell to use a formula using orthogonal data?Hi Kevin, Thanks for that link! I reviewed it and changing the code to: "render": function (data, type, row) { if (type === 'export') return '=3+' + 4; return "whatever"; } And the buttons options to: buttons: [ { extend: 'excel', exportOptions: { orthogonal: 'export', }, customize: function (xlsx) { var sheet = xlsx.xl.worksheets['sheet1.xml']; var col = $('col', sheet); $('row c[r^="H"]', sheet).each(function ( index, element) { if (index !== 0) { //change the type to `str` which is a formula $(this).attr('t', 'str'); //append the concat formula $(this).append('<f>' + $('is t', this).text() + '</f>'); //remove the inlineStr $('is', this).remove(); } }); } } ] You were right I needed to understand better the xml structure. Thanks!