selectedIndex is an object so i can't access to values like an array

var name:String=mydatagrid.selectedIndex.name;
var surname:String=mydatagrid.selectedIndex.surname;
that works

var name:String=mydatagrid.selectedIndex[0];
var surname:String=mydatagrid.selectedIndex[1];
that doesnt works




--- In [email protected], "howardescholz" <[EMAIL PROTECTED]> wrote:
>
> Would selectedIndex work?
> --- In [email protected], "ddanone2" <nomejodas836@> wrote:
> >
> > I fill the DataProvider of a DataGrid with an array, when the user
> > selects a row i retrieve the selected row with selectedItem property.
> > 
> > I want to get the value of each column not acessing by the dataField
> > but acessing by an index, is that possible ?
> > 
> > Thanks in advance
> >
>






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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to