Hide empty columns
Hide empty columns
Hi there,
I am pretty new to Datatables, so sorry in advance if this has been asked already - but the search function does not return a result I can work with.
I am generating a table using a server side script. The script returns a pretty big table. Only some of the columns are filled and they differ from result to result. Is there a way to hide empty columns (while the header is filled) after generating the table?
Dennis
I am pretty new to Datatables, so sorry in advance if this has been asked already - but the search function does not return a result I can work with.
I am generating a table using a server side script. The script returns a pretty big table. Only some of the columns are filled and they differ from result to result. Is there a way to hide empty columns (while the header is filled) after generating the table?
Dennis
This discussion has been closed.
Replies
Allan
I now just check if a column is empty using the serverside script and hid them with fnSetColumnVis. That works for me :-)
Dennis
Regards.