Error if pivotTable is in not active bootstrap tabs
I saw there was many fix to solve issues about pivot table in tabs but I used navs tabs (bootstrap) and I still have the problem with the last version (2.416 / March 12, 2018).
I attach the error and the navs code used.
Thank you for the question.
Usually, “Too many columns…” warning is not connected to nav tabs. It is the limitation of the classic view caused by the growth of the frozen columns. This message appears when the frozen columns leave no space for the other cells in the pivot. Such situation usually happens when you put too many dimensions in the slice, or expand nodes and drill down levels of hierarchies in the slice on the grid. The frozen columns take too much space and leave no room for data. In this case, we recommend using the compact form or increase the width of the pivot table.
Please let me know if you have any other questions.
I’m sure it’s not my situation, I only 1 column, it’s not a problem of space (see attached file).
I can reproduce the error without problem; the error is shown when tab is not active only.
If I clicked in the second tabs when pivot table was drawn in the first tab, I’ve got error, otherwise I don’t have error.
You can test to set display property to none for pivotcontainer div tag and you will see the problem.
If I call the refresh api method when the first tab is active, the pivot is show behind the message.
Do you have suggest to fix it ?
Thank you for specifying the details. We were able to reproduce the issue on our side. The fix will be provided with minor release 2.418, ETA Apr 10.
Until then you can use
compact view type instead of
classic. Please let me know if you have other questions.
Since your fix, I don’t have error now, but when I clicked in my tab the pivotable is not show, I must to call refresh api method to show it.
Is it possible to show it without call refresh method ?
We are happy to hear that you don’t have an error now.
Concerning your question, calling
refresh() is required after the tab is visible.
Please let me know if you have other questions.