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,
Thank you for this information. I have been able to successfully observe the behavior that you’ve described and I can see how this would be an inconvenience to your end-users. I have submitted this issue to our developers for review and I have created CAS-74993-Z9R1BM, for tracking purposes. I will provide you with further updates regarding the review via the case.
In the meantime, I am aware that you have determined a workaround, however just in case you are interested I have developed a sample involving one possible approach to this issue; demonstrating the use of a custom SelectionStrategyFilter.
Note: Please find the sample, attached.
If you have any questions, at all regarding this issue, please let me know.
Sincerely,Chris KDeveloper Support EngineerInfragistics, 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
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
I noticed that this thread was still without a response. I have been working on reproducing this issue, however I have not observed the anomaly that you have described. In my sample, when double clicking on any of the partially visible rows, the rows do in fact remain hidden behind whatever object is obscuring their view, in this case a generic Panel. Further, only the rows which were double clicked on remain active after the click action is complete.
It may be possible that this issue could have been a bug in NetAdvantage 9.1; in which case, I strongly recommend downloading our most current service release to take advantage of the many improvements which have been implemented. At any rate, I have attached my sample for review, where you will be able to observe the behavior I have described. Please feel free to modify this sample if you are still able to reproduce this issue.
If you have any questions at all, regarding this issue, please don’t hesitate to let me know.
Note: Please find my sample attached.