Table width overflow control
I am using only the table builder with Laravel/Livewire, I am wanting to fit the table to the width of the page (so scale content down) as currently it overflows and forces a horizontal scroll bar. I'd rather not have to set the size manually for a max using the extaAttribute field if possible so its more dynamic as content changes over time.
5 Replies
use ->wrap() on TextColumn
https://filamentphp.com/docs/3.x/tables/columns/text#wrapping-content
I have that, but even so my table columns are showing too big, I'd like to fit it better so it doesn't overflow
Hmm I did just now try wrap header and set ->width(2%) etc, but it seems the same ?
Solution
I ended up fixing by putting it into a column group