When you add a new row, dataProvider changed so DG will be refreshed 
totally, your item editing process will be eliminated at that time.
You need a callLater() to reselect .selectedIndex to the new row, it 
will be highlighted. Then try to move focus back to the renderer.

George

Alex Harui wrote:
> Are the renderers also editors?  rendererIsEditor="true".  If so, is the
> renderer an IFocusManagerComponent?
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of j_lentzz
> Sent: Tuesday, November 06, 2007 6:06 AM
> To: [email protected]
> Subject: [flexcoders] Bouncing Focus in DataGrid
>
> Hello All,
>
> I have an app that allows the user to add rows to a datagrid. The
> rows contain components that have separate item editors and renderers.
> What is happening is that after a new row is added to the datagrid
> and the user clicks on a cell that is not the first cell in the first
> row, the focus briefly goes to the first cell in the first row and
> then to the actual cell selected. It doesn't stay there long, but
> long enough to see the cell switch to the item editor and then back to
> the renderer. Has anyone else seen this or have a way to prevent it?
>
> Thanks,
>
> John
>   

Reply via email to