Are you using editable=true?  Then editedItemRenderer should be the one.
You can also set editedItemPosition to shift editing and focus to a
cell.

 

You shouldn't need to fake a mouse event.  The TextField is handled by
the player and doesn't listen for them anyway.  Are you trying to set
focus or the insertion point?  Use setFocus or setSelection instead.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of candysmate
Sent: Saturday, September 22, 2007 1:01 PM
To: [email protected]
Subject: [flexcoders] Simulating mouse click on itemRenderer in dataGrid

 

I need to simulate that a textInput itemdenderer in a dataGrid has
just been click in/on with the mouse. My efforts with manually
dispatching an event to the itemRenderer have failed, as I do not know
how to reference it. Can anyone help please?

I can reference the grid with:

var mev:MouseEvent = new MouseEvent("click",false,false);
mydataGrid.dispatchEvent(mev);

but the itemRenderer within a dataGridColumn?

 

Reply via email to