Translate

Friday, 2 December 2011

Shahed

OBIEE Pivot Table insert a word in Top Right Cell

Place static code in Answers Request or Dashboard "Contains HTML"


<script  type="text/javascript"  language="javascript">
window.setTimeout(InsertText,100);
function InsertText() {
   if (document.body!=null)
  {
    var cols = document.getElementsByTagName('td');
      for (var x=0; x<cols.length; x++) {
  if (cols[x].className == 'PTIndentCell' && cols[x].innerHTML.indexOf('')!=-1)
    cols[x].innerHTML = 'This is the Top right woohoo';
}
   

   } else {
      window.setTimeout(InsertText,100);
   }
}

</script>
<style type="text/css">
.PTIndentCell
{
             color:#335C85;
             background-color:#ffff99;
             font-family:Arial;
             font-size:8pt;
 
             font-weight:bold;

             text-align:center;
 
             border-top:   black 1px solid;

             border-left: black 1px solid;

             border-right: black 1px solid;
          }
         
</style>

Note: only a member of this blog may post a comment.

Blog Archive



About Authors

Shahed Munir

Krishna Udathu

Shahed and Krishna are Oracle / Big Data Experts