+ Start a Discussion
Shavi DabgotraShavi Dabgotra 

lightning-datatable with lightning-breadcrumbs

Hi everyone!

I have a requirement as in a lightning-datatable when we click on any item A lightning-breadcrumb should be created that breadcrumb should be clickable also.
Like this:User-added imageHow can I acheive this?
Thank you in advance!  

AnudeepAnudeep (Salesforce Developers) 
Breadcrumbs are clickable by default 

https://developer.salesforce.com/docs/component-library/bundle/lightning:breadcrumbs/example


Here are few examples
 
<aura:component>
    <lightning:breadcrumbs>
        <lightning:breadcrumb label="Parent Entity" href="path/to/place/1"/>
        <lightning:breadcrumb label="Parent Record Name" href="path/to/place/2"/>
    </lightning:breadcrumbs>
</aura:component>
 
<div class="slds-scrollable slds-grid slds-grid_vertical" style="height:95vh;">
<div class="slds-size_1-of-1 slds-col">
<lightning:breadcrumbs>
<lightning:breadcrumb label="WorkForce Software Community" href="/customers/s/community-forums"/>
<aura:if isTrue="{! !empty(v.categoryName)}">
<lightning:breadcrumb label="{!v.categoryName}" />
</aura:if>
</lightning:breadcrumbs>
</div>

Let me know if this helps, if it does, please mark this answer as best so that others facing the same issue will find this information useful. Thank you