Set a column's min-width instead of width?

Set a column's min-width instead of width?

mesqueebmesqueeb Posts: 38Questions: 12Answers: 1

Any way to set min-width instead of width?
https://datatables.net/reference/option/columns.width

This question has an accepted answers - jump to answer

Answers

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

    Not built in I'm afraid. You'd need to modify the library slightly to use min-width rather than width.

    Allan

  • mesqueebmesqueeb Posts: 38Questions: 12Answers: 1

    Will you come out with this functionality in the future?

    I'd love to min-width all my columns, but let them grow bigger equally when there's more space.

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

    I don't currently have any plans to, but I will consider it in future revisions.

    Allan

This discussion has been closed.