Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82314

Hide a column

$
0
0

Hello,
I'm trying to hide the first column of my datatable. I don't need to display that information in that column but I need to consult for certain functions with javascript. My trouble is when I use the attribute:
"columnDefs": [ { "targets": [ 0 ], "visible": false }
the column also remove of HTML DOM and I don't want that.
I already tried hidding with CSS but it's not working.
I would be really grateful if someone help me with this, please!


Viewing all articles
Browse latest Browse all 82314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>