Salesforce Lightning Web Component

Salesforce

How to show Parent Record Details in custom data table with iterator in Salesforce LWC?

Sample Code: HTML: <template>     <div class="slds-box slds-theme--default">         <table class="slds-table slds-table_cell-buffer slds-table_bordered slds-table_striped">             <thead>                 <tr class="slds-line-height_reset">                     <th class="" scope="col"> ....

Salesforce

lightning tree grid showing Account and its related Contacts and Opportunity in LWC in Salesforce

Sample Code: HTML: <template>     <div class="slds-p-around_medium lgc-bg">         <div class="slds-m-bottom_small">             <lightning-button label="Expand All"                               onclick={clickToExpandAll}>             </lightning-button>             <lightning-button label="Collapse All"                               onclick={clickToCollapseAll}>             </lightning-button>         </div>        <lightning-tree-grid ....

Salesforce

Simple lightning-button-menu example in Salesforce LWC

Sample code: HTML: <template> <div class="slds-box slds-theme--default"> <lightning-button-menu alternative-text="Show menu" variant="border-filled" onselect={handleOnselect} label="Actions"> <lightning-menu-item value="Account" label="Create Account"></lightning-menu-item> <lightning-menu-item value="Contact" label="Create Contact"></lightning-menu-item> <lightning-menu-item value="Lead" label="Create Lead"></lightning-menu-item> <lightning-menu-item value="Opportunity" label="Create Opportunity"></lightning-menu-item> </lightning-button-menu> ....