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

Getting Current Row Index at CheckBoxClick event

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

2 Replies

Administrator 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 October 7, 2004 06:28 PM UTC

Thanks Clay, that works great!
Loader.
Live Chat Icon For mobile
Up arrow icon