PDA

View Full Version : Navigate arrow to move next, previous cell gridpanel in ext js 4x



vietdv
3 Dec 2013, 11:08 PM
Hello Sencha - Support Team,

Please help me implement gridpanel it can move next cell, previous cell using navigate arrow key, press Enter key to move next cell, cell editmode always active so I can input data directly same grid in windows form or Excel.
I'm using celledition mode plugin.

Thanks so much,

scottmartin
4 Dec 2013, 8:41 AM
Moved to QA, plugins is for announcements.

Kevin Jackson
6 Dec 2013, 8:06 AM
Not sure what you mean by celledition mode plugin. I am assuming that you mean our CellEditing plugin.

You should take a look at the FocusManager it is designed to handle those requirements.
http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.FocusManager

There was also an example of it in use at this location
http://stackoverflow.com/questions/10195134/gridpanel-key-navigation-on-load