flex: entering itemEditor when no value is assigned to data property in custom itemRenderer

Posted by Markus on Stack Overflow See other posts from Stack Overflow or by Markus
Published on 2010-03-12T11:36:22Z Indexed on 2010/03/12 11:37 UTC
Read the original article Hit count: 385

Filed under:
|

Hi there,

Im having a strange problem with my custom itemRenderer in the following Methode I assign the values to the cell. The problem is, when the side.element is still empty. In this case the itemEditor will not show up by default...

override public function set data(side:Object):void{
   super.data = side.element.toString();
   choiceLabel.text = side.element.toString();
   answer.selected = side.element.@answer;
}

Thanks for your help! Markus

© Stack Overflow or respective owner

Related posts about flex

Related posts about itemeditor