This is a primefaces showcase on official website:
http://www.primefaces.org/showcase/ui/data/datatable/contextMenu.xhtml
when you move your mouse over the datatable, and right click, you can not get the row object which you highlighted by mouse over, but if you really clicked specific row, then you right click, you can get the row object successfully.
I want to get the row object, and provide some functions in the context menu.
Is that mean there is no such an API that you can get row object by mouse over?