Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Hiding/showing rows without re-running the report
mailtorake
Hi,
I have figured out how to hide/display the sub rows: have a boolean (hence checkbox) parameter and attach its value to the visibility property of a row. This approach requires user to re-run the report (hence re-querying the db).
But...
Is there a way (probably using the script), to hide or show the rows instantly? ie. Once the report is displayed for the first time, toggling the show/hide should be instant and without any re-querying of the db.
Any kind of help or pointer would be greatly appreciated.
Thanks
Rakesh
Find more posts tagged with
Comments
JasonW
I just posted an example to hide rows<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/devshare/designing-birt-reports/1125-hide-row-client-side/#description'>hide
row client side - Designs & Code - BIRT Exchange</a><br />
<br />
I also posted one to hide and show group details, but it does not work over pages.<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/devshare/designing-birt-reports/1126-collapse-groups-client-side/#description'>Collapse
groups client side - Designs & Code - BIRT Exchange</a><br />
<br />
Jason
mailtorake
Hi Jason,
Thanks a lot for the quick response. I learn a lot every time you respond to my questions with examples.
My requirement is closer to your 2nd example. ie. User should be able to view or hide the details (or child rows) with a setting (mostly a checkbox to toggle) on the report page.
With your 2nd example, all the data is on the page and client side scripting is doing the show or hide of those rows, but reports generated in pdf viewer have all the rows displayed; this must be due to the fact that we cannot execute client side script for a pdf viewer. Is there any other way out?
Do the reports have to be re-run for what I'm trying to do: pdfs can also be generated with hidden or shown details?
Thanks
Rakesh
JasonW
Rakesh,
The issue is that when you are making client side mods, you are not changing the actual report design, just the renderered html document. I do not see an easy way of doing this.
Jason