views:

140

answers:

0

I have an Advanced Data Grid (Flex) and I am showing numeric values. I am formatting each value by using a labelFunction, which returns a currency formatted value (using a currency formatter).

Let's say the dataprovider holds the value 1000 for the first element. The first cell of the datagrid will then show $1,000

Now, if I click into a cell, and start the editing process, I only want to see 1000, not $1,000.

I can not set the itemEditorInstance.text property to the value in the datagrid onItemEditBegin, since the itemEditorInstance is only created afterwards.

How would I accomplish this then?

Thx, Martin