[Plugin: WP-Table Reloaded] Hiding columns in sortable tables
-
Hi,
I’m using the filter extension to filter a table to show only Windows products, based on the product type being listed in the fourth column. Here is my shortcode;
[table id=2 show_columns="1,2,3" hide_columns="4" alternating_row_colors=false print_description=false first_row_th=true filter="Windows" use_tablesorter=true /]
Unfortunately, the use of
hide_columns
seems to be invalidatinguse_tablesorter
. If I am hiding any column, the ones that are shown are not sortable; as soon as I remove thehide_columns
parameter, tablesorting becomes enabled. The same holds true if I use the “aaSorting” custom command. Removing the filter command has no effect.I have “Yes, enable the use of a JavaScript library” enabled and set to DataTables, and “Yes, enable sorting of table data by the visitor.” enabled. I also checked my page’s source code and confirmed that the footer is loading
/wp-content/plugins/wp-table-reloaded/js/jquery.datatables.min.js?ver=1.8
.Any idea what could cause hiding a column to disable this feature?
-Ken
- The topic ‘[Plugin: WP-Table Reloaded] Hiding columns in sortable tables’ is closed to new replies.