DataTable rowSelection with contextMenu
Posted: 21 Sep 2015, 19:19
Hi,
I have a datable with p: contextMenu , the rowSelectMode is Setted to checkbox, with ajax event rowSelectCheckbox and rowUnselectCheckbox , the problem is When user does mouse right-click in a row , the checkbox of row is checked , but the object list of selection is not updated in ManagedBean , there is a Possibility to disable contextmenu with mouse right click if it is not selected before mouse click ? Or update managed bean even if the user clicks with right-click mouse?
I have a datable with p: contextMenu , the rowSelectMode is Setted to checkbox, with ajax event rowSelectCheckbox and rowUnselectCheckbox , the problem is When user does mouse right-click in a row , the checkbox of row is checked , but the object list of selection is not updated in ManagedBean , there is a Possibility to disable contextmenu with mouse right click if it is not selected before mouse click ? Or update managed bean even if the user clicks with right-click mouse?