Robertopriz’s Weblog

EditDataField magic

Posted in Uncategorized by robertopriz on August 5, 2008

ItemEditors swich the view from the normal apparence to the embeded editor. A step forward is given by editorDataField which allow to control the imput.

<mx:DataGridColumn dateFiled=”dataExample” headerText=”Data Example” itemEditor=”mx.controls.DateField” editorDataField=”selectedDate” />

Other example could be:

value for numericStepper

selceted for checkBox;

selectedColor for colorPicker

and so on…

Advertisements