Pages

Friday, May 18, 2007

Check Box in list

I was too lazy to read docs and then create a cellrenderer class to show checkbox in list component.
Was searching for some ready made code to get this working.
But no luck finally tired out something and could get to this point

example: List with CheckBox

Source

You can find the CheckCellRenderer.as in mx/controls/cells folder of flash

I edited it according to my need and named as CheckBoxCell.as