Hello,
Does anyone know if its possible to get a css class in the table declaration. I'm using the WebFocus webservices to execute my reports so need to return everything as a HTMTABLE so I can then embed it into my .aspx page. The .aspx page is already using a css file for its styling so I would like to be able to place the styles for the returned WebFocus report in here too.
At the moment I'm doing the following:
-* File testCss.fex
TABLE FILE TENDERINFO
PRINT
QUOTEHEADERID AS 'Quote Header Id'
TENDERID AS 'Tender ID'
COMPANYNAME AS 'Company Name'
ON TABLE SET ACCESSIBLE '508'
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTMTABLE
ON TABLE SET STYLE *
TYPE=REPORT, CSSURL=noFile.css, $
TYPE=DATA, CLASS=tableData, $
ENDSTYLE
END
This is generating the following:
Quote Header Id |
Tender ID |
Company Name |
---|
1234567890 |
12345678 |
Company 1 Ltd |
|
I want to be able to have no style information contained in the generated HTML at all. Ideally, I want it to look like this:
Quote Header Id |
Tender ID |
Company Name |
---|
1234567890 |
12345678 |
Company 1 Ltd |
|
I can then reference the table in my css file as follows:
.table1 {border: 1px solid #000;}
.table1 th {font-weight: bold;}
.table1 td {padding: 0.5em;}
Does anyone know if this is possible??
Thanks
Micheal