[flexcoders] Re: Setting row focus when user clicks in a column using ItemRenderers

2006-07-04 Thread Chad Sherwood
I went into debug mode to examine the listData variable,
it does exist, however its ALWAYS null.  Any ideas what I've done 
wrong or not done?  No matter what point I review that variable, 
it's always null.

Thanks,

Chad

Doug Lowder [EMAIL PROTECTED] wrote:

 Your item renderer should have a listData property, which is an 
 instance of the BaseListData class.  There are rowIndex and owner 
 properties of BaseListData that you can use to manipulate the 
 selectedIndex or selectedIndices property of your dataGrid to 
select 
 a row.
 
 --- In flexcoders@yahoogroups.com, csherwood999 csherwood@ 
 wrote:
 
  I've got a datagrid with 4 columns, each with a different 
 itemRenderer.
  
  I have noticed that I can click into any of my item Renderers 
 without 
  actually selecting the entire row.  How can I force the row to 
 be 
  highlighted when the user clicks into an itemRenderer?
  
  An example with an explanation would be great!
  
  Thanks,
  
  Chad
 








 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
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/
 





[flexcoders] Re: Setting row focus when user clicks in a column using ItemRenderers

2006-06-27 Thread csherwood999
Well, that's what I'm currently doing, the problem is I haven't 
found an attribute/property that tells me what row the current cell 
is in...if you have any ideas, that would be welcome :)

Chad

--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] 
wrote:

 On Tuesday 27 June 2006 00:36, csherwood999 wrote:
  I have noticed that I can click into any of my item Renderers 
without
  actually selecting the entire row.  How can I force the row to 
be
  highlighted when the user clicks into an itemRenderer?
 
 I guess you'll need to do something in the click event handler.
 
 -- 
 Tom Chiverton
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF.  A list of members is available for inspection at the 
registered office. Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP. Regulated by the 
Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.
 
 We are pleased to announce that Halliwells LLP has been voted AIM 
Lawyer of the Year at the 2005 Growth Company Awards







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
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/
 





Re: [flexcoders] Re: Setting row focus when user clicks in a column using ItemRenderers

2006-06-27 Thread Tom Chiverton
On Tuesday 27 June 2006 13:14, csherwood999 wrote:
 Well, that's what I'm currently doing, the problem is I haven't
 found an attribute/property that tells me what row the current cell

It's something like
event.currentTarget.selectedRow

Check the docs.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
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/
 




[flexcoders] Re: Setting row focus when user clicks in a column using ItemRenderers

2006-06-27 Thread Doug Lowder
Your item renderer should have a listData property, which is an 
instance of the BaseListData class.  There are rowIndex and owner 
properties of BaseListData that you can use to manipulate the 
selectedIndex or selectedIndices property of your dataGrid to select 
a row.

--- In flexcoders@yahoogroups.com, csherwood999 [EMAIL PROTECTED] 
wrote:

 I've got a datagrid with 4 columns, each with a different 
itemRenderer.
 
 I have noticed that I can click into any of my item Renderers 
without 
 actually selecting the entire row.  How can I force the row to 
be 
 highlighted when the user clicks into an itemRenderer?
 
 An example with an explanation would be great!
 
 Thanks,
 
 Chad








 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
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/