Line to toggle the visibility of columns not shown (Example: Show / hide columns dynamically)

Line to toggle the visibility of columns not shown (Example: Show / hide columns dynamically)

jcTomjcTom Posts: 2Questions: 1Answers: 0

I'm new to jQuery and Datatables at all. I set up some tests with my own data and code almoust successfully.
At least I wanted to add the 'Show / hide columns dynamically' feature as described in the examples section (https://datatables.net/examples/api/show_hide.html) without success. Just to check what's going wrong I reduced my own code step by step to come to an exact copy of the example at least. But it is still not working.

I set up a fiddle at https://jsfiddle.net/jcTom/h9rygqL6/2/ where it is not functional as well!

Could anyone please have a look at it and tell me what I'm doing wrong?

Kind Regards
Tom

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.