How to hide columns in datatable and make colspan for une input?
How to hide columns in datatable and make colspan for une input?
![Mizz](https://secure.gravatar.com/avatar/d8e31516c2f42ed860f09926f59f0668/?default=https%3A%2F%2Fvanillicon.com%2Fd8e31516c2f42ed860f09926f59f0668_200.png&rating=g&size=120)
I have a problem with datatable, because i want to hide some columns and make colspan with on other column. Can anyone help me?
The code is :
The empty columns '' are the ones i want to hide. The 3rd column i want to do colspan.
This question has accepted answers - jump to:
This discussion has been closed.
Answers
Use columns.visible to hide or show columns.
https://datatables.net/reference/option/columns.visible
DataTables does not support the use of colspan in a table body.
And please do not make duplicate posts.
It seems this has been raised twice, here's the other thread.