Is it possible to hide column names in Table Builder?
Hello,
I've used the Table Builder in a rather unusual way in my app - and it works great, but I wish I could completely hide the row where the column names are shown. I can't find an option to do this. I can try setting all the column labels to an empty string, but there's still a gray bar. If there is one I don't know of (or if that could be added in a future release), that would be fantastic.
Solution:Jump to solution
You can add split to it https://filamentphp.com/docs/3.x/tables/layout#allowing-columns-to-stack-on-mobile but you need to check if everything you already build works with this layout
3 Replies
If you want to do this, it should be hidden with css in a way that still allows the header to be read by a screen reader. Like the sr-only class in tailwind.
But you will have to do it with css.
Solution
You can add split to it https://filamentphp.com/docs/3.x/tables/layout#allowing-columns-to-stack-on-mobile but you need to check if everything you already build works with this layout
@Tieme Thank you, this is exactly what I was looking for.