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

AD Administrator Syncfusion Team 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)


AD Administrator Syncfusion Team October 7, 2004 06:28 PM UTC

Thanks Clay, that works great!

Loader.
Up arrow icon