I've been testing out the new inline edit feature for the lightning:datatable component in a Summer '18 sandbox, but I can't seem to work out how to hide the Save and Cancel buttons after I complete the onsave action.
How can I make this change?
How onsave action is defined in lightning:datatable component
<lightning:datatable aura:id="adviserTable" class="adviserTable"
columns="{!v.memberColumns}" data="{!v.memberDataDisplayed}"
keyField="planMemberId" onsort="{!c.updateColumnSorting}"
sortedBy="{!v.sortedBy}" sortedDirection="{!v.sortedDirection}"
onrowaction="{!c.handleRowAction}" enableInfiniteLoading="{!v.enableInfiniteLoading}"
onloadmore="{!c.loadMoreMembers}" onsave="{!c.handleSave}"
hideCheckboxColumn="true" showRowNumberColumn="true">
</lightning:datatable>
handleSave function
handleSave: function(cmp, event, helper) {
// call to empty helper function that currently does nothing, but will have server side call to persist changes
helper.updateEditedValues(event.getParams('draftValues'));
},