how to display withCount in table? #839
-
Hello,
but when adding this line on column, this error appear
how can i display |
Beta Was this translation helpful? Give feedback.
Answered by
giles247
Jul 9, 2022
Replies: 1 comment 4 replies
-
Try this |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
tarikhagustia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this
Column::make('Contacts Count') ->label(function ($row) { return $row->contacts_count; }),