Quantcast
Viewing all articles
Browse latest Browse all 82127

How to redraw header without pulling ajax source again?

HI,

I'm using dataTables with Jquery UI Tabs. The problem I have is my table is set as display:none initially by UI tab, so dataTables will not be able to calculate column width. I try to setup fnAdjustColumnSizing or fndraw on tab click event, they both works, but they both initiate an extra ajax call to request data from server side which isn't necessary in my case, fnAdjustColumnSizing even duplicate the data in my table.

Is there a way to redraw table header(recalculate column width) without requesting data from ajax source again?

Thanks.

Viewing all articles
Browse latest Browse all 82127

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>