Hi,
Are there any examples where a DOM element is used as a container? The documentation says that this is possible:
...
"container": {
"oneOf": [
{
"type": "object",
"additionalProperties" : true,
"description": "DOM element to render report to"
},
{
"type": "string",
"description": "CSS selector for container to render report to."
}
]
},
......
but none of the ways are working for me:
adv = v.adhocView({
resource: "/public/viz/Adhoc/Table1",
container:$("#container")
});
or
adv = v.adhocView({
resource: "/public/viz/Adhoc/Table1",
container: document.getElementById("container")
});
I get the error: "An unexpected error has occurred : TypeError: e.ownerDocument is undefined"
And what is the purpose of the "additionalProperties" parameter?
Thanks
Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.