I cant set the width, because when I start the table I do not know how many columns will be added, and the information are VDA Standards, and the must be shown without a line break.
Here is what I tried that acutely returned something.
script type="text/javascript">
<!--
var w = window.innerWidth;
//returns window size
var w = document.body.scrollWidth;
//also returns window size
alert(w);
-->
</script>