im working with flex's datagrid.
I have a DataGridColumn defined as the following, where labelFunction would allow me to display a custom text.
I am also using a itemEditEnd handler on the grid to manipulate the entered data for this column. The purpose is to take the user input and split it then store the result in different properties other than "fixedValue".
my problem with this approach is that i can't find a way to prevent assignment to the fixedValue property (which doesn't exist). And using event.preventDefault() in the itemEditEnd handler would stop other events from happening like changing the row from edit mode to the view mode.
my question is that if there is other way to achieve the same thing, or a way to just prevent the assignment of the "dataField" data.
thanks
i am using the dataField to identify the column i am editing. Leaving it null might not be an option.
<mx:DataGridColumn id="columnFixedCurrency" labelFunction="fixedCurrecy_labelFunc" dataField="fixedValue" headerText="Price"/>