I have a data table implemented with row selector. The row selector works fine when it is selected using the left button of the mouse. I need to display a context menu when user right clicks on a row. I can display the context menu but I also want the row to be selected before the context menu is displayed. Is it possible to select the row when user right clicks on it?
Probably you need control "selected" property manually, by setting toggleOnClick=false and make clickListener method for rowSelector.
Then you need displayEvent for menuPopup, where you got rowNumber/id from contextValue or from component. After that, you can set 'selected' property manually.