As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Been digging around the forums and docs for how to get rows to have a specified background color upon hovering over a row. From what I've seen, you should be able to do something like the following and it should work. It doesn't. I'm on 8.1.05 currently.
Am I doing something wrong? Is my output type okay? Where is there a doc article that lists all possible STY report selector options (OBJECT=xxx)?
TABLE FILE CAR
PRINT CAR
BY COUNTRY
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
OBJECT=CURRENT-ROW,
HOVER-BACKCOLOR=RED,
BACKCOLOR='FUCHSIA',
$
ENDSTYLE
END
Thanks in advance!This message has been edited. Last edited by: CoolGuy,
8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
Posts: 1113 | Location: USA | Registered: January 27, 2015
Thanks David. That'd be why. So it's only for AHTML output, eh? Can someone do this for just regular HTML output somehow? That's what I'm trying to do. I've tried using CSS, etc. and nothing wants to play nice.
8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
Posts: 1113 | Location: USA | Registered: January 27, 2015
Looks like I need to freshen up on my CSS. The linked thread has some CSS that worked for some reason or rhyme despite my own CSS not working. lol
Thanks Francis!
Working code:
TABLE FILE CAR
PRINT CAR
BY COUNTRY
ON TABLE PCHOLD FORMAT HTML
-*ON TABLE SET HTMLCSS ON
-*ON TABLE SET STYLE *
-*-* Below STY rules are for AHTML only.
-*TYPE=REPORT,
-* OBJECT=CURRENT-ROW,
-* HOVER-BACKCOLOR=RED,
-* COLOR='FUCHSIA',
-*$
-*ENDSTYLE
END
-HTMLFORM BEGIN
<style>
tbody tr:hover td {
background-color: #FFEFC6;
}
</style>
-HTMLFORM END
8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
Posts: 1113 | Location: USA | Registered: January 27, 2015