F
Filament5mo ago
Glebka

How to put all of the table columns to the horizontal start of the table?

Hello! In the first image, you can see how Filament builds the table, but I want it to behave like the second image. Is it possible to achieve this? I want to move the checkbox and columns to the start and place the actions column at the end. Can this be done globally? I would like to apply this change to every table in a project. Thanks!
No description
No description
3 Replies
toeknee
toeknee5mo ago
set a width on the column I think: ->extraHeaderAttributes(['style' => 'width:100px']) would work
Glebka
GlebkaOP5mo ago
thank you, but i cant set it globally? for example overwrite some class with a tailwind and set something like a w-fit or w-auto
toeknee
toeknee5mo ago
Yeah you could with custom css?

Did you find this page helpful?