Dropping an element from context [message #1243763] |
Tue, 11 February 2014 12:01 |
Ragu Shree Messages: 3 Registered: February 2014 |
Junior Member |
|
|
Hi,
I have a report which have one list and under which I have 10 tables.
For every row of List dataset, all the ten table datasets were executed but eventually only one table would be having data. It is reducing the performance of the report since for every row of list, all the tables datasets were executed and validated.
List dataset
row 1--> table 2( drop all the remaining list elements from list row context)
row 2--> table 5( drop all the remaining list elements from list row context)
I have used the following code to drop an element. But its dropping the element from report context. "reportContext.getDesignHandle().findElement("table 5").drop();"
After the creation of first row which has only "table 2", all the remaining elements were dropped. So when the list second row("table 5") comes, no such element is existing and its causing an issue.
Note:
All the tables have specific name and bookmarks(data field).
Is there a way to drop element from container or component or viewer or based on bookmarks?
Please help me to fix this issue.
Thanks,
Ragu
|
|
|
Powered by
FUDForum. Page generated in 0.02544 seconds