Skip to content
Discussion options

You must be logged in to vote

I have managed to get it working with this code

Column::make('id')
      ->heading('Links')
      ->width(30)
      ->formatStateUsing(fn($state) => '=HYPERLINK("'.OrderResource::getUrl('view', [$state]).'", "Link")'),

However, I don't see why the original code I tried is not working.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@pxlrbt
Comment options

Answer selected by pxlrbt
Comment options

You must be logged in to vote
0 replies
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