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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to get row number when I double click datagrid

Thread ID:

Created:

Updated:

Platform:

Replies:

26263 Mar 17,2005 08:43 PM UTC Dec 20,2005 02:38 PM UTC Windows Forms 1
loading
Tags: FAQ
New Zealand
Asked On March 17, 2005 08:43 PM UTC

Hi Everyone, Now I’m designing a datagrid system. I stuck by double click event. I read the article http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp#q869q carefully. This method is working, but I still have some questions on this article. 1. How can I get the row number if I catch the double click event? Yes, I can get the text of the double clicked cell. But I don’t know get the row number. 2. I must double click an unselect row if I use this method. Is there a method to get the double click event if I double click a selected row? I imaged my datagrid is like that: 1.A datagrid row will be highlight(selected) when I single click a row. It is easy. 2.I can get row and column number if I double click a cell. Whatever it is selected or unselected. It is too hard to me. Could you enlighten me? Thanks

Administrator [Syncfusion]
Replied On December 20, 2005 02:38 PM UTC

Hi Pls try the attached sample.user need to get focus on cell before doubleclick >Hi Everyone, > >Now I’m designing a datagrid system. I stuck by double click event. > >I read the article http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp#q869q carefully. > >This method is working, but I still have some questions on this article. > >1. How can I get the row number if I catch the double click event? Yes, I can get the text of the double clicked cell. But I don’t know get the row number. >2. I must double click an unselect row if I use this method. Is there a method to get the double click event if I double click a selected row? > > >I imaged my datagrid is like that: > >1.A datagrid row will be highlight(selected) when I single click a row. It is easy. >2.I can get row and column number if I double click a cell. Whatever it is selected or unselected. It is too hard to me. > > >Could you enlighten me? > > >Thanks >

datagrid2.zip

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

;