Skip to main content
Saransh Batham (Infosys) 님이 #Trailhead에 질문했습니다

The use case is that I have to make a data table for Account Object,which shows me the list of accounts and contains the headers related to account for example: Account Name,Phone Number,City etc. The catch is that when the user click on the account it should display us the list of Opportunities related to that account,and the header details for the Opportunities should be according to the Opportunity for example:Opportunity Name,Closed Date etc. So in this i have to make a nested table with two different headers,one header should be for the parent and another header should be for the child. Can anyone help me out with there LWC skills. 

답변 3개
  1. 2025년 4월 11일 오후 12:08

    I have a prototype for this, 

    Parent Table (Account Wrapper) which is kind of account based wrapper class which has name, address and some other fields  

    Child Table(contacts and Account)  

    so for each Account wrapper record i want to show the nested table where for example if I have wrapper class record name as benny the associated contacts and accounts needs to show as child and here i want a select button which can be select for one contact and one account where i want to create a record on a junction object where i have contact and account lookup fields how is it possible in lwc

0/9000