Set the selectedIndices array to the array of indexes you want selected.
Of course you must set multiple select on the data grid.
Tracy Spratt
Lariat Services
Flex development bandwidth available
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogro
In the event handler, you can access the itemRenderer through the target
or currentTarget properties. From there you can get at the "data" item
object and thus get the index of the item(see the Collection api for the
exact method).
But better to loop over the dataProvider and check the selecte
The safest way would be to loop over the dataProvider, checking the
value of the property that drives the checkbox state, and build an array
of indexes that are checked. Then assign that to the data grids
selectedIndices property,
If you could be sure to never get "off", you could manipulate t
3 matches
Mail list logo