Data Table Column Filter Widget rendering
-
Hello
I recently purchased the Data Table Column Filter Widget, but I’m having difficulty getting the dropdown filter to work for just one column. It is also rendering very strangely. I don’t suppose you would know why? All the other TablePress plugins have fitted in well with our theme, except this one!
I’ve used the following shortcode to exclude all columns except column 2, which is the location. That is where we would like the filter.
[table id=1 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1,3,5,6,7 /]Here is the test page with the shortcode above. https://www.fireandsafetyaustralia.com.au/test-course-page/
Here is the page without the shortcode with the correct look and feel: https://www.fireandsafetyaustralia.com.au/public-course-dates/
I’m also having difficulty getting the dates to sort. I’ve downloaded the Data Tables Sorting plugin and I’ve started changing all the dates across to numerical format i.e., DD/MM/YYYY, but it doesn’t seem to make any difference. I then tried to insert the following code, as recommended in the documentation into the Custom Commands to force the data type:
“columnDefs”: [ { “type”: “formatted-num”, “targets”: [ 2 ] } ]Do you have any suggestions for both these problems?
Thank you and regards
Anne
- The topic ‘Data Table Column Filter Widget rendering’ is closed to new replies.