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
Hello All,
We are using WebGrid 7 in SharePoint WebPart where we are rendering the grid programatically.
We wanted to reconfigure the "Enter Key" to perform the same action as it happens in MS Excel. I discovered some code to reconfigure Enter key fucntionality in the http://www.intersoftpt.com/Community/WebGrid/Use-Enter-key-to-add-new-row/ and modified the same according to my requirement.
But the problem with this is that when we press "Enter Key" on any cell the focus goes to the cell below the current one and the new cell gets selected. But if we want to enter the data in the new cell, we will have to press Enter key once again or click on the focused cell.
When I hit enter cell below the current cell should automatically become editable.
Any help on this would be much appreciable.
Thanks,
GS
Based on my analysis on the provided user code snippet, the MoveRow function only select the cell. If you would like to enter edit mode automatically, you will need to modify the MoveRow function. Here is the snippet, this snippet is already using the new WebGrid API introduced in version 5
function MoveRow(destRow, destCell){ var grid = ISGetObject("wgTest"); grid.GetRowByElement(destRow).Select(); grid.GetCellByElement(destCell).ActivateEdit();}
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