Focal Point
[CLOSED] Accordion report

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

March 21, 2018, 11:32 AM
Siva1925
[CLOSED] Accordion report
Hi all,
I am trying to build an accordion report like a business tree.
The first level has departments heads their demographics like name age sex etc.
The second level has the employees who report to these department heads.
The third level has those who report to second level.

I tried the D3 charts - Datatables but accordion is not working.

Can anyone help me out.

This message has been edited. Last edited by: FP Mod Chuck,


webFOCUS 8206
Windows 10
March 21, 2018, 11:33 AM
BabakNYC
Accordion is a feature of Reports not Charts.


WebFOCUS 8206, Unix, Windows
March 21, 2018, 11:37 AM
Siva1925
Hi Babak,
The datatables has a option for accordion.
https://datatables.net/examples/api/row_details.html

But the one in webFOCUS do not show this option.

If this is wrong.
Can you tell me how i can build a report with accordion as per my requirement


webFOCUS 8206
Windows 10
March 21, 2018, 11:53 AM
Francis Mariani
Have you tried the documentation?

WebFOCUS 8.1.05M

Search for "accordion" and find WebFOCUS Release 8.1 Version 05M > Reporting Language > Creating Reports With WebFOCUS Language > Navigating Within an HTML Report.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 21, 2018, 12:10 PM
BabakNYC
If you're using InfoAssist, create a REPORT not a chart with all the columns in it, then click the Format Tab, click Accordion and Run to see if that's what you're looking for.

The D3 charts you can currently use are here: https://github.com/ibi


WebFOCUS 8206, Unix, Windows
March 21, 2018, 12:33 PM
FP Mod Chuck
In addition to what Babak said, make sure your 3 fields you want to accordion are sort fields in the report..


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
March 23, 2018, 10:14 AM
Siva1925
Thank you all
I tried the documentation.When i use accordion in WF it first shows just the customer name.
but my requirement is different.

My requirement : https://ibb.co/m7DHpn

The image is my requirement.


webFOCUS 8206
Windows 10
March 23, 2018, 12:10 PM
FP Mod Chuck
Hi Siva1925

The accordion report will not display the detail fields until the + sign is clicked on the row you want to expand.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
March 23, 2018, 12:20 PM
Siva1925
Thank you
Is there any way to build a report like this in webFOCUS?


webFOCUS 8206
Windows 10
March 26, 2018, 09:45 AM
vinodh
siva
if you are looking for creating a plain accordian report then use the below option in the appstudio ribbon while creating a report.

accordian3

if you are looking for the exact look and feel of the report in your sample below. then you have to hold the report as a html and then make the styling at the HTML level.

accordian4


WebFOCUS 8
Windows, All Outputs