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
Majid Al Zariey
Majid Al Zariey5mo ago
You can define the logic in your getRelations function
Hasan Tahseen
Hasan Tahseen5mo ago
Yes. 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

Did you find this page helpful?