# Datagrid discarding edit attempts?

**URL:** <https://forum.kirupa.com/t/datagrid-discarding-edit-attempts/59328>\
**Category:** flash\
**Created:** [July 30, 2004, 9:48am UTC](https://forum.kirupa.com/t/datagrid-discarding-edit-attempts/59328 "2004-07-30T09:48:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![j\_bjorgen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/j_bjorgen/32/517_2.png) [@j\_bjorgen](https://forum.kirupa.com/u/j_bjorgen)\
**Post date:** [July 30, 2004, 9:48am UTC](https://forum.kirupa.com/t/datagrid-discarding-edit-attempts/59328/1 "2004-07-30T09:48:26Z")

</div>

I have a datagrid that is populated by the results of a remoting query(amfphp). The data displays just fine. However, whenever I try to edit any of the data, it changes back to the old value before the cellEdit event can even fire. Anyone have any ideas what could cause this? I can post code/fla file if necessary.

Thanks,

John

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 1, 2004, 3:50am UTC](https://forum.kirupa.com/t/datagrid-discarding-edit-attempts/59328/2 "2004-08-01T03:50:25Z")

</div>

I found a solution. By binding the results of the query to a dataset and then binding the dataset to the datagrid, I could edit the data.
