PDA

View Full Version : auto focus on grid column when new record added - help please



danellison
12 Feb 2010, 7:28 AM
Hi everybody. I have what I should think would be a common issue. I have an editor grid with a button to add a new record to the grid store. When a new record is added I want the cursor to focus on the first field in the new data record as soon as it is added to the store. I can't for the life of me figure out how to place the focus in the editor. Can somebody give some advice please? Many thanks.

Dan

12 Feb 2010, 7:39 AM
Look at the Ext JS Editor grid example, it demonstrates that there.

danellison
12 Feb 2010, 7:58 AM
Thanks Jerry. That's what I needed. Working now.

Dan