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

Getting Current Row Index at CheckBoxClick event

Thread ID:





20014 Oct 7,2004 05:32 PM UTC Oct 7,2004 06:28 PM UTC WinForms 2
Tags: GridControl
Felix DeHerrera
Asked On October 7, 2004 05:32 PM UTC

Hi, When I click on a checkbox cell, the grid.currentcell.rowindex is still pointing at the previous row. How can I get the current row/col of the checkbox cell that was clicked? Preferably during the CheckBoxClick event. I am using the unbound grid control and VB.Net. Thanks Felix

Administrator [Syncfusion]
Replied On October 7, 2004 06:07 PM UTC

Try: Dim row As Integer Dim col As Integer Dim pt As Point = Me.grid.PointToClient(Control.MousePosition) Me.grid.PointToRowCol(pt, row, col, -1)

Administrator [Syncfusion]
Replied On October 7, 2004 06:28 PM UTC

Thanks Clay, that works great!


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