function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VSK98VSK98 

Nested columns in single column in lightning Datatable/TreeGrid

Hello All,

I would like to display the Nested columns in a single column in lightning Datatable/TreeGrid... Pls refer the screenshot below.

User-added image

Regards,
VSk98
Deepali KulshresthaDeepali Kulshrestha
Hi VSK98,

In order to see how to use the lightning datatable or treegrid please refer to the following links as they may be helpful in solving your query:
https://salesforce.stackexchange.com/questions/236625/nested-multi-level-lightingdatable
https://www.lightningdesignsystem.com/components/tree-grid/
https://rajvakati.com/2018/11/13/lightningtreegrid-row-level-actions/
https://www.biswajeetsamal.com/blog/salesforce-lightning-treegrid/

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha