[Vuejs]-Ag-grid – Events and Methods (Vuejs)

1👍

To achieve expected result, use event callback of @cell-value-changed

  1. Change your event to @cell-value-changed = “save”
  2. Use event callback to get old and new values of cell


save(event) {
console.log('onCellValueChanged: ' + event.oldValue + ' to ' + event.newValue);
}

  1. Get required id value from that event callback and use it for POST call

Leave a comment