I have override createChildren method inside checkBoxListitemrenderer

*

override* *protected* *function* createChildren():*void
*

{

*super*.createChildren();

myCheckBox=*new* CheckBox();

myCheckBox.setStyle(*"horizontalCenter"*, *"0"*);

myCheckBox.setStyle(*"verticalAlign"*, *"0"*);

myCheckBox.addEventListener(MouseEvent.CLICK, checkBoxClickHandler);

*//checkBox.addEventListener(MouseEvent.MOUSE_DOWN, checkBoxToggleDecision);
*

addChild(myCheckBox);

}
But its displaying more than one checkbox.Can anybody help me on this?

On Mon, Aug 8, 2011 at 11:05 AM, Malek S <[email protected]> wrote:

> HI,
> I have checkboxList component. now i have query of adding button inside
> checkboxList
> As far as List is concerend its not supporting headerRenderer.
> any idea how can i add button as header throught actionscript in
> checkboxlist
>
> regards
> maleksf
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to