Me gustaría anular la función onRowClick para un DataTable específico. Ya lo he hecho con un árbol y está funcionando. En este caso la selección está rota y no veo el motivo.
Aquí mi código simple:
PF('myTableWidget').onRowClick = function (event, rowElement, silent) { //do some stuff PrimeFaces.widget.DataTable.prototype.onRowClick.call(event, rowElement, silent); };Olvidé poner "esto" como primer parámetro en la llamada al método prototipo
PF('myTableWidget').onRowClick = function (event, rowElement, silent) { //do some stuff PrimeFaces.widget.DataTable.prototype.onRowClick.call(this,event, rowElement, silent); };