Table Width Adjustment

Table Width Adjustment

rovers_boyrovers_boy Posts: 11Questions: 0Answers: 0
edited January 2013 in DataTables 1.9
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!

Replies

  • rovers_boyrovers_boy Posts: 11Questions: 0Answers: 0
    Can anyone please help me with this? Thanks in advance.
This discussion has been closed.