Translate

Friday, 2 December 2011

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>

No comments:

Post a Comment

Google Big Query Clone / Copy DataSets / Tables - PROD --> TEST --> DEV Projects

Google Big Query Cloning of Datasets & Tables across GCS Projects. We searched the internet and could not find a simple cloning / ...