仅在顶点报表的某些行上显示“编辑"链接 [英] Only display 'Edit' link on certain rows on apex report
问题描述
我有以下报告结构,其中显示了全年的销售目标和产品销售.
每个产品都有两行:显示销售的行和显示销售目标的行.目前,我的报告在报告的每一行旁边都有一个编辑链接.有没有办法从sales_target行中删除编辑链接?
I have the following report structure which shows sales targets and sales for products throughout the year.
Each product will have two rows: a row showing sales and a row showing sales_target. Currently my report has an edit link next to every line on the report. Is there a way to remove the edit link from the sales_target rows?
select 'red ball'"Product",'sales'"type",'1'"jan",'11'"feb",'31'"mar",'41'"apr",'61'"may",'15'"jun",'15'"jul",'1'"aug",'1'"sep",'21'"oct",'14'"nov",'61'"dec",'Edit' "Edit record" from dual
我以为我在代码的某处写了一个条件,以仅在销售类型为sales而不是sales_target时在行上显示"edit"链接?
I thought i code write somewhere a condition on the column to only show the 'edit' link on the row if the sales type is sales and not sales_target?
有什么想法吗?谢谢.
推荐答案
通常,我使用这样的内容:
Usally i use something like this:
-
在编辑列"->列链接"->链接属性"中添加以下字符串:
In "Edit Column" -> "Column Link" -> "Link Attributes" add the folowing string:
class="#TYPE#"
将此CSS样式添加到您的页面:
Add this css style to your page:
.sales_target { display: none; }
您的链接如下所示:
<a href="#" class="sales_target">sales_target_edit</a>
or
<a href="#" class="sales">sales_edit</a>
所有带有class ="sales_target"的链接都将隐藏.
All links with class="sales_target" will hide.
这篇关于仅在顶点报表的某些行上显示“编辑"链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!