Sorting Columns Containing Ampersands
-
Hello Tobias,
I am experiencing challenges sorting columns in my table if the text in the cell contains a special character such as an ampersand.
For example, I have my tablepress filter set to allow the user to sort the table by selecting a drop-down item for Office Name.
https://paragon.pacmls.com/nrds-idx-user-and-office-codes/
Here’s is the short code I am using for the page:
[table id=1 datatables_tabletools=”true” datatables_columnfilterwidgets=”true” datatables_columnfilterwidgets_exclude_columns=”1,2,3,4,6,7,8″ /]
Column 5 is the “Office Name”
I can view any other office from the list, so long as there is no ampersand in the office name.
Is there a way to fix this (without changing & to “and”)?
Thanks,
Dave
- The topic ‘Sorting Columns Containing Ampersands’ is closed to new replies.