I have created report which shows parent workitems with its respective child workitems in single row.
__________________
I used nested table to get the output.
I wanted to display only those workitems (Parents) which has child workitems.
Actual output is listing parents with and without child workitem.
__________________
To list row with only parent-child I refer this forum
Name :Hide Detail Row For Nested Table
http://www.eclipse.org/forums/index.php/m/923328/
Now I am able to get required output but only in Birt's Web viewer. everywhere >> No output
Not in excel or as html. so no output in RTC web client
Please Help me to get required output in every format directly.
Script Details:
For outer table's detail row ->
onCreate
if( typeof myrownum == 'undefined' ){
myrownum = 1;
}else{
myrownum++;
}
onrender
if( typeof myrenderrownum == 'undefined' ){
myrenderrownum = 1;
}
var pgv = reportContext.getPersistentGlobalVariable(myrenderrownum);
if( pgv ){
this.getStyle().display = "block";
}else{
this.getStyle().display = "none"
}
myrenderrownum++;
For inner /nested table's detail row ->
onCreate
reportContext.setPersistentGlobalVariable(myrownum, "true");
Data Source : Jazz Data Source
Rational Team concert 3.0.1
Please find attached rptdesign file
Parent Child - With V0.3Method 1.rptdesign (92.1K)
: 0
Thanks in Advance.
__________________
Parent 1....Child 1
............Child 2
Parent 2....Child 1
............Child 2
............Child 3
__________________
............Child 2
Parent 2....Child 1
............Child 2
............Child 3
__________________
I used nested table to get the output.
I wanted to display only those workitems (Parents) which has child workitems.
Actual output is listing parents with and without child workitem.


__________________
Parent 1...Child 1
...........Child 2
Parent 2...
Parent 3...
Parent 4...Child 1
...........Child 2
...........Child 3
Parent 5...
...........Child 2
Parent 2...
Parent 3...
Parent 4...Child 1
...........Child 2
...........Child 3
Parent 5...
To list row with only parent-child I refer this forum
Name :Hide Detail Row For Nested Table
http://www.eclipse.org/forums/index.php/m/923328/
Now I am able to get required output but only in Birt's Web viewer. everywhere >> No output


Not in excel or as html. so no output in RTC web client
Please Help me to get required output in every format directly.
Script Details:
For outer table's detail row ->
onCreate
if( typeof myrownum == 'undefined' ){
myrownum = 1;
}else{
myrownum++;
}
onrender
if( typeof myrenderrownum == 'undefined' ){
myrenderrownum = 1;
}
var pgv = reportContext.getPersistentGlobalVariable(myrenderrownum);
if( pgv ){
this.getStyle().display = "block";
}else{
this.getStyle().display = "none"
}
myrenderrownum++;
For inner /nested table's detail row ->
onCreate
reportContext.setPersistentGlobalVariable(myrownum, "true");
Data Source : Jazz Data Source
Rational Team concert 3.0.1
Please find attached rptdesign file

: 0
Thanks in Advance.
