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
Hi,
Could you kindly explain with an example how to achieve keyboard binding to the SaveCommand in a UXGridView.
Regards
Balachander
Hi Riendy,
As a workaround I have managed to achieve the above using the following
This does precisely what I wanted viz. Binding a KeyBoard combination Ctrl+Shift+S to the save command.
The above can also be achieved in the XAML by the below code by binding the SaveChangesCommand exposed by the viewmodel.
<Grid.Resources> <Intersoft:CommandReference x:Key="SaveCommand" Command="{Binding SaveChangesCommand}" /> </Grid.Resources>--> <Intersoft:CommandManager.InputBindings> <Intersoft:InputBindingCollection> <Intersoft:KeyBinding Command="{StaticResource SaveCommand}" Gesture="Control+Shift+S" /> </Intersoft:InputBindingCollection> </Intersoft:CommandManager.InputBindings>
Hi Balachander,Did you mean customize the keystroke to trigger SaveCommand in UXGridView ? For example, ctrl+s to save the changes ? So far, we do not provide a property to customize the SaveCommand. We also cannot set the KeyStroke manually to trigger SaveCommand.Would you please describe me more detail about your scenario ? If this is a common scenario, maybe our development team will consider it as user experience, so they will provide a property to handle your scenario.
Regards.Riendy
Hi Riendy, Yes I did mean customize the keystroke to Save command like ctrl + s You have already provided that for edit F2, Reject edit Esc, Enter to enter Edit Mode etc... Arrow Keys for moving across records and Fields much like excel interface It is very good and intutive.... Great Job on the UxGridview especially managing CUD with very little code The UXGridView is normally used for Data Entry Forms and hence operation without resorting to mouse would be a great advantage in terms of speed of Data Entry Hence the request for mapping Both Save and Reject Changes operation which comes up in the form of a Tick Mark and a Cross Mark at the bottom of the grid. Customization of the keystroke mapping would be very helpful like your RoutedUICommand where we can map KeyGestures... Also would be very helpful if you can provide ShortCutKeys for Movement across Tabs and fields / Activating Buttons much like how in Microsoft Excel when we press Alt key all the Shortcuts become visible !!RegardsBalachanderHi Balachander,Did you mean customize the keystroke to trigger SaveCommand in UXGridView ? For example, ctrl+s to save the changes ? So far, we do not provide a property to customize the SaveCommand. We also cannot set the KeyStroke manually to trigger SaveCommand.Would you please describe me more detail about your scenario ? If this is a common scenario, maybe our development team will consider it as user experience, so they will provide a property to handle your scenario.Regards.Riendy
Hi Balachander,
It was awesome, you solve it by your self very well.
"The UXGridView is normally used for Data Entry Forms and hence operation without resorting to mouse would be a great advantage in terms of speed of Data Entry"
This a good suggestion. As a data entry forms, users will more frequently use the keyboard instead of mouse, so it would be very advantageous if data entry processes such as SaveCommand can be done only with KeyBoard by using the shortCut. I will forward your suggestion to our development team.
Thank you very much Balachander.Regards.Riendy
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