hiding the column but it must occupy its space
hiding the column but it must occupy its space
omerabbasi78
Posts: 17Questions: 7Answers: 1
hiding any column is easy as we can apply
visible: false;
this to hide it but it leaves the space for other columns. my requirement is that the hidden column must occupy its space and should be hidden. what are the options?
thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
so you don't want the column to be invisible, just the data in the column. I would probably approach that by putting the data in a span with a css class attached. Then apply that class by adding or removing a class at the tbody or table level.
Click the toggle button here http://live.datatables.net/fuvedeji/1/edit
Thanks a lot @bindrid. That did the trick for me.