Get Free Trial

want to hide div pivot-container

Aditya asked on October 1, 2021

I have requirement such that on click  of button excel  to be download with  table fields.
But i  dont want div data to get displayed below button.
<div id=”pivot-container”></div>
 something like this  but not working
var x = document.getElementById(“pivot-container”); = “none”;
var pivot = new Flexmonster({
container: “pivot-container”,
componentFolder: “”,
width: “100%”,
height: 430,
report: {
dataSource: {
data: getData()
options: {
configuratorActive: false
when  i remove div element, it says  unable to create component. dom element with id pivot-container not found. I  dont want div to be displayed.  only button

1 answer

Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 1, 2021


Thank you for reaching out to us.
Please note that Flexmonster itself is a tool for data visualization and analysis. It cannot be used as hidden data provided or exporting tool. Therefore, it must be visible on the page to function properly.
Feel free to contact us if other questions arise.
Kind regards,

Please login or Register to Submit Answer