HI Wojtek,
I have tried your code on my Pivot and it doesnt seem to work.
It seems to be picking up the column name for the cell.innerHTML value and not the values themselves.
![]()
widget.on('ready', function(){
alert("in");
$("div[class*='--col'] div.table-grid__content__inner").map(function(i, cell) {
alert(cell.innerHTML);
switch (cell.innerHTML ) {
case "1": cell.innerHTML='FAIL';
break;
case "2": cell.innerHTML='PASS' ;
break;
case "3": cell.innerHTML='MERIT';
break;
default: cell.innerHTML=cell.innerHTML;
}
})
})
My code has an alert of the cell value that shows its taking the column name.
Am i missing something?
Regards,
Ciaran