Build table on tab click (not on load)
Build table on tab click (not on load)
matthttam
Posts: 40Questions: 2Answers: 0
I know it was kind of asked here: http://www.datatables.net/forums/discussion/4290/dont-call-fndraw-on-initialization/p1
But has the functionality been added?
I have 3 tables that are being drawn in 3 different tabs. It would be nice to have the get requests not fire until the tabs are selected. That would trim an entire 900 ms off a page load.
Thanks!
Bil
PS: my tables are server-side using a php script to return the JSON object
But has the functionality been added?
I have 3 tables that are being drawn in 3 different tabs. It would be nice to have the get requests not fire until the tabs are selected. That would trim an entire 900 ms off a page load.
Thanks!
Bil
PS: my tables are server-side using a php script to return the JSON object
This discussion has been closed.
Replies
As an alternative solution I simply explained to the end-users how to refresh the tables as they needed and even set up an auto refresh on the main table they use alot. Now they hardly ever refresh the whole page so the delay is not noticeable.
Thanks anyways :-)
Bil