How to set tooltip on table header?
I want to be able to set a tooltip on the table header.
Is there any way to achieve it for now? Or I might have to implement it by myself? Im trying to search if there is a way to do it. For now, havent found it.
The screenshot would be what i want to achieve.
11 Replies
i guess yeah
im trying to set it up but, what is
$this
on this context?
(i shared it as img so u see the red underline)
This is just how macros work.
$this
will get bound to the instance you access it on. So $this
is the TextColumn in that case. See the collection example from the laravel docsyeah i see its not crashing, just my code editor
but its not working, what im missing?
im just adding it in the boot method as u say and then
but i cannot see any toolitps when hovering
i also added the item to the safelist and ran npm run build
(btw thanks for the link to the docs, im reading them now)
Can you try putting
->abbr()
at the end as last method?ahhh i see, yeah makes sense, must be called after calling ->label()
it worksssss
thanks @dissto appreciate ur post on filamentglow and now ur further help here! π
also thanks leandro for pointing out the trick! π
@dissto not sure if u knew it (i guess yeah), but i share it to u:
if the ide struggles trying to understand the context of this, u can do this:
now it doesnt underline any error (:
u knew it?
yea its good, maybe I can edit my trick π€
cool (;