Home › Forums › WinForms controls › Xceed Grid for WinForms › Current cell › Reply To: Current cell
I see you use a Try…Catch-block, and just ignore the exception. Maybe you should put a breakpoint in the Catch-block, and see if an exception occurs.
I also see you use grdMenus.CurrentRow to find out what row was double-clicked. This might not always be accurate. I think it’s better to cast the sender-argument to Cell, and get the ParentRow of that cell, like this:<code>Dim cell As Cell = sender
Dim row As CellRow = cell.ParentRow</code>
PS: You should only add the double-click event once, not each time you populate the grid.
Imported from legacy forums. Posted by Tommy (had 245 views)