Code Search for Developers
 
 
  

birt-07-14.html from BIRT at Krugle


Show birt-07-14.html syntax highlighted

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta name="GENERATOR" content="Quadralay WebWorks Publisher 2003 for FrameMaker 8.0.7.2249" />
    <meta name="TEMPLATEBASE" content="Dynamic-HTML-Eclipse-20060620" />
    <meta name="LASTUPDATED" content="06/23/06 16:57:12" />
    <title>How to conditionally hide an element</title>
    <link rel="StyleSheet" href="document.css" type="text/css" media="all" />
    <link rel="StyleSheet" href="catalog.css" type="text/css" media="all" />
<link rel="contents" title="Table of Contents" href="TOC.html" />
<link rel="first" title="First" href="TOC.html" />
<link rel="last" title="Last" href="birt-24-1.html" />
<link rel="previous" title="Previous" href="birt-07-13.html" />
<link rel="next" title="Next" href="birt-08-1.html" />

  </head>

  <body>
    <table id="SummaryNotReq1" border="0" align="right" cellpadding="4" cellspacing="0">
      <tr>
        <td>
<a accesskey="4" href="birt-07-13.html"><img id="LongDescNotReq1" src="images/prev.gif" border="0" alt="Previous Topic" /></a><a accesskey="5" href="birt-08-1.html"><img id="LongDescNotReq2" src="images/next.gif" border="0" alt="Next Topic" /></a>
        </td>
      </tr>
    </table>
<br />
<br />
<!-- AC_CONTENT -->
<a name="wp215258"> </a><h4 class="pHeading4">
How to conditionally hide an element
</h4>
<div class="pSmartList1"><ol type="1" class="pSmartList1">
<a name="wp215259"> </a><div class="pSmartList1"><li>Select the element to hide conditionally.</li></div>
<a name="wp215263"> </a><div class="pSmartList1"><li>In the property editor, choose Visibility. The Hide Element option appears, as shown in <a href="birt-07-14.html#wp238388">Figure 7-12</a>.</li></div>
<a name="wp139325"> </a><p class="pBodyRelative">
<img src="images/visibility.gif" height="169" width="399" id="wp139323" border="0" hspace="0" vspace="2"/>
</p>
<a name="wp238388"> </a><div class="pFigTitle">
Figure 7-12	 Hide Element option in Property Editor

</div>
<a name="wp139327"> </a><div class="pSmartList1"><li>Select Hide Element to specify that this element be hidden. If you want the element to always be hidden, this is all you need to do. If you want to conditionally hide the element, specify the condition.</li></div>
<a name="wp139330"> </a><div class="pSmartList1"><li>Select the report format to which you want to apply the hide condition:</li></div>
<div class="pSmartList2"><ul class="pSmartList2">
<a name="wp139331"> </a><div class="pSmartList2"><li>To apply the hide condition for all report formats, select For all outputs.</li></div>
<a name="wp139332"> </a><div class="pSmartList2"><li>To apply the hide condition for certain report formats, select For specific outputs. Also select this option if you want to apply different conditions, depending on the report format.</li></div>
</ul></div>
<a name="wp139333"> </a><div class="pSmartList1"><li>Specify the hide condition:</li></div>
<a name="wp139337"> </a><p class="pBodyRelative">
<img src="images/expressionbldrbuttonbb.gif" height="28" width="26" id="wp139335" border="0" hspace="0" vspace="2"/>
</p>
<div class="pSmartList2"><ol type="1" class="pSmartList2">
<a name="wp139338"> </a><div class="pSmartList2"><li>Choose Expression Builder.</li></div>
<a name="wp139341"> </a><div class="pSmartList2"><li>On Expression Builder, create an expression that specifies the hide condition. Remember, you have to think about when you want to hide the element, not when you want it to appear. </li></div>
<a name="wp139342"> </a><div class="pSmartList2">For example, to display the text message, Jumbo, when a loan amount exceeds $363,000.00, conditionally hide the text element using the following expression:</div>
<div class="pPreformattedRelative"><pre class="pPreformattedRelative">
row[&quot;ordertotal&quot;] &lt; 363000<a name="wp139343"> </a>
</pre></div>
<a name="wp139344"> </a><div class="pSmartList2">This expression hides the text message when loan amounts are less than $363,000.00.</div>
<a name="wp139345"> </a><div class="pSmartList2"><li>Choose OK.</li></div>
</ol></div>
<a name="wp139346"> </a><div class="pSmartList1"><li>Preview your report to test the conditional visibility.</li></div>
</ol></div>
<a name="wp139382"> </a><p class="pBody">
 
