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)
issues while implementing tabbed view in BIRT designer
Arif shah
<p>HI,</p><p> </p><p>I have added the following html script to a text item in order to hide and show different objects and implement a tabbed view of different reports by showing and hiding them, The following code is hiding and showing a chart.</p><pre class="_prettyXprint _lang-html"><script>function Collapse(){ if (document.getElementById("Population").style.visibility == "hidden") { document.getElementById("Population").style.display="inline"; document.getElementById("Population").style.visibility="visible"; } else { document.getElementById("Population").style.display="inline"; document.getElementById("Population").style.visibility="hidden"; }}</script><button type="button" style="width: 90px; height: 30px; color: #5a698b; font: bold 12px Arial;padding-top: 1px; padding-bottom: 1px; background: #ddddff; text-align: center;"onclick="Collapse()";">Show/Hide</button><!-- The following HTML code is just an ordinary button style that can be used.--><!--<input type="submit" name="submit" value="Show/Hide" OnClick="Collapse()"/>--></pre><p>The above code is working fine as it shows and hides different objects. Now I am facing the following issues and I will appreciate if someone can help me</p><p> </p><p>1) I have four dashboards and I have placed them in a separate rows of a gride. On four different buttons, I hide the other three charts and only show one chart. I am doing this to give a feeling of moving from one tab to another. My Issue is that I want to move the shown chart to the top most position of the layout. For example, If the button shows the chart in row number four and hide the top three charts, I want the sizes of other rows to 0 so that row number 4 moves up and the charts shows up in upper area.</p><p> </p><p>3) If I sort a table or re-run report with a filter, I want the report to remember the last button selection to only show the chart that was last selected</p><p> </p><p>Let me know if you need more explanation</p><p> </p><p>Regards</p><p>Syed</p>
Find more posts tagged with
Comments
There are no comments yet