This content has been marked as final. Show 3 replies
omg is this something IMPOSSIBLE to do in Flex? I have not found any examples and no one has replied...I can really need the help. Thank you!
Ok, you don't. This is because itemrenderers are recycled. Only the visible rows even exist.
What you must do, is in the renderer, listen for the change event of the CheckBox. In the handler, you must *update a property on your dataProvider item* (the object passed into the set data(o:Object)) seter function.
Repeat: you must *update a property on your dataProvider item*.
When you are ready to send the data to the server, loop over the dataProvider items and look for the ltems where the porperty you set is true.