Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
mk09123
Contributor II
Contributor II

Chart view get reset while switching the bootstrap tab

Hello there

I am using the bootstrap tab feature in our mashup, and so far everything works fine 

But when I switch the tab from one to another the chart overflow gets shown the value from start (from the left side ) it happens cause of our qlik method called qlik.resize();

If avoid using this method the data not getting loaded it's coming as blank.

Is any solution to how I can show the last value in charts when the scrollbar is there after changing the tab as well

any help?

Labels (5)
3 Replies
Junru
Contributor II
Contributor II

Hey @mk09123 ,

I just checked my mash up app. In my App I did not use bootstrap tab feature to switch tabs (one tab with a data table and one with map), but instead I used two buttons which add or remove 'hidden' class to or from the div containing the data table or map (clicking the buttons also call qlik.resize()). For me, the scroll bar of the data table stays at the same place after I switch between table or map. If you will not find a solution to your problem, this might be a workaround.

Best,
Junru

mk09123
Contributor II
Contributor II
Author

Hello Junru,

In my case whenever I toggle the tab it gets reset 

Your use the button to toggle the charts using qlik.resize(). Is that what you trying to explain?

Junru
Contributor II
Contributor II

Hello @mk09123 ,

yes, that what I meant.