Skip to content
Discussion options

You must be logged in to vote

Hey!

You can use headerAttribute for class or style to the column header and bodyAttribute for class or style to each table row in this column.

Column::make('USER', 'user_name')
    ->headerAttribute('text-center', 'color:red')
    ->bodyAttribute('text-center', 'color:red')

Hope this helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by matthewrichter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants