[flexcoders] Re: Get row and column from click on datagrid

2007-09-26 Thread sgrosven2
Try using/reading up on  itemClick instead of just click 



RE: [flexcoders] Re: Get row and column from click on datagrid

2007-09-26 Thread Mark Ingram
That works great when I click on a valid entry in the datagrid, but if I
click on an empty row, the message isn't received. That is when I'm
trying to capture the row  column...

 

Mark

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sgrosven2
Sent: 26 September 2007 17:00
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Get row and column from click on datagrid

 

Try using/reading up on itemClick instead of just click 

 



RE: [flexcoders] Re: Get row and column from click on datagrid

2007-09-26 Thread Tracy Spratt
You should understand that there are no rows or columns unless there
is a dataProvider item to produce them.

 

You should also understand that there is not a 1:1 relationship between
data items and rows.  The item renderers are recycled and only the
visual rows, plus a few for buffering even exist.

 

Perhaps you could use the click and itemClick events to determine your
logic.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Ingram
Sent: Wednesday, September 26, 2007 12:12 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Get row and column from click on datagrid

 

That works great when I click on a valid entry in the datagrid, but if I
click on an empty row, the message isn't received. That is when I'm
trying to capture the row  column...

 

Mark

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sgrosven2
Sent: 26 September 2007 17:00
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Get row and column from click on datagrid

 

Try using/reading up on itemClick instead of just click