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     Accordion data row align when using columnstoopen

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Accordion data row align when using columnstoopen
 Login/Join
 
<dksib>
posted
At present, I have an Accordion report that has 2(two) subheads and the data. I am having issues with getting the data row to align with the column titles when the report is calape. Both of the subheads line up with the titles. The first subhead(s) data row displays upon the first rendering of the report. The second is displayed upon clicking the first expand field.

I need to either remove the data row data besides the Expandable fields or some how align the displayed data with thier respective Column Titles.

Can someone help with this?

Thanks,
David
 
Report This Post
<JG>
posted
David,
Can you supply some repro code against the CAR file.
That way we can see what you mean and may be able to help.
 
Report This Post
<dksib>
posted
Here is a sample of the code using the CAR file.

{code}
-SET &ECHO='ALL';
SET WEBARCHIVE = ON
-*SET STYLEMODE=PAGED
DEFINE FILE CAR
callJS/A240 = '<script src="http://testexpand.js" type="text/javascript">' |
'<script>window.onload=clickItemsOpen;var columnsToOpen=5;';
BL/A1=' ';
END
TABLE FILE CAR
PRINT DEALER_COST RETAIL_COST SALES
BY COUNTRY
BY BL AS ' '
BY CAR
BY MODEL
BY BODYTYPE
ON COUNTRY RECAP
SC/I9 = SALES ;
DC/D9 = DEALER_COST;
RC/D9 = RETAIL_COST;
ON COUNTRY SUBHEAD
" <+0> <+0> ON TABLE SUBHEAD
"" "
ON TABLE SET PAGE-NUM OFF
ON TABLE SET ASNAMES ON
ON TABLE SET HTMLCSS ON
ON TABLE SET EXPANDABLE ON
-*ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
-*ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN, SQUEEZE=ON, ORIENTATION=LANDSCAPE,$
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=9, LINES-PER-PAGE=30, HEADALIGN=BODY,$
TYPE=TITLE, STYLE=BOLD,$
TYPE=TABHEADING, SIZE=12, STYLE=BOLD,$
TYPE=TABFOOTING, SIZE=12, STYLE=BOLD,$
TYPE=HEADING, SIZE=12, STYLE=BOLD,$
TYPE=FOOTING, SIZE=12, STYLE=BOLD,$
TYPE=SUBHEAD, SIZE=9, STYLE=BOLD, HEADALIGN=BODY, JUSTIFY=RIGHT,$
TYPE=SUBFOOT, SIZE=9, STYLE=BOLD, HEADALIGN=BODY, JUSTIFY=RIGHT,$
-*TYPE=DATA, BY=6, POSITION=N6, $
TYPE=SUBTOTAL, BACKCOLOR=RGB(210 210 210),$
TYPE=ACROSSVALUE, SIZE=9,$
TYPE=ACROSSTITLE, STYLE=BOLD,$
TYPE=GRANDTOTAL, BACKCOLOR=RGB(210 210 210), STYLE=BOLD,$
ENDSTYLE
END
{/code}

The testexpand. js as test27. js created by dhaven.

Thanks,

David
 
Report This Post
<dksib>
posted
Can anyone help me?
 
Report This Post
Expert
posted Hide Post
David, what i notice is that the only reason you're getting subtotals on France is that France only has one car.
all the others have multiple cars, and the subtotalling doesn't appear.
i don't know why, mind you.
Its just my only observation.

It could be perhaps that subtotalling with expandables doesn't actually work...
perhaps someone will verify...
-s.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 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     Accordion data row align when using columnstoopen

Copyright © 1996-2020 Information Builders