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
close icon

GridControl, DragOver/DragDrop event, looking up wich cell is hovered?

Hi, Can anyone help me with info on how to look up a grid cell in a GridControl with a mouse coordinate? I am trying to figure out wich cell i am hovering in the GridControls DragOver and DragDrop event. Thanx Peter

2 Replies

AD Administrator Syncfusion Team September 24, 2004 11:31 AM UTC

Hi Peter, Try GridRangeInfo rgCell = grid.PointToRangeInfo(new Point(e.X, e.Y)); sometimes you also need to call grid.PointToClient to convert from screen to client coordinates. Stefan


PE Peter Erikson September 24, 2004 11:35 AM UTC

That did the trick. Thanx again Stefan!

Loader.
Live Chat Icon For mobile
Up arrow icon