Column filter size
Column filter size

Any way to control the column size when doing the individual column filters?
For example, the Age column in the example could probably be half the size:
https://datatables.net/extensions/fixedheader/examples/options/columnFiltering
I've added a custom class to mine, but it gets overridden with an actual width in pixels.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
That is ugly - thanks for posting that out. Use
thead input { width: 100% }
to resolve that.Allan
Actually, @allan, upon further investigation I think the widths of the inputs are already at 100% by default.
The
<th>
width is somehow being set to a specific pixels width for the first row (the actual header row), not the input row.That's where I was getting hung up before.