daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest May 16th, 2018 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <lightning:datatable aura:id="adviserTable" class="adviserTable"
  2.                         columns="{!v.memberColumns}" data="{!v.memberDataDisplayed}"
  3.                         keyField="planMemberId" onsort="{!c.updateColumnSorting}"
  4.                         sortedBy="{!v.sortedBy}" sortedDirection="{!v.sortedDirection}"
  5.                         onrowaction="{!c.handleRowAction}" enableInfiniteLoading="{!v.enableInfiniteLoading}"
  6.                         onloadmore="{!c.loadMoreMembers}" onsave="{!c.handleSave}"
  7.                         hideCheckboxColumn="true" showRowNumberColumn="true">
  8. </lightning:datatable>
  9.    
  10. handleSave: function(cmp, event, helper) {
  11.     // call to empty helper function that currently does nothing, but will have server side call to persist changes
  12.     helper.updateEditedValues(event.getParams('draftValues'));
  13.  
  14. },
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