Skip to content

Instantly share code, notes, and snippets.

@choudharymanish8585
Created October 31, 2018 01:50
Show Gist options
  • Save choudharymanish8585/a14b02f216a854126bec42a600f74686 to your computer and use it in GitHub Desktop.
Save choudharymanish8585/a14b02f216a854126bec42a600f74686 to your computer and use it in GitHub Desktop.
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes"
controller="AuraIfTester"
access="global" >
<aura:attribute name="records" type="list" />
<aura:handler name="init" value="{!this}" action="{!c.doInit}" />
<table style="border-color: grey; float: left;" border="1" cellspacing="4" cellpadding="4">
<tbody>
<aura:iteration items="{!v.records}" var="item">
<tr>
<td>{!item.Name}</td>
<td>{!item.text}</td>
<td>{!item.number}</td>
<td>{!item.boolean}</td>
</tr>
</aura:iteration>
</tbody>
</table>
</aura:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment