foreign-sapphire
foreign-sapphire•5mo ago

hi I'd love to add relations between

hi I'd love to add relations between resources in my table Is it possible with refine? I'd love to add relations to the list page Im looking for something like <ReferenceField/> in react admin im using nestjsx/crud as a backend if that helps
3 Replies
environmental-rose
environmental-rose•5mo ago
Hello @danyalutsevich , In refine, we handle relations with hooks, they are easy to compose. https://refine.dev/docs/guides-concepts/data-fetching/#relationships but if you think it's a hassle and if you have better ideas, contributors are always welcome 🙌. For example, you can open a feature request issue on github
frail-apricot
frail-apricot•5mo ago
@Alican Erdurmaz So in table i can do for example Table column with UriField that will lead to the related resouce (show page) is that how you do it in refine?
environmental-rose
environmental-rose•5mo ago
If i understood correctly, https://refine.dev/docs/ui-integrations/ant-design/components/buttons/show-button/ this is what you looking for. You can give resource to show button to navigate another resource