Column widths not working.

Column widths not working.

scdigitalscdigital Posts: 5Questions: 2Answers: 0

I have the simplest of examples running, and width is not working at all. I've tried every option that came up on google.

What's the correct way to implement a column width percentage?

Answers

  • scdigitalscdigital Posts: 5Questions: 2Answers: 0

    Looks like datatables doesn't like column widths when setting some columns visibility to false. That's odd...

  • allanallan Posts: 63,683Questions: 1Answers: 10,498 Site admin

    Seems to work just fine here: http://live.datatables.net/tunumexa/1/edit .

    The browser will collapse the width if there isn't enough space for it and everything else in the table (which can be seen in that example if you make the output frame narrow).

    If that doesn't work for you, please follow the forum rules and post a link to a test case showing the issue so we can help to resolve it.

    Allan

Sign In or Register to comment.