
如何隐藏Cognos Viewer
2个回答
展开全部
如果是在report studo中,你需要先把列表解锁,我的COGNOS10卸载了,没法附图了,解锁在左上角菜单栏,这样你就可以通过删除表头来达到隐藏
已赞过
已踩过<
评论
收起
你对这个回答的评价是?

2024-10-27 广告
CATIA是法国达索公司推出的一款综合性CAD/CAM/CAE软件,广泛应用于机械设计、航空航天、汽车工业等领域。它具备强大的三维建模能力,支持基于实体、曲面和网格的建模。同时,CATIA也支持大型装配体的设计和管理,提供装配约束、碰撞检测...
点击进入详情页
本回答由VSH艾羽提供
展开全部
1.修改系统XML之间因此Cognos View
2. 修改URL的行为比如
Copy the url of the report (go to Cognos connection-> go to the folder
location of report-> right click on the selected report you want to run->
copy shortcut) then paste this url in the new window and at the end of this
url type *&cv.header=false&cv.toolbar=false*
3. 在报表中使用HTML代码。下面是HTML代码:
在10.1中测试成功的:
<style>
#headerBack
{
display: none;
}
.mainHeader1
{
display: none;
}
.mainViewerHeader3
{
display: none;
}
</style>
10之前的版本:
--Hide cognos viewer
<style>
.topRow
{
display:none;
}
</style>
--Hide cognos viewer
<script>
document.getElementById('CVHeader_NS_').style.display = "none";
document.getElementById('CVToolbar_NS_').style.display = "none";
if(document.getElementById('CVNavLinks_NS_')) {
document.getElementById('CVNavLinks_NS_').style.display = "none";
}
</script>
<script type="text/JavaScript">
window.onload = function()
{
if (document.getElementById("cbarCVToolbar_NS_"))
{
document.getElementById("cbarCVToolbar_NS_").style.displ
ay = 'none';
document.getElementById("CVHeader_NS_").style.display='n
one';
}
}
</script>
2. 修改URL的行为比如
Copy the url of the report (go to Cognos connection-> go to the folder
location of report-> right click on the selected report you want to run->
copy shortcut) then paste this url in the new window and at the end of this
url type *&cv.header=false&cv.toolbar=false*
3. 在报表中使用HTML代码。下面是HTML代码:
在10.1中测试成功的:
<style>
#headerBack
{
display: none;
}
.mainHeader1
{
display: none;
}
.mainViewerHeader3
{
display: none;
}
</style>
10之前的版本:
--Hide cognos viewer
<style>
.topRow
{
display:none;
}
</style>
--Hide cognos viewer
<script>
document.getElementById('CVHeader_NS_').style.display = "none";
document.getElementById('CVToolbar_NS_').style.display = "none";
if(document.getElementById('CVNavLinks_NS_')) {
document.getElementById('CVNavLinks_NS_').style.display = "none";
}
</script>
<script type="text/JavaScript">
window.onload = function()
{
if (document.getElementById("cbarCVToolbar_NS_"))
{
document.getElementById("cbarCVToolbar_NS_").style.displ
ay = 'none';
document.getElementById("CVHeader_NS_").style.display='n
one';
}
}
</script>
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询