Is it possible to achieve this in the lightning database LWC?

392    Asked by ClaudineTippins in Salesforce , Asked on May 15, 2023

Here in this image, let's take an example of account and contact. Account name will be in the first column ie; Course name. Then Patient Column onwards it will depend on how many contacts belong to that particular account. Suppose if two contacts then it will show one contact information in one line and another in the second line in the same row. If it's possible with a lightning data table how??

Answered by Brian Kennedy
  You can achieve this in lightning database LWC by building a custom Data Table and using rowspan. https://www.lightningdesignsystem.com/components/data-tables/

Your Answer

Interviews

Parent Categories