Hi, everyone. I'm really tired of DataGrid. Why does
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" horizontalAlign="left"> <mx:RadioButton id="one" label="one" /> <mx:RadioButton id="two" label="two" /> <mx:RadioButton id="three" label="three" /> <mx:RadioButton id="four" label="four" creationComplete="{four.selected = true;}" /> <mx:RadioButton id="five" label="five" /> </mx:Application> work good and <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" horizontalAlign="left" creationComplete="{four.selected = true;}"> <mx:RadioButton id="one" label="one" /> <mx:RadioButton id="two" label="two" /> <mx:RadioButton id="three" label="three" /> <mx:RadioButton id="four" label="four" /> <mx:RadioButton id="five" label="five" /> </mx:Application> work good but if i set selected into an item renderer as described in previous message it doesn't? I've already tried doing it on creation complete. Nothing. Even tried initialize (dunno why). Nothing. Maybe somebody knows good approach to working with List-based controls and custom item renderers (alike RadioButton, CheckBox etc). R.