Here's the recommendation I got from Alex: It looks like the DataGrid will have the FocusManager call a setFocus method on the renderer if it exists, so if you implement setFocus on the cell, it should get called and that method should set focus to its internal textinput (as in you the developer override the setFocus method on the component to call it on the on the textinput)
You'll also need .editable=true and isCellEditor=true on the cell. Matt -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of t_msreddy Sent: Tuesday, February 28, 2006 11:45 PM To: [email protected] Subject: [flexcoders] Datagrid how to get access to cellRenderer instance I have a cellRenderer in Datagrid column which has text box and an image. I want to implement focus on tab key. I dont know how to do it. The only way i thought was to get the instance of cell renderer for that cell(itemIndex, columnIndex) and do FocusManager.setFocus (cellRendererInstance.MyText). I dont know how to do this. I am not sure if this is possible. The tabbing works by default in a datagrid: if the datagrid is editable, meaning if it doesnt have any cell renderer. I want to implement the same feature but the tabbing should be for text box inside the cellRenderer. Please help -- 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 -- 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/

