<!--<div class="slds-float-right">
<lightning:button label="Save" variant="brand" onclick="{! c.handleTopSaveEdition}"/>
</div>
The button is displayed, but nothing happens when clicked. What am I missing?
1 risposta
//FWIW, here is my controller code:
//Called from the MAIN Save button
handleSaveEdition: function (cmp, event, helper) {
var updatedValues = event.getParam('draftValues');
helper.saveDataTable(cmp, updatedValues);
},
//Called from the Custom Save button (at top)
handleTopSaveEdition: function (cmp, event, helper) {
var updatedValues = event.getParam('draftValues');
helper.saveDataTable(cmp, updatedValues);
},