editedItemPosition

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen 
Roy J. Tang
Sent: Thursday, September 11, 2008 2:02 AM
To: [email protected]
Subject: [flexcoders] DataGrid - how to show the editor for a particular cell?


Hi,

Say I have a datagrid with editable cells. That is, the user can click the cell 
to make the
itemEditor appear and input data. This datagrid also has a feature that if I 
click on an empty
row, I add a new record to the dataProvider and the user can input a new record.

I've implemented that click-to-create-a-new-record part; now I want to do 
something like,
when I click to create a new record, I would immediately set focus to the 
editor of a particular
column. I'm not sure how to do this - is it possible to programatically show 
the editor for a
specific column in a specific row?

Without this change, currently the user has to click twice - once to create the 
new record,
then second time to edit the field.

Is it possible? Or any other approach you guys can suggest?

Thanks!

Roy

Reply via email to