Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1735
How to get row under Mouse cursor
posted

Hi,

Whenever the mouse cursor is on the ultragrid, i want to get the row which is under the mouse cursor.

i tired with MouseEnterElement and MouseHover event of the grid and wrote following line of code to get the row, but ended up with exception(cannot cast UltraGrid to UltraGridRow).

             UltraGridRow uRow;
             uRow = (UltraGridRow)sender;

what is the right way to get a row under mouse cursor.?

Thanks,
Chitra 

Parents Reply Children