Salesforce Apex

Salesforce

lightning-tree-grid with row level action in Salesforce Lightning

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

Salesforce

for:each in LWC HTML in Salesforce

Sample code: HTML: <template> <div class="slds-box slds-theme_default"> <table class="slds-table slds-table_cell-buffer slds-table_bordered slds-table_col-bordered"> <thead> <tr> <th class="" scope="col"> <div class="slds-truncate" title="Account Name">Name</div> </th> <th class="" scope="col"> <div class="slds-truncate" title="Account Industry">Industry</div> </th> ....

Salesforce

JSON deserializeUntyped using Apex in Salesforce

Sample Code: String strJSON = '{"items":[{"Date Field":"01-01-1999","Prototype Settings":"PS3","Hardware Type":"Type1","Overall Status":"In Progress","Source":"Web"},{"Date Field":"18-05-1999","Prototype Settings":"PS6","Hardware Type":"Type3","Overall Status":"Completed","Source":"Email"}]}'; Map < String, Object > fullMap = ( Map < String, Object > )JSON.deserializeUntyped( strJSON ....