Flex: Using NumericStepper as an itemEditor in a DataGrid
-
22-08-2019 - |
Question
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?
Solution 2
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.
OTHER TIPS
Without any more info, I would guess that your dataProvider is not declared as Bindable.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow