We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

datagrid capture keys to copy currentcell to next row

Thread ID:




13743 May 9,2004 08:32 AM UTC WinForms 0
Tags: FAQ
Asked On May 9, 2004 08:32 AM UTC

Hello, I have a windows form with 3 datagrids on it, bound to the same dataview. I want to capture following keystrokes : When the user presses "*" I want the value of the currentcell to be copied into the following row of the same column. When the user presses "+" I want the value of the currentcell to be incremented with one and copied into the following row in the same column. This means the following sequence of events : 1) check if the user has pressed "*" or "+" 2) copy the value (or value + 1) of the grids currentcell (or bound dataviewfield) 3) move to the next row and make the datagridcell in the same colum the currentcell and do paste the keydown or keypress events of the datagrid don't seem to work to capture "*" or "+" ? Any examples of how to get this work ?


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon