✍ Kashif M
Trends

Thursday, 12 September 2013


Hiding grid lines in OBIEE


By on September 12, 2013



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
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
Hiding grid lines in OBIEE



Look @ the report


Hiding grid lines in OBIEE
Hiding grid lines in OBIEE


Kashif
mkashu: Hiding grid lines in OBIEE
Review : Kashif | Kashif
Update: September 12, 2013 | Rating: 4.5

Comment for "Hiding grid lines in OBIEE"

2 comments:

  1. Does it work in 12c OBIEE?

    ReplyDelete
  2. What is point is this website if one can't copy a code!

    ReplyDelete

Blog Archive