</p>
<a name="wp234536"> </a><div class="ptablefoot">
(continues)
</div>
<a name="wp234528"> </a><div class="ptablefoot">
(continues)
</div>
<!-- /AC_CONTENT -->
<!--
    <blockquote>
    <  !--BeginHiddenExpansion Dollar_BP80PageASP_Content; EndHiddenExpansion--  >
    </blockquote>
<br />
-->
<br />
<a href="../notices.html">
  <img src="images/ac-copyright.gif" width="296" height="14" border="0" alt="(c) Copyright Actuate Corporation 2006" /><br />
</a>
<br />
<!--
    <hr />
    <table id="SummaryNotReq2" align="right" border="0" cellspacing="0" cellpadding="4">
      <tr>
        <td align="right">

          <span style="font-size: 10px">
          <img src="images/actuate_logo.gif" width="186" height="42" border="0" alt="(c) Copyright Actuate Corporation 2005" /><br />
          <span style="font-size: 14px ; font-weight: bold; font-family: Arial, Helvetica, sans-serif">
            Actuate Corporation<br />
          </span>
          
        Actuate Corporation<br />
        <a href="http://www.actuate.com">http://www.actuate.com</a><br />
        <a href="mailto:info@actuate.com">info@actuate.com</a>

        <br />
        </span>
        </td>
      </tr>
    </table>
-->
    <table id="SummaryNotReq3"  border="0" align="left" cellpadding="4" cellspacing="0">
      <tr>
        <td>
<a accesskey="4" href="birt-07-13.html"><img id="LongDescNotReq3" src="images/prev.gif" border="0" alt="Previous Topic" /></a><a accesskey="5" href="birt-08-1.html"><img id="LongDescNotReq4" src="images/next.gif" border="0" alt="Next Topic" /></a>
        </td>
      </tr>
    </table>

</body>
</html>




See more files for this project here

BIRT

BIRT is an open source, Eclipse-based reporting system that integrates with your application to produce compelling reports for both web and PDF.

Project homepage: http://www.eclipse.org/birt/phoenix/
Programming language(s): Java,XML
License: gpl2

  images/
  scripts/
  TOC.html
  birt-01-1.html
  birt-01-2.html
  birt-02-1.html
  birt-02-2.html
  birt-02-3.html
  birt-02-4.html
  birt-02-5.html
  birt-02-6.html
  birt-02-7.html
  birt-03-01.html
  birt-03-02.html
  birt-03-03.html
  birt-03-04.html
  birt-03-05.html
  birt-03-06.html
  birt-03-07.html
  birt-03-08.html
  birt-03-09.html
  birt-03-10.html
  birt-03-11.html
  birt-04-1.html
  birt-04-2.html
  birt-05-1.html
  birt-05-2.html
  birt-05-3.html
  birt-05-4.html
  birt-05-5.html
  birt-05-6.html
  birt-05-7.html
  birt-06-1.html
  birt-06-2.html
  birt-07-01.html
  birt-07-02.html
  birt-07-03.html
  birt-07-04.html
  birt-07-05.html
  birt-07-06.html
  birt-07-07.html
  birt-07-08.html
  birt-07-09.html
  birt-07-10.html
  birt-07-11.html
  birt-07-12.html
  birt-07-13.html
  birt-07-14.html
  birt-08-1.html
  birt-08-2.html
  birt-09-1.html
  birt-09-2.html
  birt-10-1.html
  birt-11-1.html
  birt-11-2.html
  birt-11-3.html
  birt-11-4.html
  birt-11-5.html
  birt-12-1.html
  birt-12-2.html
  birt-12-3.html
  birt-12-4.html
  birt-12-5.html
  birt-12-6.html
  birt-13-1.html
  birt-13-2.html
  birt-14-1.html
  birt-14-2.html
  birt-15-1.html
  birt-15-2.html
  birt-15-3.html
  birt-15-4.html
  birt-15-5.html
  birt-16-01.html
  birt-16-02.html
  birt-16-03.html
  birt-16-04.html
  birt-16-05.html
  birt-16-06.html
  birt-16-07.html
  birt-16-08.html
  birt-16-09.html
  birt-16-10.html
  birt-16-11.html
  birt-16-12.html
  birt-16-13.html
  birt-16-14.html
  birt-17-1.html
  birt-17-2.html
  birt-17-3.html
  birt-17-4.html
  birt-18-1.html
  birt-18-2.html
  birt-18-3.html
  birt-18-4.html
  birt-18-5.html
  birt-18-6.html
  birt-19-1.html
  birt-19-2.html
  birt-19-3.html
  birt-19-4.html