Hide Default Cognos Toolbar
Requirement: Hide the default Cognos
Toolbar.
Solution : Using HTML scripting we can
hide this toolbar.
HTML:
Insert a HTML Item in the report header.
Copy the below mentioned code and paste it into the HTML Item.
<script type="text/javascript">
var tables =
document.getElementsByTagName("table");
var tds =
document.getElementsByTagName("td");
for (var i=0;i<tds.length;i++){
if(tds[i].id.indexOf("CVToolbar")
== 0){
tds[i].style.display = 'none';
}
}
</script>
---------------------------------------------------End ------------------------------------------------------------------------
No comments:
Post a Comment