You need to sign in to do that
Don't have an account?
Phuc Nguyen 18
LWC tree grid more than 2 levels
Hello,
I have a LWC tree grid that shows the aprent and child records. How can I expand this to the grandchild records?
Thanks,
P
I have a LWC tree grid that shows the aprent and child records. How can I expand this to the grandchild records?
Thanks,
P
As mentioned in the documentation example there is an implementation of tree grid up to 3 levels can you try checking it once:
>> https://developer.salesforce.com/docs/component-library/bundle/lightning:treeGrid/example#lightningcomponentdemo:exampleTreeGridBase
Let me know in case if there are any questions or in case if this comes handy can you please choose this as the best answer so that it can be used by others in the future.
Regards,
Anutej
All Answers
As mentioned in the documentation example there is an implementation of tree grid up to 3 levels can you try checking it once:
>> https://developer.salesforce.com/docs/component-library/bundle/lightning:treeGrid/example#lightningcomponentdemo:exampleTreeGridBase
Let me know in case if there are any questions or in case if this comes handy can you please choose this as the best answer so that it can be used by others in the future.
Regards,
Anutej
Thank you for the reply. I looked at that example before but they are hard coding the values.
I need to pull them from a controller and populate. I am going to try to change my query to include attachments