Posted 8 September 2017, 2:13 pm EST
I have a spread with a single sheet. To get the appearance and behaviour correct I have created my own columnheader renderer and focus renderer. Further to this the OperationMode of the sheet is SingleSelect.
Unfortunately a right-click does not select a new row? In other words if I right-click on the sheet the row selection highlight does not move to the new row. As I'm sure hundreds have trtied to do before me, I want to have a context menu popup that is specific to the row the user right-clicked on, therefore I first need to get the row highlighted, then show my context menu.
How do I programmatically select a row when in SingleSelect mode?