Hi,
I'm using an UltraWinGrid (version 11.1.20111.1003).
When right clicking on a row selector, the previous selected line is kept, which is not what I expect (previous selected row should be unselected). How can I disable this behavior?
Actually I edited my answer after posting it, so yes I have another question :)
Is there an easy way to know that I'm clicking on a row selector? Do I need to check if the position of the row selector and the mouse event arg position are matching (which I would like to avoid)?
Hello Tfresnea,
Thank you for your feedback.
If you have any other questions please do not hesitate to contact us.
Thank you for you feedback.
I expected a property on the row selector to do that but your approach should provide the behavior I'm expecting in the end.
Is there an easy way to know that I'm clicking on a row selector?
Hello tfresnea,
I will provide you another approach then.
What you could do on mouse click is to verify if you clicked right button, and if you are already over an row selector, to clear the SelectedRows collection and just to select the row associated with this row selector.
If this approach suits your requirements, I could provide you also some code snippet to achieve the above.
Please feel free to let us know if you have any other questions with this matter.