F
Filamentβ€’3mo ago
Sourabh

Tooltip on table column header

How to set the tooltip on the column header?. instead of each row ?
<?php
Tables\Columns\TextColumn::make('magento_price')
->label('Price')
->tooltip('Price at magento site')
->sortable()
->searchable()
?>
<?php
Tables\Columns\TextColumn::make('magento_price')
->label('Price')
->tooltip('Price at magento site')
->sortable()
->searchable()
?>
No description
3 Replies
DomThomas
DomThomasβ€’3mo ago
it's not very clean, but like this ?
Tables\Columns\TextColumn::make('name')
->label(new HtmlString("<abbr title='Price at magento site'>Price</abbr>"))
->tooltip('Price at magento site')
->sortable()
->searchable(),
Tables\Columns\TextColumn::make('name')
->label(new HtmlString("<abbr title='Price at magento site'>Price</abbr>"))
->tooltip('Price at magento site')
->sortable()
->searchable(),
tooltip is for the row
Sourabh
Sourabhβ€’3mo ago
Thank you for your help πŸ‘
Want results from more Discord servers?
Add your server
More Posts