Getting scrollHeight once table is drawn

Getting scrollHeight once table is drawn

sbarnettsbarnett Posts: 23Questions: 5Answers: 0
edited October 2011 in DataTables 1.8
Hi,

I am trying to get hold of the scrollHeight of the body but AFTER the datatable has loaded.

If I print it's value out after the call to $('#table_id').dataTable()) it's value seems to still be the height of the body from BEFORE the table was loaded.

How do I ensure that my code waits until the table data is all there before I get the height?

Thanks,
Simon
This discussion has been closed.