dataTable screen width

dataTable screen width

brigosxbrigosx Posts: 12Questions: 3Answers: 1

Hi everybody, I would appreciate to know how can I adjust the width of the dataTable object to fit the available screen width? I've tried CSS with no luck and I was not able to find any appropriate dataTable property or method.

Answers

  • allanallan Posts: 61,744Questions: 1Answers: 10,111 Site admin

    width:100% in your CSS should do it. That will fill the width of the container.

    For anything more than that, we would need a link to a page showing the issue, as per the forum rules.

    Allan

  • brigosxbrigosx Posts: 12Questions: 3Answers: 1

    Thanks allan. Indeed the container had width of 98%.

This discussion has been closed.