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

fnClearTable adding style="display: table; width: 100px;" to table element

$
0
0
I am not sure why or how hard coded styling (style="display: table; width: 100px;") is getting applied to my table. Any ideas on how to get rid of this?

I at least want to get rid of the width property. Here is my code:

  var oTable = jQuery("#myTable" ).dataTable();
	        oTable.fnClearTable();

 jQuery( "#myTable").dataTable( {
	            "bFilter": false,
	            "bDestroy": true,
	            "sSortAsc": "header headerSortDown",
	            "sSortDesc": "header headerSortUp",
	            "sSortable": "header",
	            "sDom": "<'row-fluid'<'span6'p><'span3'fi><'span3'l>r> t<'row-fluid'<'span6'p><'span3'fi><'span3'l>>",
	            "sPaginationType": "bootstrap",
	            "aoColumns": [{ "bSortable": false },
			null,
			null,
			null,
			null,
			null,
			null,
			null]
	        } );

Thank you!

-Sarah

Viewing all articles
Browse latest Browse all 81999

Trending Articles



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