I have created report which shows parent workitems with its respective child workitems in single row.<br />
__________________<br />
<p class='bbc_indent' style='margin-left: 40px;'>Parent 1....Child 1 <br />
............Child 2 <br />
<br />
Parent 2....Child 1 <br />
............Child 2 <br />
............Child 3 <br />
__________________</p>
I used nested table to get the output.<br />
I wanted to display only those workitems (Parents) which has child workitems.<br />
Actual output is listing parents with and without child workitem. :wacko: <a class='bbc_url' href='
http://www.birt-exchange.org/org/forum/public/style_emoticons/'>http://www.birt-exchange.org/org/forum/public/style_emoticons/</a><#EMO_DIR#>/mad.gif <br />
__________________<br />
<p class='bbc_indent' style='margin-left: 40px;'>Parent 1...Child 1 <br />
...........Child 2 <br />
Parent 2...<br />
Parent 3...<br />
Parent 4...Child 1 <br />
...........Child 2 <br />
...........Child 3<br />
Parent 5...</p>
<br />
To list row with only parent-child I refer this forum<br />
Name :Hide Detail Row For Nested Table<br />
<a class='bbc_url' href='
http://www.eclipse.org/forums/index.php/m/923328/'>http://www.eclipse.org/forums/index.php/m/923328/</a> <br />
<br />
<br />
Now I am able to get required output <strong class='bbc'>but only in Birt's Web viewer</strong>. everywhere >> No output <a class='bbc_url' href='
http://www.birt-exchange.org/org/forum/public/style_emoticons/'>http://www.birt-exchange.org/org/forum/public/style_emoticons/</a><#EMO_DIR#>/mad.gif <a class='bbc_url' href='
http://www.birt-exchange.org/org/forum/public/style_emoticons/'>http://www.birt-exchange.org/org/forum/public/style_emoticons/</a><#EMO_DIR#>/eek.gif <br />
<br />
Not in excel or as html. so no output in RTC web client<br />
<br />
Please Help me to get required output in every format directly. <br />
<br />
Script Details:<br />
<p class='bbc_indent' style='margin-left: 40px;'><br />
<span class='bbc_underline'>For outer table's detail row -></span><br />
<em class='bbc'>onCreate</em><br />
<br />
if( typeof myrownum == 'undefined' ){<br />
myrownum = 1;<br />
}else{<br />
myrownum++;<br />
}<br />
<em class='bbc'><br />
onrender</em><br />
<br />
if( typeof myrenderrownum == 'undefined' ){<br />
myrenderrownum = 1;<br />
}<br />
var pgv = reportContext.getPersistentGlobalVariable(myrenderrownum);<br />
<br />
<br />
if( pgv ){<br />
this.getStyle().display = "block";<br />
}else{<br />
this.getStyle().display = "none"<br />
}<br />
myrenderrownum++;<br />
<span class='bbc_underline'><br />
For inner /nested table's detail row -></span><br />
<em class='bbc'>onCreate</em><br />
<br />
reportContext.setPersistentGlobalVariable(myrownum, "true");<br /></p>
<br />
Data Source : Jazz Data Source<br />
Rational Team concert 3.0.1<br />
<br />
Please find attached rptdesign file<br />