# kintone table change event handler

**URL:** <https://forum.kintone.dev/t/kintone-table-change-event-handler/248>\
**Category:** General\
**Created:** [February 10, 2022, 12:03am UTC](https://forum.kintone.dev/t/kintone-table-change-event-handler/248 "2022-02-10T00:03:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [February 10, 2022, 12:03am UTC](https://forum.kintone.dev/t/kintone-table-change-event-handler/248/1 "2022-02-10T00:03:55Z")

</div>

I have a table with a field code **“customer\_quotes\_table”** and a text field with a field code **“customer\_quote”** on the record.

I am implementing a change event listener for the table so that when a quote record is removed from the table, I want to get the quote no. from the deleted record.

When I console debug, I can see that the **“changes.row”** is null indicating the removal, and **“changes.field”** is an array containing the **remaining records** on the table.

How to get quote no. from the deleted row? I need this because I will use quote no. to delete the corresponding record in another table.

Your assistance will be greatly appreciated.

```
kintone.events.on("app.record.edit.change.customer_quotes_table", function (event) {
  console.log('quotes table change');
  console.log(event);
  if (event.changes.row === null) {
    console.log("row removed..");
  } else {
    console.log("row not removed ...");
  }
});
```

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [February 10, 2022, 9:51pm UTC](https://forum.kintone.dev/t/kintone-table-change-event-handler/248/2 "2022-02-10T21:51:49Z")

</div>

Hi annaylee,

There is no process to identify the removed rows.  
Therefore, if you wish to achieve a similar process, please do the following;

1. Obtain the table information in the record edit screen display event.
2. Check the change event to determine if the row was deleted.
3. If it was deleted, compare with the record information of 1 and identify the row.
