Also from the docs, note the item and column index: cellPress Broadcast when the user clicks on a cell to indicate that the cell is about to be edited. The event object contains the properties: - itemIndex Index of the selected item. - columnIndex Index of the selected column. - view Currently selected Object. - target Reference to the component that triggered the event. - type Name of the event.
-----Original Message----- From: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 10:03 AM To: [email protected] Subject: Re: RES: RES: [flexcoders] clickig datagrid that works very well, thanks a lot yo tou again man your help is very appreciated --- In [email protected], "Kleber Voigt" <[EMAIL PROTECTED]> wrote: > in flash I use: > > function getCellData(){ > trace(datagrid.selectedItem.YourColumnName); > } > > I think that's the same thing! > > -----Mensagem original----- > De: Miguel Diaz Valenzuela [mailto:[EMAIL PROTECTED] > Enviada em: quinta-feira, 24 de fevereiro de 2005 11:14 > Para: [email protected] > Assunto: Re: RES: [flexcoders] clickig datagrid > > > > > ok man, many thanks to you > and If I need to know what item was click? > > -- In [email protected], "Kleber Henrique Voigt Pereira" > <[EMAIL PROTECTED]> wrote: > > use: > > > > cellPress="{yourFunction()}" in datagrid tag > > > > -----Mensagem original----- > > De: Miguel D�az Valenzuela [mailto:[EMAIL PROTECTED] > > Enviada em: quinta-feira, 24 de fevereiro de 2005 10:43 > > Para: [email protected] > > Assunto: [flexcoders] clickig datagrid > > > > > > > > > > hi coders > > > > I have a question. I need to execute a fuction when I click some item > > in a datagrid. What event can I use? > > > > thanks in advance for all help > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > Yahoo! Groups Links Yahoo! Groups Links

