Get Free Trial

pivot creation at runtime

Albert Ryan Banez asked on January 8, 2021

I have a problem when creating pivot in runtime.
This is my code. As you can see, I have this variable x. I want to create grid on runtime and user can create pivot as many as he wanted. The grid and charts are showing properly but only the last grid is editable. User can only change the filter, etc in the last grid created. the first grid is not clickable and editable. How should I fix this?
pivot[x] = new Flexmonster({
container: “pivot-container” + x,
licenseKey: “xxx”,
componentFolder: “assets/plugins/flexmonster/”,
width: “100%”,
height: 430,
toolbar: true
var flex = {
“dataSource”: {
“type”: “json”, “data”: JSON.parse(obj.content)
“options”: {
“defaultDateType”: “date string”

2 answers

Illia Yatsyshyn Illia Yatsyshyn Flexmonster January 8, 2021

Thank you for contacting us.
We want to inform you that our team did not manage to reproduce the issue.
You are welcome to see the JSFiddle that we have prepared trying to achieve the described behavior.
We hope it helps.

Albert Ryan Banez January 13, 2021

okay already thanks.

This question is now closed