adverse-sapphire
adverse-sapphire•9mo 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
eastern-cyan
eastern-cyan•9mo 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
optimistic-gold
optimistic-gold•9mo 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?
eastern-cyan
eastern-cyan•9mo 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

Did you find this page helpful?