# Can we keep track of rows edited for Dash DataTables?

**URL:** <https://community.plotly.com/t/can-we-keep-track-of-rows-edited-for-dash-datatables/59417>\
**Category:** Dash Python\
**Created:** [December 20, 2021, 6:57pm UTC](https://community.plotly.com/t/can-we-keep-track-of-rows-edited-for-dash-datatables/59417 "2021-12-20T18:57:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chang](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@chang](https://community.plotly.com/u/chang)\
**Post date:** [December 20, 2021, 6:57pm UTC](https://community.plotly.com/t/can-we-keep-track-of-rows-edited-for-dash-datatables/59417/1 "2021-12-20T18:57:58Z")

</div>

How do we keep track of a history of rows that we’ve edited for our dash apps? We can use data\_previous to compare all the rows in df after modification with all the rows in the df before modification. However, this seems to be really inefficient since we’re comparing 2 entire dict for the change of 1 single cell in the data table.

Does anyone know an easier way to do it? Perhaps using data\_timestamp or context?
