How can I display json data in a table #11140
Replies: 3 comments 2 replies
-
If you are using {
"symbol": "BTCUSDT",
"side": "long/short",
"price": "40000.00",
"lots": "1.00",
"notional": "40000.00",
"unpl": "1.00"
} without "[]" |
Beta Was this translation helpful? Give feedback.
-
could do a custom view saved in resources/views/filament/tables/columns/json.blade.php:
and call it in the filament page
|
Beta Was this translation helpful? Give feedback.
-
json value: display json data on table textcolumn:
|
Beta Was this translation helpful? Give feedback.
-
Package
Table builder
Package Version
v3
How can we help you?
Hi, there is a market_position field in the table. It stores json
[{"symbol":"BTCUSDT","side":"long/short","price":"40000.00","lots":"1.00","notional":"40000.00","unpl":"1.00"}]
How can I display symbol in the table?
`public function table(Table $table): Table
{
Beta Was this translation helpful? Give feedback.
All reactions