# DataGrid - edifField is not a function

**URL:** <https://forum.kirupa.com/t/datagrid-ediffield-is-not-a-function/324044>\
**Category:** flash\
**Created:** [July 29, 2011, 7:26pm UTC](https://forum.kirupa.com/t/datagrid-ediffield-is-not-a-function/324044 "2011-07-29T19:26:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdulberg](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@jdulberg](https://forum.kirupa.com/u/jdulberg)\
**Post date:** [July 29, 2011, 7:26pm UTC](https://forum.kirupa.com/t/datagrid-ediffield-is-not-a-function/324044/1 "2011-07-29T19:26:28Z")

</div>

Hello,

I’m using the Flash CS3 built-in dataGrid component to display array data. When attempting to use the editField function as defined in the help file, I get an error:

```php

TypeError: Error #1006: editField is not a function.

//for the code

gridData.editField(itemID, "testColumn", "test text");

```

I had a look in the dataGrid.as file and editField does exist.

Any suggestions for why this may be? All my other dataGrid stuff works fine.

Thanks,  
Jason
