use an imperative method instead of wire method in renderCallback, call the renderCallBack after the updation.
handleSave() { try { updateForecasts({forecasts : this.data}).then(() => {
this.renderCallback();
})
this.draftValues = [];
}
catch(e) {
console.log('e = ' + e)
}
}
handleSave() {
try {
updateForecasts({forecasts : this.data}).then(() => {
this.renderCallback();
})
this.draftValues = [];
}
catch(e) {
console.log('e = ' + e)
}
}
please use boolean inside the renderCallback to avoid multiple apex call.