开发者

Flex 4: Help adressing an object

开发者 https://www.devze.com 2023-01-20 14:39 出处:网络
I found this amazing code to make a dropdownlist with check boxes: Click here I implemented it and it works, except for one detail I cant for the life of me get the array of selected checkboxes back.

I found this amazing code to make a dropdownlist with check boxes: Click here

I implemented it and it works, except for one detail I cant for the life of me get the array of selected checkboxes back.

I have implemented as follows:

<local:MultiSelectionDropDown maxHeight="300" x="181" y="-7" width="233" requireSelection="false" itemRenderer="myComponents.MultiSelectItemRenderer" skinClass="myComponents.MultiSelectionDropDownListSkin" dataProvider="{GetIsList.lastResult.ReportFilterList.ReportFilter}" id="dropISLIST" color="#000000"/>

What I cant figure out is what to call to get dropISLIST to give me back the list of selected check boxes and their values.

Does anyone have any ideas.

Please and thank you in advance for any help you can pr开发者_C百科ovide....


If your item renderers are properly reporting their checked state back to your data provider, then it is as simple as iterating through dropISLIST.dataProvider. If the data provider does not reflect what is shown in the droplist, then your first job is to make sure your item renderers are working correctly. If you are having trouble, feel free to share your code for the item renderer and we can help you sort it out.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号