skevthedev
skevthedev

Reputation: 465

Flash Builder 4.5 Drop Downlist with Checkbox

So the problem I am currently having is that I have A drop down list that is populated by xml and I want to make it so I can select multiple rows in the list by adding a check box control. I can easily add the check box by using a custom item renderer, and it shows up for each item in the list but I cant select any of the check boxes only individual items in the list. How can i solve this problem?

I appreciate any help in advance

thanks

Upvotes: 0

Views: 486

Answers (1)

shaunhusain
shaunhusain

Reputation: 19748

You can stop the propagation of the click event in the handler for the click on the check box with event.stopImmediatePropagation();

Also to note since we also did this you'll need to keep track of the selected value in the data for the list.

Upvotes: 1

Related Questions