Posts

Showing posts from November, 2018

How to get the selected record details with radio box in lightning

Image
<aura:component controller="AccountCtrl" implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" >     <aura:handler name="init" value="{!this}" action="{!c.doinit}"/>     <aura:attribute name="Acclist" type="list"/>     <aura:attribute name="row" type="Integer"/>      <div>             <table class="slds-table slds-table_cell-buffer slds-table_bordered">               <thead>                 <tr class="slds-line-height_reset">                    <th class="slds-text-title_caps" scope="col">                       <div class="slds-truncate" title="Select">Select</div>                     </th>      

How to delete records with a button in salesforce lightning

Image
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes"                 access="global"                 controller="AccountCtrl">   <aura:handler name="init" value="{!this}" action="{!c.doinit}"/>         <aura:attribute name="Acclist"  type="list"/>           <div>             <table class="slds-table slds-table_cell-buffer slds-table_bordered">               <thead>                 <tr class="slds-line-height_reset">                    <th class="slds-text-title_caps" scope="col">                       <div class="slds-truncate" title="AccountId">Accoount Id</div>                     </th>                <th class="slds-text-title_caps"