I am trying to create a custom related list quick link inside a LWC. I have 2 objects A and B. From the apex I am returning the list of B related record but how can I display it like a related list quick link on LWC? Any idead how to do this? Please help on this.

enter image description here

  • what have you tried so far? where did you get stuck? Commented Jan 18, 2021 at 7:07
  • i am fetching all list and storing in a data table. But not sure how to implement related list quick link kind of look
    – Raj SF
    Commented Jan 18, 2021 at 13:23
  • to confirm, you want it to be an icon that when you hover over it will show a table
    – Max
    Commented Jan 21, 2021 at 21:57

1 Answer 1


I would check out this solution here:

LWC: How do I display "out of box" object hover?

It looks like they were able to create a hover link with a compact layout - you could piggy back off of this design and on hover display a Lightning Table.

I would look here for information on the data table: https://developer.salesforce.com/docs/component-library/bundle/lightning-datatable/example

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .