---
title: "Row updated"
description: "Run when a row is updated in a selected table."
canonical_url: "https://docs.vettero.com/build/event-handlers/row-updated"
---
# Row updated

> Run when a row is updated in a selected table.

<trigger-meta group="Table" icon="i-lucide-pencil" type="table.on-update">



</trigger-meta>

**Row updated** runs when a row is updated in the selected [table](https://docs.vettero.com/data/tables).

## Payload

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        tableId
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      Table to watch
    </td>
  </tr>
</tbody>
</table>

## Trigger data

Available as `args.*`. `row` matches the selected table.

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        tableId
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      Table id
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        rowId
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      Updated row id
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        row
      </code>
    </td>
    
    <td>
      object
    </td>
    
    <td>
      Row values after the update
    </td>
  </tr>
</tbody>
</table>

## Use case

- Any save on the row should sync elsewhere (CRM, another [table](https://docs.vettero.com/data/tables), or a notification).
- Recalculate related data when someone edits in the grid, a [form](https://docs.vettero.com/data/forms), or a [query](https://docs.vettero.com/build/queries).
- Prefer [Field changed](https://docs.vettero.com/build/event-handlers/field-changed) or [Fields changed](https://docs.vettero.com/build/event-handlers/fields-changed) when you only care about one or a few columns — this trigger fires on every update.

<trigger-page-nav>



</trigger-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
