selectedItems is an array of references to the selected items in the data provider.

dataGrid.selectedItems

Reagards,
Rob

On 7/25/06, Rick Root <[EMAIL PROTECTED]> wrote:

Hi,

I'm new to Flex, and I'm trying to pass an array to a web service based
on the contents of a datagrid.

so my idea was to loop over the items in the datagrid to construct the
array, but I'm entirely unsure how to do that. The Datagrid
documentation doesn't seem to list "length" as a property... the
dataProvider does, but that doesn't seem to have a getItemAt() method or
anything like that.

so how would I do this? Pretend the item collection is a query result
set that contains the columsn "entityid" and "mail_name", and I want to
send an array of all the entity ids in the datagrid to the web service.
*NOT* just the selected ones.

Rick




--
--
Regards,
Rob Rusher

Adobe Certified Breeze, ColdFusion MX and Flex 2 Instructor
m: 303-885-7044
im: robrusher __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to