iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I am using the Batch Update for WebGrid
I would like the Arrow key to work the same in Edit mode as it does when not in edit mode. I would like my user to use the arrow key to move from cell to cell in edit mode - when they leave a cell, that edit should be added to the list of changes, and the user should move to the cell that the arrow points to - that cell should come up in Edit mode.
How can I do this?
Hello,
You can get all the keycode by calling alert at OnEditKeyDown event.alert(event.keyCode);
Regards,Handy
Hello Dave,
I think you can do this scenario. You need to validate it in OnEditKeyDown clientside event. check the keycode and ExitEditmode, then select nextcell and activate the edit.
Here is the code to exit edit mode and select and activate edit.
grid.ExitEdit(1, 0, 0);
grid.GetSelectedObject().ToRowObject().GetCells()[index].Select();
window.setTimeout(function () { grid.GetSelectedObject().ToRowObject().GetCells()[index].ActivateEdit(); }, 300);
However, this scenario is not recommended. Use arrow keyboard to go next cell in edit is already change its behaviour. User would hardly to type in certain letter in edit mode. They can navigate into the letter by using mouse which is a little weird in edit text.
Thanks Handy - I will try that.
Do you know the KeyCode for the various arrow keys (up, down, left, right)?
This is how Excel works - the arrow key always moves you from cell to cell.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname