Record Update (Inline Table Edit)

  • Triggered when an existing record has been updated via an inline edit in a table view
  • Often used to with a PUT request to the Knack API to log the inline edit or to log the user who performed it
// Change view_1 to the table view you want to listen to
$(document).on('knack-cell-update.view_1', function(event, view, record) {
  // Do something after the inline edit
  alert('updated a record for table view: ' + view.key);
});

Events

EventDescription
knack-cell-update.view_1Triggered by inline edits in table specified by key

Parameters

ParameterDescription
viewThe view (JSON object)
recordThe updated record (JSON object)

What’s Next