DataTables Buttons and #colspan# issue
-
Hi,
at least in my case there seems to be an issue with the “TablePress Extension: DataTables Buttons” and #colspan#. (haven’t checked #rowspan#)
The extension does not work in various instances with #colspan#.
As for the header and footer it is only not working when placing a in a cell of the last column
- #colspan# in last column cell of the header AND footer: Extension NOT Working
- #colspan# in last column cell of the footer: Extension Working (with #colspan# in second last cell of the header)
- #colspan# in last column cell of the header: Extension NOT Working (with #colspan# in second last cell of the footer)
As for regular rows and cells it does’t matter where I place the #colspan#. The extension doesn’t work.
I’m not sure if this is a bug or related to my installation (WP 4.9.8, latest versions of TablePress and DataTables Buttons extension, https://kmeducationhub.de). At least there seems to be no Plugin conflict.
Following the shortcode report of a table
array ( 'id' => '1', 'column_widths' => '', 'alternating_row_colors' => true, 'row_hover' => true, 'table_head' => true, 'table_foot' => true, 'first_column_th' => false, 'print_name' => false, 'print_name_position' => 'above', 'print_description' => false, 'print_description_position' => 'above', 'cache_table_output' => true, 'convert_line_breaks' => true, 'extra_css_classes' => 'factsheet', 'use_datatables' => true, 'datatables_sort' => false, 'datatables_paginate' => false, 'datatables_paginate_entries' => 10, 'datatables_lengthchange' => false, 'datatables_filter' => false, 'datatables_info' => false, 'datatables_scrollx' => false, 'datatables_scrolly' => false, 'datatables_custom_commands' => '', 'datatables_locale' => 'en_US', 'show_rows' => '', 'show_columns' => '', 'hide_rows' => '', 'hide_columns' => '', 'cellspacing' => false, 'cellpadding' => false, 'border' => false, 'shortcode_debug' => true, 'datatables_buttons' => 'pdf,print', 'datatables_buttons_technique' => 'flash,html5', 'html_id' => 'tablepress-1', 'edit_table_url' => 'https://kmeducationhub.de/wp-admin/admin.php?page=tablepress&action=edit&table_id=1', )
Btw. it would be useful to to tell the useres to check at least “Use DataTables” to make the extension work in the “manual”. (https://tablepress.org/extensions/datatables-buttons/)
Finally, I would be interested to know if there is a way to place the extension buttons below the table.
Sunny regards from South-western Germany,
Boris
- The topic ‘DataTables Buttons and #colspan# issue’ is closed to new replies.