Focal Point
[CLOSED] Can't format/color drill column in Active report

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1441036492

August 07, 2008, 10:43 AM
ypatel
[CLOSED] Can't format/color drill column in Active report
Does anyone know if we can change the color of a drill down column in Active report ? I can make it work for regular HTML, PDF and excel output but it does not work for Active report. Here is the sample code that does not give me read color on drill down column, it keeps it blue(default color for drill down)
- Will appreciate all responses on this..

TABLE FILE CAR
PRINT CAR MODEL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=DATA,
COLUMN=P1,
FOCEXEC=testdrill(IBIC_server='EDASERVE' PRD=P1), COLOR='RED', $
ENDSTYLE
END

This message has been edited. Last edited by: Kerry,


-Yogesh Patel
------------------------------------------------------------------------
PROD: WF 764 on Linux Apache tomcat v5.5
DEV: WF 768 on Linux
August 07, 2008, 12:44 PM
Danny-SRL
Yogesh,

Open a case with IBI...


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

August 09, 2008, 10:08 AM
Mikel
You can change links default style with CSS ...

TABLE FILE CAR
  PRINT CAR MODEL
  ON TABLE HOLD FORMAT AHTML
  ON TABLE SET STYLE *
    TYPE=DATA, COLUMN=P1,
      FOCEXEC=testdrill(IBIC_server='EDASERVE' PRD=P1), $
  ENDSTYLE
END
-RUN

-HTMLFORM BEGIN
<style type="text/css">
  a:link     { color: red; }
  a:visited  { color: red; }
  a:hover    { color: red; }
</style>
!IBI.FIL.HOLD;
-HTMLFORM END


Regards,
Mikel


WebFOCUS 8.1.05, 8.2.01
October 08, 2010, 02:22 PM
Kulot
OR...
You can also add a Edit Condition that will always be true (example: field1 equal to field1) Then go to Select Font and go to custom colors. Choose black but change the Lum field to 1. It will still look black to the naked eye, but technically, the computer think it's not so it will not apply the default blue and purple "when clicked" settings.

How to do this (on a new edit condition):
1. Right click column for drill down
2. Under Style tab, change Column Title and Data to Column Data
3. Click Edit Condition
4. (Create new condition)
5. Click Select Font
6. Click Color
7. Select Custom Color
8. Choose black color
9. Change Lum to 1
10. Save... save... save... OK... OK... OK... DONE!
TEST!!!

Although this will only apply to all hyperlinks in the column you specified.
The previous HTML suggestion will be applied to all hyperlinks.

This message has been edited. Last edited by: Kulot,


WF767, WinServ2003, SQLServ2000
HTML