本文共 757 字,大约阅读时间需要 2 分钟。
我正在跟踪我在网上找到的示例,因为自从我在互联网上找到它以来,我知道它一定是正确的。我正在尝试在IG中搜索特定值,当找到该值时,行/行将用红色文本突出显示,在其下方是我遵循的逻辑和屏幕截图。请让我知道我想念的东西。他以员工为例,而我以汽车经销商为例。谢谢!"Here's another approach that works great:
For an IR with this query:
select EMPNO, ENAME, JOB, MGR, HIREDATE, SAL, COMM, DEPTNO,
OFFSITE
from EMP
Define for the column JOB the following Static ID: MANAGER_STATIC
Then create a DA After Refresh on Region where On True Execute the following javascript with Fire
on Page Load=ON:
this.affectedElements.find('td[headers="MANAGER_STATIC"]').each(function(i) {
var lThis = $(this);
if (lThis.text() == "MANAGER") {
lThis.parent().children().css({
"background-color": "#C0C0C0"
});
}
});
And every row that has the value of MANAGER will be highlighted and this will respect pagination.
转载地址:http://tnncl.baihongyu.com/