On Sat, Jan 3, 2009 at 1:15 AM, Mike Oliver <moli...@corenttech.com> wrote:
>
> Perhaps its because it is an itemEditor, but just tried it and "value" in the
> editorDataField saves the label string to the Grid, not the 'data' element.

Well, the value property is a little strange indeed. Not to mention
it's also deprecated. Here's what I suggest:

  /* in your item editor */
  public function get myCustomProperty():Object
  {
    var item:Object = selectedItem;
    if (item == null)
      return null;

    return item.data;
  }

  <DataGridColumn editorDataField="myCustomProperty" ... />

Manish

-- 
http://manishjethani.com

Reply via email to