Setting size in tab control
Posted: 18 Jan 2016
Good morning,
using spforms with sp2013, here's my structure:
.tab control
..html control
...div with height and width attribute
Problem: When the tab is not selected at page load, the size set either statically (via height and width) or via jquery is ignored. Instead the google chart inside the div is very small. When the page is reloaded with the tab being active (selected) the size is displayed correctly.
Q: Is it possible to run a javascript function when the tab is activated in order to resize the div?
Thanks,
Armin
using spforms with sp2013, here's my structure:
.tab control
..html control
...div with height and width attribute
Problem: When the tab is not selected at page load, the size set either statically (via height and width) or via jquery is ignored. Instead the google chart inside the div is very small. When the page is reloaded with the tab being active (selected) the size is displayed correctly.
Q: Is it possible to run a javascript function when the tab is activated in order to resize the div?
Thanks,
Armin