Hide column with HTML5 data attributes
Hide column with HTML5 data attributes
Kevin Lee
Posts: 2Questions: 1Answers: 0
Hello,
Is it possible to use a HTML5 data attribute to hide a column? Perhaps something like this:
<thead>
<tr>
<th data-hide="true">Hide me!</th>
</tr>
</thead>
Thanks.
Regards.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes, you can use the
columns
options via HTML5 attributes as described in the documentation here.columns.visible
is the one you want.Allan
Ok got it.
Thank you, Allan!