Hi all, I have a problem with a numeric stepper in a cellrenderer of a dataGridColumn.
When the cell loses focus, it goes back to the value set initially, so I lose all the changes. Here is the cellrenderer code: <mx:HBox horizontalAlign="center" width="100%" xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:Script> <![CDATA[ var labelData:Object; var val; function setValue(str:String, item:Object) { if (item == undefined){ visible = false; return; } visible = true; var s = item; labelData = s; val = labelData.levels; } function changeVal(){ val = changed.value; } ]]> </mx:Script> <mx:NumericStepper id="changed" value="{val}" change="changeVal()" maximum="{labelData.fill}"/> </mx:HBox> I need the numericStepper to keep the value I change it to in each of the rows I change it. Cheers, Iain