Quantcast
Channel: BIRT Exchange Forum Feed
Viewing all articles
Browse latest Browse all 542

Hide Label and Image from Dataset fetch script.

$
0
0
Hi,

I need help in hiding a Label and Image from Dataset fetch script.
I tried below codes:

reportContext.getDesignHandle().getElementByID(123).style.display = "none"; OR
reportContext.getDesignHandle().getElementByID(123).getStyle().display = "none"; OR
reportContext.getDesignHandle().getElementByID(123).display = "none"; OR
reportContext.getDesignHandle().getElementByID(123).setProperty('display', 'none');

Above 3 didn't work but I do see setProperty actually works, it changes the 'display' to 'none' but it doesn't reflect on UI, i.e. it still shows the Label :unsure:

I am using Excel Emitter as well to show report in Excel format.

Thanks in advance.
Jai Gharge

Viewing all articles
Browse latest Browse all 542

Trending Articles