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?
The simple answer is no - there isn't way build in way of doing this. Having said that, there is no reason why the API can't be used to do this - all you could need to do is know if a column is empty or not (http://datatables.net/plug-ins/api#fnFilterOnReturn might help with that) and set the column visibility to hidden or not: http://datatables.net/api#fnSetColumnVis
Allan, I'm a bit confused, your link points to fnFilterOnReturn (although clicking it actually takes you to fnGetHiddenNodes), what does dealing with the return key have to do with seeing which columns have no data?