How to Update Table's Height which has fixedColumns in it?
How to Update Table's Height which has fixedColumns in it?
Hi everyone,
I have a DataTable that has two fixed columns in it (first and last columns).
Here is the demo: http://live.datatables.net/pokopiju/48
In my situation, every time user changes the screen orientation, the logic will redraw the table, and via 'draw.dt' event, it will update the height of the table.
it needs time in calculating the new height. Unfortunately, because of this delay, I assume the other fixed columns can't follow the height of the main '.dataTables_scrollBody'. Therefore, the height of the other fixed columns are broken.
In the demo, I tried to illustrate the delay calculation by giving 1 second delay before it updates the '.dataTables_scrollBody' height.
Do you have any clue to fix this issue?
Thank you in advance.