Bug: Hiding Columns not working when responsive is enabled
Bug: Hiding Columns not working when responsive is enabled
Jamaur
Posts: 87Questions: 10Answers: 0
Only when responsive extension is enabled, where hiding columns is not working when using
columnDefs: [{ "visible": false, "targets": 0 }] or fnSetColumnVis function.
It only works with class name 'none' not even 'never'
I am using Datatables 1.10.2
Please help.
This discussion has been closed.
Replies
Datatables live link: http://live.datatables.net/wedikusa/1/edit
http://live.datatables.net/wedikusa/3/edit
You can use the class
never
with the very latest Responsive code (it has been added since the last release). The latest version of the code, with this feature, is available here.Allan
Thanks for the quick reply. That explains the class never, what about the columnDefs?
That is intentional behaviour. Have a read through this thread to see why.
Allan
I understand. Thanks. Still Check this out http://live.datatables.net/cikocuke/2/edit
The never class is showing the child row, I thought that was the job of the 'None' class.
...
It looks like this discussion has moved on to a different thread.
Allan