I was hoping that you could help me determine a way around a problem that I'm having with partially visible rows in the UltraWinGrid. When you have an UltraWinGrid that has a partially visible grid row and you attempt to double click that row, the row becomes fully visible and the next row is now under the mouse. The new row is then returned as the row that was double clicked. It's almost like the double click handler doesn't know that the selected row changed in between the clicks. I provided an image below so that you can see what I'm talking about when I say not fully visible. The last row shows a partial row. Any suggestions that you have are appreciated.
Thanks, Stephen
Hi Stephen,
Please let me know if I may be of any further assistance regarding this issue.
If you have any questions please let me know.
Sincerely,
Chris K
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
Thanks for getting back to me on this. I went back and looked at my initial post and noticed that it doesn't really explain the problem. I apologize for the terrible explanation. Let me try it again.
First off, the black boxes in the screenshot were only there to hide sensitive data from this post. It's not actually there in real life. I modified your sample to show what I'm talking about. When you run the example, notice that Row12 is partially visible at the bottom of the grid. When you try to double click that row, Row 13 is scrolled into view. The row on e.Row in the event handler is Row13, not Row 12 as you intended to double click. In reality, 1 click was on Row12 and the other was on Row13. We had the situation where users were thinking they were double clicking one row to open a record and they were getting an entirely different record due to this behavior.
I wrote some hack code to prevent them from selecting a row that wasn't entirely in view as a work around.
Thanks,Stephen