I have created a <strong class='bbc'>BIRT Library</strong> having multiple Grids as "Report Items". Each Grid has different structure and nested elements.<br />
<br />
I can drag and drop those different Report Items to my ".rptdesign" file. But I want to add any specific grid from MyLibrary at runtime which is meeting condition.<br />
<br />
For example: <br />
Library : "MyLib"<br />
Report Items:<br />
Grid - Grid_1<br />
Grid - Grid_2<br />
Grid - Grid_3<br />
.<br />
Grid - Grid_n<br />
<br />
now <br />
if(Condition_1){<br />
report.add(MyLib.Grid_1)<br />
}else if(Condition_2){<br />
.<br />
.<br />
}else if(Condition_n){<br />
report.add(MyLib.Grid_2)<br />
}<br />
<br />
How this logic will work? Do I need to write any script if yes then what and where????<br />
<br />
Thanks in Advance...