How to create custom column for display widget in table?

I want to display widget in table
9 Replies
awcodes
awcodes6d ago
What? Tables don’t have widgets.
toeknee
toeknee6d ago
You can render the widget in a table by rendering the livewire class. as per: https://filamentphp.com/docs/3.x/widgets/adding-a-widget-to-a-blade-view And use the new htmlstring and blade render. But this would generally at a lot of overhead and not advised. What are you trying to display?
Alnuaimi
AlnuaimiOP5d ago
I want to create chart for each one record if i want display that in header I have many charts In relation manger does not work
Vp
Vp5d ago
wdym "does not work", I didn't use it but based on the code and docs, it should work on every table if your widget is correct
Dennis Koch
Dennis Koch5d ago
Maybe submit a bug report or have a look at that code instead of starting from 0
Alnuaimi
AlnuaimiOP5d ago
In table resource it is working,but in table relation manager doesn’t work
Dennis Koch
Dennis Koch4d ago
Yes, you already said that. Check #lara-zeus-plugins. Maybe they know the answer why it's not working. And provide some info what's not working
Alnuaimi
AlnuaimiOP4d ago
I solved it , the bug is Uncaught ReferenceError: externalTooltipHandler is not defined tooltip: { enabled: false,\ external: externalTooltipHandler } the solution is: remove external: externalTooltipHandler

Did you find this page helpful?