This content has been marked as final.
Show 1 reply
-
1. Re: frozenColumns attribute of rich:extendedDataTable not working onrowmouseover(onrowmouseout)?
nijinsky Jul 1, 2011 1:46 AM (in response to nijinsky)it self-solved it though it was thought that there was a good method.
------------------------------------------------------
function eventOnRowMouseOver(obj){
var lastId = obj.id.substr(obj.id.lastIndexOf(':'), obj.length);
var otherId;
if(lastId==':f'){ otherId = ':n';}else if( lastId==':n'){ otherId = ':f';}
var element = document.getElementById(obj.id.substr(0, obj.id.lastIndexOf(':')) + otherId);
jQuery(obj).addClass('active-row');
jQuery(element).addClass('active-row');
}
------------------------------------------------------------------------