SHARE
TWEET

Untitled

a guest May 26th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes" access="global" controller="AccountController">
  2.     <aura:attribute name="pageReference" type="Object"/>
  3.     <aura:handler name="init" value="{! this }" action="{! c.doInit }"/>
  4.     <lightning:navigation aura:id="navService"/>
  5.    
  6.    
  7.     <!-- attributes -->
  8.     <aura:attribute name="data" type="Object"/>
  9.     <aura:attribute name="columns" type="List"/>
  10.    
  11.     <lightning:card title="Navigator Component">
  12.         <div style="padding: 20px">
  13.             <lightning:formattedText value="This is navigator component. Click on Edit button to navigate to another component and edit it." />
  14.             <lightning:datatable
  15.                                  keyField="id"
  16.                                  data="{! v.data }"
  17.                                  columns="{! v.columns }"
  18.                                  hideCheckboxColumn="true"
  19.                                  onrowaction="{! c.handleRowAction }"/>
  20.         </div>
  21.     </lightning:card>
  22. </aura:component>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top