Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
javascript set html text value failed export
Migrateduser
Hi,<br />
<br />
I met a problem that when exporting report, there are some data did not exported.<br />
<br />
The unexported element is a Text, as html dynamic text. the code is following. when preview, it displayed, but can not exported while the text properties's allow export is true. <br />
Can someone give any advice, thanks firstly.<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<span id="useTextId"></span>
<script type="text/javascript">
var use = '<VALUE-OF>params["use"].value</VALUE-OF>';
var useText = "1 page";
if(use == '2'){
useText = "2 page";
}else if(use== '3'){
useText = "3 page";
}else if(use== '4'){
useText = "4 page";
}
document.getElementById("useTextId").innerHTML = useText;
</script>
</pre>
<br />
p.s. I am working on birt4.2.0<br />
<br />
Regards<br />
Jackie
Find more posts tagged with
Comments
There are no comments yet