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
Event | Description |
---|---|
knack-cell-update.view_1 | Triggered by inline edits in table specified by key |
Parameters
Parameter | Description |
---|---|
view | The view (JSON object) |
record | The updated record (JSON object) |
Updated about 4 years ago
What’s Next