Created
July 19, 2018 11:21
-
-
Save amitkumarRoy/aa22fbce944bb154ffef521ba53aa435 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component controller="ContactRecordListApex" implements="flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" access="global"> | |
<aura:attribute name="myData" type="Object"/> | |
<aura:attribute name="myColumns" type="List"/> | |
<aura:attribute name="recordId" type="string"/> | |
<aura:handler name="init" value="{!this}" action="{!c.init}"/> | |
<lightning:datatable data="{! v.myData }" | |
columns="{! v.myColumns }" | |
keyField="Id" | |
hideCheckboxColumn="false" | |
aura:id="contactDatatable" | |
onsave="{!c.saveTable}"/> | |
</aura:component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment