# Clean code when changing multiple outputs with a dash callback?

**URL:** <https://community.plotly.com/t/clean-code-when-changing-multiple-outputs-with-a-dash-callback/77972>\
**Category:** Dash Python\
**Tags:** question\
**Created:** [August 23, 2023, 12:20am UTC](https://community.plotly.com/t/clean-code-when-changing-multiple-outputs-with-a-dash-callback/77972 "2023-08-23T00:20:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssingh80](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@ssingh80](https://community.plotly.com/u/ssingh80)\
**Post date:** [August 23, 2023, 12:20am UTC](https://community.plotly.com/t/clean-code-when-changing-multiple-outputs-with-a-dash-callback/77972/1 "2023-08-23T00:20:34Z")

</div>

I have a dag aggrid with 12 columns. When I click one of the rows, I want a edit form to appear with 12 fields filled in. I want to be able to edit the information for that row from this form. When I write a callback for this, there would be 12 output fields. Is there a way to write it in a cleaner way?

---

<div class="post-metadata">

**Author:** ![AnnMarieW](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@AnnMarieW](https://community.plotly.com/u/AnnMarieW)\
**Post date:** [August 23, 2023, 2:32am UTC](https://community.plotly.com/t/clean-code-when-changing-multiple-outputs-with-a-dash-callback/77972/2 "2023-08-23T02:32:14Z")

</div>

Hi @ssingh80

Did you check out the the full row editing with Dash AG Grid? Sounds like what you are looking for – and no callbacks required!

> **[Full Row Editing | Dash for Python Documentation | Plotly](https://dash.plotly.com/dash-ag-grid/editing-full-row)**
>
> Enable full row editing to allow users to edit an entire row of data
