Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
How to hide rows in a table referenced from a library
Petr Kysela
<p>Hi</p><p>I'm trying to hide a row in a table referenced from a library report item and using the visibility property just doesn't work.</p><p> </p><p>Am I missing something?</p><p> </p><p>here is the xml from the .rptdesign file where 590 is the row item id</p><pre class="_prettyXprint"><table name="ReportItemNameX" id="3166" extends="reportLibraryNamespaceX.ReportItemNameX"> <overridden-values> <ref-entry baseId="590" id="590"> <list-property name="visibility"> <structure> <property name="format">all</property> <expression name="valueExpr" type="javascript">true</expression> </structure> </list-property> </ref-entry> <ref-entry baseId="591" id="591"/> <ref-entry baseId="2880" id="2880"/> <ref-entry baseId="593" id="593"/> <ref-entry baseId="594" id="594"/> ....</pre>
Find more posts tagged with
Comments
kclark
<p>It looks correct from the xml, can you post your rptdesign? What version of BIRT are you using?</p>
Petr Kysela
<p>Eclipse BIRT Designer Version 2.6.2.r262_v20110209</p><p> </p><p>That xml was the extract from rptdesign file</p><p> </p><p>here is the relevant rptlibrary xml</p><pre class="_prettyXprint _lang-xml"><table name="ProductNames" id="576"> <property name="style">Section</property> <property name="fontFamily">sans-serif</property> <property name="fontSize">10pt</property> <property name="dataSet">Food Pack Copy</property> <list-property name="visibility"> <structure> <property name="format">all</property> <expression name="valueExpr" type="javascript">row["UseNoneSectionData"]==false</expression> </structure> </list-property> ... <detail> <row id="590"> <cell id="591"> <property name="borderBottomColor">#000000</property> <property name="borderBottomStyle">solid</property> <property name="borderBottomWidth">1px</property> <property name="borderLeftColor">#000000</property> <property name="borderLeftStyle">solid</property> <property name="borderLeftWidth">1px</property> <property name="borderRightColor">#000000</property> <property name="borderRightStyle">solid</property> <property name="borderRightWidth">1px</property> <property name="borderTopColor">#000000</property> <property name="borderTopStyle">solid</property> <property name="borderTopWidth">1px</property> <text-data name="brandType" id="2880"> <property name="fontFamily">sans-serif</property> <property name="fontSize">10pt</property> <property name="fontWeight">bold</property> <property name="textAlign">left</property> <property name="display">inline</property> <structure name="toc"/> <expression name="valueExpr" type="javascript">i18n.getText("packCopyReport.brandType", reportContext.getLocale())</expression> <property name="contentType">html</property> </text-data> </cell> <cell id="593"> <property name="borderBottomColor">#000000</property> <property name="borderBottomStyle">solid</property> <property name="borderBottomWidth">1px</property> <property name="borderLeftColor">#000000</property> <property name="borderLeftStyle">solid</property> <property name="borderLeftWidth">1px</property> <property name="borderRightColor">#000000</property> <property name="borderRightStyle">solid</property> <property name="borderRightWidth">1px</property> <property name="borderTopColor">#000000</property> <property name="borderTopStyle">solid</property> <property name="borderTopWidth">1px</property> <data id="594"> <property name="resultSetColumn">brandType</property> </data> </cell> </row></pre>