DT 1.10: Rendering datatable in hidden div results in misaligned columns

DT 1.10: Rendering datatable in hidden div results in misaligned columns

pclaarpclaar Posts: 8Questions: 4Answers: 0

I have a datatable that renders just fine here:

http://jsfiddle.net/pclaar/58vckhre/

but I'd like to render the table in a hidden div and then show it, so that there is less screen flickering during the page load.

So I made the enclosing div hidden and executed a jquery show method on the fnDrawCallback event. However, the resulting rendered table is out of whack...

http://jsfiddle.net/pclaar/th72nh12/

I know this question has been posted on the forums before, but all the solutions seem to revolve around deprecated API calls.

Thanks for any pointers anyone can provide.

Pete

Answers

This discussion has been closed.