Skip to content

How to render JSON columns #856

Closed Answered by dgillier
faridsa asked this question in Q&A
Jul 25, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

You can use the format option like in :

           Column::make('Name", "data")
                ->format(fn($value, $row, $column) => json_decode($value)),

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@faridsa
Comment options

@dgillier
Comment options

Answer selected by faridsa
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