Datatable header visibility issue

Datatable header visibility issue

johns4johns4 Posts: 1Questions: 0Answers: 0

I am using datatables with a DOM rendered table. I want to hide the table on load, until datatables has to chance to do its thing, then show the table. After following what I found on this stackoverflow post, I can not get the table with the headers to show.

Here is an example of how my table is laid out. Link

Debugger ID

Whenever .show() is called, it will show the table. But the show() does not trickle down to the header. The header will still have a css display value of 'none'.The problem seems to be with setting the ScrollY option. Without the option, everything seems to be working as expected. Is the expected behavior or am I just not doing something properly?

This discussion has been closed.