Set a column's min-width instead of width?
Set a column's min-width instead of width?
mesqueeb
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
This discussion has been closed.
Answers
Not built in I'm afraid. You'd need to modify the library slightly to use min-width rather than width.
Allan
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.
I don't currently have any plans to, but I will consider it in future revisions.
Allan