Focal Point
[CLOSED] ACCORDION reports - customization?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6081034392

July 29, 2008, 11:17 AM
Syed
[CLOSED] ACCORDION reports - customization?
Hi,
We are working on the ACCORDION reports in WF.
However, instead of the horizontal expand, we need the expanded column vertically downward.
Eg.
All Contracted
+ England
+ France
...
All Expanded
- England
2000 4 DOOR BERLINA
2000 GT VELOCE
- France
B210 2 DOOR AUTO
COROLLA 4 DOOR DIX AUTO

My question is whether we can utilize the existing Accordion Report feature and customize it according to this requirement?
OR we would need to write our own JS code to achieve this functionality.
Any pointers would be appreciated.

Thanks
Syed

This message has been edited. Last edited by: Kerry,


Using WF 7.1.7/Dev Studio
July 29, 2008, 01:15 PM
Danny-SRL
Syed,

I don't see how you can accomplish what you want with EXPANDABLE.

Maybe someone else can give you some js code...


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

July 30, 2008, 09:29 AM
Syed
Hi Daniel
Thanks for writing in.
Actually the accordion report feature in WebFOCUS makes me wonder why IBI could not have gone a step ahead and used javascript to provide the expand/contract the way I have mentioned in my previous post.
Nowadays, everyone seems to be asking about this kind of drill-down feature. I have worked on multiple projects, and in most of them, there was a strong need for such a drill-down (expand/contract) for several reports.
I personally feel that the next versions of WebFOCUS should have this feature!

Thanks
Syed


Using WF 7.1.7/Dev Studio
July 30, 2008, 09:58 AM
GinnyJakes
Syed,

There is an old-style way to do what I think you want to do and I used to have a fex to demonstrate it but I have deleted it. It consisted of generating a floating TOC that if I remember correctly would expand the report vertically. My old brain is having difficulty remembering but maybe someone else will recollect. I will continue thinking on this.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
July 30, 2008, 10:03 AM
GinnyJakes
Syed,

I found it. Double-click on the little image to expand it.

TABLE FILE SHORT
PRINT PROJECTED_RETURN
BY CONTINENT
BY REGION
BY COUNTRY
BY HOLDER
BY TYPE
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET COMPOUND 'BYTOC 5'
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=9,
STYLE=NORMAL,
$
ENDSTYLE
END



Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
July 30, 2008, 10:22 AM
Syed
Nice!! Thanks Ginny, for posting this workaround.
Though I'm not sure whther the client will be satisfied with this approach, but this is certainly good to know.
It would have been much better if the same fucntionality is achieved on the same HTML page as the report is.
Ginny - Is there any constraints on the no. of records/rows for this approach?

Thanks
Syed


Using WF 7.1.7/Dev Studio
July 30, 2008, 10:28 AM
Danny-SRL
Ginny,

Good thinking "out of the box" to propose TOC!


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

July 30, 2008, 10:48 AM
GinnyJakes
Thanks, Danny.

Not that I know of, Syed. Experiment.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
July 30, 2008, 10:53 AM
Syed
Sure.
Thanks for your help on this.
I'll play with this feature and see if there are any limitations.If I come up with any - I'll surely post them here for your information.

Thanks again
Syed


Using WF 7.1.7/Dev Studio
November 06, 2009, 11:02 AM
Enigma006
Ginny,

The feature is very good. Thanks for that.

After I doubleclick the image, pop window comes up with all data and options. If my data length is more scroll bars are coming in that pop-up.

Is there anyway the window can get extended without popups? Where could I customize the files related to this feature?

Thanks a lot..


8.1.05
HTML,PDF,EXL2K, Active, All
November 06, 2009, 12:58 PM
GinnyJakes
You'll have to talk to IBI about that. I just did the example and don't really have any practical experience. Sorry!


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
November 06, 2009, 02:10 PM
Enigma006
Not a problem Ginny.
I dont see much about this feature in the documentation too.do you have any?

Thanks


8.1.05
HTML,PDF,EXL2K, Active, All
November 06, 2009, 03:07 PM
GinnyJakes
Check section "Adding an HTML TOC to a Report" of the "Creating Reports with the WebFOCUS Language" manual. There are quite a number of pages on the topic. I also found this reference therein:
quote:
Tip: You can also customize the look and feel of the TOC object by editing a.css file. Go to
\ibi\DevStudioxx\ibi_html\javaassist\intl\En\toc.css. Do not forget to make a backup copy.



Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google