PDA

View Full Version : focus on editable grid



kamalakarreddy vancha
26 Jun 2014, 11:09 PM
Hi..
Here i have form, grid and this grid is editable.
Here i want to edit the grid values for that
here i started to enter the values from the form fields.
and am moving the field to field in the form by pressing tab.
Here i need to focus on grid first column after press the TAB key in the last field of the form
i.e after the full/Empty text field if i press the TAB key the focus will come into the grid column like screenShot2.
Please help me....


Thanks
Kamalakar Reddy V

Gary Schlosberg
6 Jul 2014, 10:48 AM
You should be able to use the specialkey (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.form.field.Text-event-specialkey) event on the last field in the form to detect tab presses, and then use the startEdit (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.grid.plugin.CellEditing-method-startEdit) method to move focus to the grid cell you want.

kamalakarreddy vancha
6 Jul 2014, 9:44 PM
thanks
now its solved.....