views:

1313

answers:

2

I am trying to make one field in a datagrid editable with a numeric stepper. My current attempts look like they are working, but the dataProvider is not actually being changed.

Based on what I have read in a billion different places, the syntax should be

< mx:DataGridColumn dataField="a" itemRenderer="mx.controls.NumericStepper" rendererIsEditor="true" editorDataField="value" / > 

I have tried several variations on this theme, and nothing seems to work. What am I missing?

A: 

Without any more info, I would guess that your dataProvider is not declared as Bindable.

Mike Sickler
A: 

The issue it seems, was that I was expecting changes to be instantly reflected in the dataProvider, but they are not applied until the editor loses focus.

AlexH