epitomised
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Sorting functionalityHey Tobias,
No worries, I’m still working on this 🙂
That code doesn’t work; I found this thread which probably covers the reason: https://datatables.net/forums/discussion/35490/export-pdf-dont-print-hidden-elements
I’m still trying to find a solution. I thought I might have cracked it by using this code: buttons.exportData: [ { “columns”: “visible” } ] but that doesn’t work either.
I also have a new, somewhat bizarre, problem. I have added datatables_fixedheader=top functionality – but it doesn’t work UNLESS I ‘inspect element’ which kicks it into action.
Also something else that has come up – I have made certain columns sortable by ascending order only (using sorting sequence in custom commands) otherwise it messes up certain rows for me because of the format of my table – but this means I lose the sortable icon in the header to show that it is sortable (ie. it still sorts just the triangles aren’t there). Is there any way around this?
Any help on these matters much appreciated!
- This reply was modified 8 years, 10 months ago by epitomised.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Sorting functionality^That worked a treat, tyvm
Tobias – is there a way to hide the hidden columns from print/pdf etc?
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Sorting functionalityThanks for the reply. I’m hiding the columns using this coding: “columnDefs”: [ { “visible”: false, “targets”: [ 0 ] }, { “orderData”: [ 0 ], “targets”: [ 1 ] }