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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Datagrid Cells - Doubleclick and Select Row conflict

Thread ID:

Created:

Updated:

Platform:

Replies:

4076 Apr 28,2003 08:08 AM UTC Apr 29,2003 06:21 AM UTC WinForms 1
loading
Tags: FAQ
John Pearson
Asked On April 28, 2003 08:08 AM UTC

I'm trying to combine the Doubleclick event and the Select Row FAQ's for the datagrid (5.7 and 5.42). I have successfully coded the doubleclick event to capture the row selected but I also want a single click to highlight the row. The problem lies in the sub grid_MouseUp. This is where the row is highlighted but it interrupts the doubleclick event. I really want to highlight the row on grid_MouseDown but it doesn't work. Is there a way of highlighting the row other than MouseUp? Or can I prevent MouseUp from interrupting my TextBoxMouseDownHandler which tests to see if it's a single or double click?

John Pearson
Replied On April 29, 2003 06:21 AM UTC

Okay, simply upgrade the Framework to version 1.1 and the grids doubleclick event will work like any other. > I'm trying to combine the Doubleclick event and the Select Row FAQ's for the datagrid (5.7 and 5.42). I have successfully coded the doubleclick event to capture the row selected but I also want a single click to highlight the row. The problem lies in the sub grid_MouseUp. This is where the row is highlighted but it interrupts the doubleclick event. I really want to highlight the row on grid_MouseDown but it doesn't work. Is there a way of highlighting the row other than MouseUp? Or can I prevent MouseUp from interrupting my TextBoxMouseDownHandler which tests to see if it's a single or double click?

CONFIRMATION

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.

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

;