Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Accordion By Row and Conditional Styling.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Accordion By Row and Conditional Styling.
 Login/Join
 
Master
posted
This is an accordion by row report, taken from the manual, except that I've added styling on the 'State Rows'.
SET EXPANDBYROW=ON
TABLE FILE GGSALES
SUM BUDUNITS UNITS BUDDOLLARS DOLLARS
BY REGION
BY ST
BY CATEGORY
BY PRODUCT
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
GRID=OFF,FONT=ARIAL,$
TYPE=SUBTOTAL, BY=ST, BACKCOLOR=RGB(197 238 208), COLOR=RED,$
TYPE=TITLE, JUSTIFY=CENTER,$
ENDSTYLE
END
-EXIT  
Indeed, I see the styling on the 'State Rows' when I run this.

My requirement is to style only the State Rows if the state is IL. Therefore, I add conditional styling:
SET EXPANDBYROW=ON
TABLE FILE GGSALES
SUM BUDUNITS UNITS BUDDOLLARS DOLLARS
BY REGION
BY ST
BY CATEGORY
BY PRODUCT
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
GRID=OFF,FONT=ARIAL,$
TYPE=SUBTOTAL, BY=ST, BACKCOLOR=RGB(197 238 208), COLOR=RED, WHEN = ST EQ 'IL',$
TYPE=TITLE, JUSTIFY=CENTER,$
ENDSTYLE
END
-EXIT  

In this case, I see no styling on the 'State Rows' for Illinois.

This message has been edited. Last edited by: David Briars,




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Virtuoso
posted Hide Post
But I do.
It is most probably your version.
Even this works:
  
-* File briars01.fex
SET EXPANDBYROW=ON
TABLE FILE GGSALES
SUM BUDUNITS UNITS BUDDOLLARS DOLLARS
BY REGION
BY ST
BY CATEGORY
BY PRODUCT
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
GRID=OFF,FONT=ARIAL,$
TYPE=SUBTOTAL, BY=ST, BACKCOLOR=RGB(197 238 208), COLOR=RED, WHEN=ST EQ 'IL',$
TYPE=SUBTOTAL, BY=ST, BACKCOLOR=RGB(197 238 208), COLOR=RED, WHEN=ST EQ 'TX', $
TYPE=TITLE, JUSTIFY=CENTER,$,
ENDSTYLE
END


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

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Member
posted Hide Post
It works for me as well on 7.7.03.

~david


WebFOCUS 8.0.05
Windows- Excel, PDF
 
Posts: 21 | Location: Crystal City, VA & Kalamazoo, MI | Registered: October 11, 2010Report This Post
Master
posted Hide Post
@Danny and David

Thank you. I've opened a case and have heard back from IB - this issue is fixed in release 7.7.03 and above.

I'm on 7.7.02 now but will be upgrading to 8.0.05 soon, and will retry then.

Thanks again.
 
Posts: 822 | Registered: April 23, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Accordion By Row and Conditional Styling.

Copyright © 1996-2020 Information Builders