IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Accordion data row align when using columnstoopen
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Silver Member
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


Test wf 7.6.4, Prod wf 7.6.4 mre, oracle 10g unix, Reportcaster, Self-service
 
Posts: 46 | Location: U.S.A | Registered: August 22, 2007Reply With QuoteEdit or Delete MessageReport This Post
JG
Master
Posted Hide Post
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.
 
Posts: 949 | Registered: February 24, 2005Reply With QuoteEdit or Delete MessageReport This Post
Silver Member
Posted Hide Post
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


Test wf 7.6.4, Prod wf 7.6.4 mre, oracle 10g unix, Reportcaster, Self-service
 
Posts: 46 | Location: U.S.A | Registered: August 22, 2007Reply With QuoteEdit or Delete MessageReport This Post
Silver Member
Posted Hide Post
Can anyone help me?


Test wf 7.6.4, Prod wf 7.6.4 mre, oracle 10g unix, Reportcaster, Self-service
 
Posts: 46 | Location: U.S.A | Registered: August 22, 2007Reply With QuoteEdit or Delete MessageReport 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.




DevStu 767; wintell 767; Unix 765,Oracle: /// iplanet; Dev 765 tomcat 6;///MRE/BID/PMF
 
Posts: 2631 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Accordion data row align when using columnstoopen

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.