You need to sign in to do that
Don't have an account?

lightning tree need image in child
Hello Team,
We are currently using <lightning:tree to display Account Hierarchy Data. Customer has a requirement where they want to show icons beside type of record in the tree and also highlight with different color based on the account record type. Is there a way to accomplish this using <lightning:tree itself and not redoing with Trees?
<lightning:tree items="{!v.items}" />
The wrapper will have Account and image link, if you don't have image link and create a formula field on Account which will have image link in it.
And then use the value of the formula field in the lighting:tree.
Please let me know if you have any queries.
thanks