Hiding grid lines in a report of pivot table view, you can use this script.
How to Implement?
In a report create a new view “static text view” in that copy this script and check in (mark) the check box of “Contains HTML Makup”
[br/]<script type="text/javascript">
var tds = document.getElementsByTagName('td');
var lCSS = new Array();
for(var td=0;td<tds.length;td++){
if( tds[td].className != 'PTCC'){
continue;
}
tds[td].style.backgroundColor="#FFFFFF";
// Info on property naming: http://codepunk.hardwar.org.uk/css2js.htm
lCSS.push(tds[td].innerHTML);
}
for(var len =0; len < lCSS.length; len++){
//document.write("Bingo " + "<BR>");
//debug only
}
</script>
Hiding grid lines in OBIEE |
And also add one more static view text and place this script
<script type="text/javascript">
var tds = document.getElementsByTagName('td');
var lCSS = new Array();
for(var td=0;td<tds.length;td++){
if( tds[td].className != 'PTCC' ){
if( tds[td].className != 'PTCHC0 PT_CPLCHLD PTLC' ){
continue;
}
}
tds[td].style.backgroundColor="#FFFFFF";tds[td].style.display='none';
lCSS.push(tds[td].innerHTML);
}
for(var len =0; len < lCSS.length; len++){
}
</script>
Hiding grid lines in OBIEE |
Look @ the report
Hiding grid lines in OBIEE |
Does it work in 12c OBIEE?
ReplyDeleteWhat is point is this website if one can't copy a code!
ReplyDelete