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

Table Width Adjustment

$
0
0
I tried searching for this in this forum, but couldn't find any solution. Here's what I am looking for:

Is there a way for DataTables to adjust it's width based off number of columns dynamically without taking up entire space (width="100%") ? For example, if my DataTable has 2 columns, I expect table to have shorter width. Currently, it is taking up enite white space and making it one big table with two columns separated widely. I tried setting "bAutoWidth": false, but to no avail.

Basically, I expect DataTable to adjust dynamically based on numbers of columns without specifying any set width.

Thanks!

Viewing all articles
Browse latest Browse all 82264

Trending Articles



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