Show count of a eloquent in table #993
Unanswered
mionoeldavis
asked this question in
Q&A
Replies: 1 comment
-
Add the following to your Builder instance, or against your model (however you prefer)
Then reference it in your table column definition in one of the following ways:
Or you can do it as follows if you want it to be sortable:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i am very new to livewire tables and cant find a solution for my problem.
I have a table with users, now i want to have a column where it shows the post count of each user. How can i do it?
Beta Was this translation helpful? Give feedback.
All reactions