I am using a WebGrid with EnableF2="False" and EnableOnKeyPress="True".
I have users that need to type values on rows of some colum in a WebGrid.
Is there a way for the user to type a value in a cell and then just pressing downArrow key, move the focus to the cell below, saving the data?
With the settings I am using now, after typying the value, I have to press ENTER and only after that I can press downArrow to move the focus.
I do not want to press ENTER, I just want to press downArrow key.
You can see this behavior at this link:
http://wijmo.com/demo/explore/?widget=Grid&sample=Editing
Try to change the value of DISCOUNT column and then press downArrow, note that the value is saved and the focus moved to the cell below,
Another nice issue is: try to click in the QUANTITY HEADER, note that the focus moves to the first cell
Is there a way to have these behaviors using WEBGRID?
Thanks!
Edson
Can EXcel-like features such as navigating between cells using arrow key be implemented in old ultrawebgrid (2010 v3)? This is the highly requested feature.
Hello haijunw,
Generally the old grid- UltraWebGrid has been retired and there will be no more features developed for it. You could check the following article where there’s explanation on how to manually handle this in the UltraWebGrid to have it behave in that way: http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=10016
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://ko.infragistics.com/support
Hi Maya,
After changed the CellClickActionDefault to Edit, the ultrawebgird I am using is very slow - it takes several seconds to update a cell and the UltraWebGrid1_EditKeyDownHandler event never fires. I followed the instrution you sent to me. I think I missed something. Any suggestions.
Thanks
Haijunw
Maya, Just let know that WebnumericEdit control was embedded inside cell and I do not know whether it prevents UltraWebGrid1_EditKeyDown event firing. If yes, how can I allow users to use arrow key for navigation and edit? Thanks
Hello haijunw ,
The issue is analogical to the scenario when you use a NumericEditorProvider in a WebDataGrid.
You’ll have to handle the editor’s keydown event instead and move the navigation logic there.
Let me know if you have any questions.