Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82109

column resizing on hidden tabs broken again

$
0
0
A while back, if a dataTable was instantiated in an *inactive* jQueryUI tab, the column sizes would not be set when the tab was activated, leading to a dataTable with all the columns squished over on the left. Allen worked his magic and the issue went away.

In preparing for jQueryUI v1.11 as suggested in their upgrade guide (http://jqueryui.com/upgrade-guide/1.10/#preparing-for-jquery-ui-1-11), I discovered that the column resizing problem may recur. Here are the relevant parts of my devsite header which can reproduce the problem with any dataTable inside an inactive tab:

	<script type="text/javascript"
		src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

	<script>$.uiBackCompat = false;</script><!-- true or false has no effect on column sizing-->

	<script type="text/javascript"
		src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js"></script>
	<script type="text/javascript"
		src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"></script>

I've created a jsFiddle here: http://jsfiddle.net/jeBbL/2/ Any advice on how to fix the issue?

Viewing all articles
Browse latest Browse all 82109

Trending Articles



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