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
DesaiDesai 

Data in hierarchy

Hi , 
We have 4 cusomt objects:
Process, Zone, Asset, Hardware
On work order page, we need lightning component to display the data in tree structure, so we used Lightning:treeGrid.
But the problem here is , we need to display only those hardware records where the Work Order is stamped (only Hardware has the Work order satmped), in this  way
Process001
     Zone001
       Asset001
           HW001    WO001

To acheive this we need to get the data from bottom to top and then dispay the data on UI from top to bottom. 
Any suggestions plz...its urgent.

Regards,
Desai