views:

173

answers:

0

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;
}

Issue solved:

Actually my problem was, that this function gets called with the data of the whole row and afterwards with the data of just the the cell item. So I check now what gets handed over to my side variable and am assigning the values appropriately.

Markus