DataTables Responsive - Special class logic 'never' not working as expected.
DataTables Responsive - Special class logic 'never' not working as expected.
Morning,
I am using the DataTables Responsive extension and I am trying to always hide a specific column. According to the documentation https://datatables.net/extensions/responsive/classes I can use the special class 'never' to achieve this (Column will never be visible, regardless of the browser width and the data will not be shown in a child row). However, when I try this it behaves exactly like 'none' i.e. Column will never be visible, regardless of the browser width, but the data will be shown in a child row.
Anyone else seeing this?
This question has accepted answers - jump to:
Answers
Seems to work okay for me: http://live.datatables.net/niwajato/1/edit .
Can you link to a test case showing the issue, as per the forum rules, please.
Allan
Sorry, just realised my mistake. I am using the custom child row renderer example https://datatables.net/extensions/responsive/examples/child-rows/custom-renderer.html. Just realised I need to take account of the 'never' class in the renderer function.
Thank you for your help.
This can now be closed.