F
Filament4d ago
o.m

How do I add a custom label inside the header of table?

I want this to show up on the tables header how do I do this? 44 people (44 active, 0 inactive)
No description
4 Replies
toeknee
toeknee4d ago
Why not just add page tabs? The tabs can query and you have the query count as the badge count?
LeandroFerreira
check TablesRenderHook
FilamentView::registerRenderHook(
TablesRenderHook::TOOLBAR_START, fn () => 'xxx'
);
FilamentView::registerRenderHook(
TablesRenderHook::TOOLBAR_START, fn () => 'xxx'
);
o.m
o.mOP4d ago
Thank you so much that was quite hard to find on the docs Why is the docs so hard to read, the devs always assume you know what method to use
LeandroFerreira
feel free to submit prs and enhance docs 🤷‍♂️ https://discord.com/channels/883083792112300104/1344628186176028692

Did you find this page helpful?