Expand collapse or tree view functionality in reports

 Table: five continents and countries in it.

Continent Country
America USA
America Mexico
America Canada
Asia Japan
Asia India
Asia China
Australia Australia
Africa Nigeria
Africa Kenya
Europe Germany
Europe England

 I want expand collapse rows. For example in above table I want to show only five rows one for each continent with say plus button on its left. When user clicks on plus button it will expand and countries in that continents will be shown and plus button will changed to minus button. When user click on minus button all rows will collapse and so on...

I searched on this forum and internet. However, I am not able to get any useful information to expand collapse. How to achive this in Jasper reports? I am using iReports 3.6.2 as my JasperServer does not deploy reports created from new iReports.


 Wap Rau

Post Edited by waprau at 09/05/2012 09:50
waprau's picture
Joined: Sep 3 2012 - 8:12am
Last seen: 10 years 5 months ago

3 Answers:

Anyone? Have I posted it in wrong forum? Do I need to furnish more information? I thought that Japsper reports community is vibrant. I am stuck over here. Any help would be highly appreciated. 


Wap Rau

waprau's picture
Joined: Sep 3 2012 - 8:12am
Last seen: 10 years 5 months ago

did u find answer for this???

rachita.iyer27's picture
Joined: Jan 28 2014 - 1:52am
Last seen: 8 years 8 months ago

AFAIK, JS doesn't support this. There are several workarounds, but none simple.

max_max_mir's picture
Joined: Jul 21 2010 - 9:03am
Last seen: 3 years 8 months ago