enter image description here

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

2 Answers 2


I’m using custom data types and one wrapper class to fetch the records. But still it’s showing each records one by one in rows.


You can do this by building custom Data Table and using rowspan.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.