Relation Manager Hide If No Results
Hi,
Is it possible to hide table from relation manager within View page if that table has to recrods.
Example:
I have 3 Relation Managers
And I want on View page to show only ones that have data in it?
2 Replies
You can define the logic in your
getRelations
functionYes. You can use the policy model that is used in your relation
viewAny
method in the policy is responsibile for showing anything related to that model