Select row and show contextMenu at the same time

Hi.

How can I make the row to be selected, which means change the row color, when I right click on a row to show a context menu at the same time?

Thanks in advance!

Sorry, I just found out the event name, “onBeforeContextMenu”, from the following post.
viewtopic.php?f=2&t=16919