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 want the user to be able to enter a value and then tab to the next cell in the row enter a new value and then at the end of the row have the cursor move to a new row. As the user moves from one cell to the next i want the editing to be automatic meaning they don't have to click in the cell, the cursor is already in the cell ready for input.
What settings do i need for this?
UXGridView has keyboard gesture feature which is determined by several properties such as EditKeyGesture, EnterKeyAction, EditEnterKeyAction. Each property has specific action that you can customize. The following list details the action of each property.
EditKeyGesture
EnterKeyAction
EditEnterKeyAction
For your scenario, please try to set EditEnterKeyAction to MoveToNextEditableCell and EnterKeyAction to EnterEdit. We happen to have a sample that might suit to your required scenario. Please kindly check the live sample in this link and let us hear whether this helps or not.
This is what my gridview properties are set to and when i tab from one column to the next i am not automatically in edit mode. I have to click into the cell first. This is a Wpf app.
AutoEditOperation="True" AutoGenerateColumns="False" CanUserAddRows="True"CanUserDeleteRows="True"CanUserEditRows="True"DeleteRowCommand="{Binding DeleteRowCommand}"EditEnterKeyAction="MoveToNextEditableCell" EnterKeyAction="EnterEdit"HasChanges="{Binding HasChanges}"InsertRowCommand="{Binding InsertRowCommand}"IsBusy="{Binding IsBusy, Mode=TwoWay}" ItemsSource="{Binding Payments}" NewItem="{Binding NewPayment, Mode=TwoWay}" PrepareNewRowCommand="{Binding PrepareNewRowCommand}" QueryOperation="Client" RefreshCommand="{Binding RefreshCommand}" RejectChangesCommand="{Binding RejectChangesCommand}" RejectRowCommand="{Binding RejectRowCommand}" SaveChangesCommand="{Binding SaveChangesCommand}" SelectedItem="{Binding SelectedPayment,Mode=TwoWay}"UpdateCellCommand="{Binding UpdateCellCommand}"UpdateRowCommand="{Binding UpdateRowCommand}"ValidateRowCommand="{Binding ValidateRowCommand}" CanUserBatchUpdate="True">
What am i missing here?
I enclosed a simple sample of UXGridView in WPF project and a video which shows the cell movement and editing behavior in UXGridView as attachment. Please have the sample evaluated on your end and let me know if you find anything that I might miss.
Thank you and have a nice day.
i could not open the zip file.
Really sorry for the inconvenience. I have re-attached the sample project. Please feel free to let me know if you still have any difficulties to download the sample project.
ok this is driving me crazy. I am attaching a sample app. It uses the Product table of the Northwind database. It loads and saves the grid just fine. I just cant get it to automatically move from cell to cell in edit mode. I have to click into the cell first in order to edit it. Can you spot what i am doing wrong? Thank you for all your help. I really appreciate it. Just to let you know it a WPF app using .net 4.0 in Visual Studio 2012, Ideablade 6.1.13 and the latest r2 release of Intersoft ClientUI.
Bill
I figured out the problem. This is a bug. It has to do with Devforce and WPF and UXGridView. I ran the Silverlight Devforce example provided by Intersoft and it works fine. As you tab from cell to cell the cursor is automatically placed in edit mode in the new cell. I ran the WPF version of the same sample and it doesnt work. It does what my app is doing. You have to click in each cell first to get into edit mode. So there is a bug in the dlls used in WPF/Devforce for the UXGridView.
Thank you for the prompt response.
I have Intersoft WebUI Studio 2012 R2 installed in my local end. The reported problem, possible bug which has to do with DevForce; WPF; and UXGridView, is tested using WPF UXGridView C# Sample project (start > All Programs > Intersoft WebUI Studio 2012 R2 > WebUI Studio for WPF > Development Samples > UXGridView C# Sample).
After the project is run, I navigate and run the TemplateColumn sample page (select UXGridView > Column Template from the left pane). Unfortunately, I was unable to reproduce the reported problem. The experience of cell movement in UXGridView is similar to the UXGridView in Silverlight project as shown in the video attached on my previous post (June 13, 2013).
Please have the sample tested on your local end and feel free to let us know if you have different result.
I have created a video showing how it works on my computer. For the first new row i have to click into the cells or click an existing row first before entering a new row. Take a look at this video.
Thank you very much for the sent video.
I was able to reproduce the reported problem in my local end and have forwarded this to UXGridView development team for further investigation. This item is filed under work item #1442.
I’ll let inform you the status of this matter by updating the information in this thread.
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