I load a tab and then I click a button inside the page to load an asp.net gridview. When it loads the tab’s height is modified to contain all the gridview but I can see the scrollbar in both sides although having set the enableScroll function to false. Why???
Another problem happens when I have a window in the frame and I want to change the tab’s height when I change the windows content (height is increased/decreased). I’ve tried tabbar.cells(tabbar.getActiveTab()).autoSize(); as you comment in other post but it doesn’t work. Which code must I use?
In this context can I have each tab with a different height or each time that I click on a tab must I get the active’s tab height and set the tabbar??
Here I send you attached an example of what is happening and what I want.
The first tab I load has a div bigger than the tabbar’s height. I tried to use autoSize and autoReSize function to resize the tab but I get the tabbar’s height = 0 or nothing at all.
How can I resize the tab to get all the content visible without any scrollbar?
Clicking a button inside the first tab you can open a second tab which has a window. When I park the window I change the window’s height but I’d like the tab to resize too. Is this possible using an inner function?
And finally, can I have in this situation each tab with a different height o must I set the tabbar’s height each time that I click on? I
I’ve used enableAutoSize and normalize functions but it still reimais the same: tab’s height doesn’t grow.
I’ve managed to solve it changing the tabbar’s height with a manual function baed in content’s height. But I have the following problem, as I resize tabbar’s height if I open a new tab everything goes right but I click on another tab (already opened) with less height and then I click on the bigger one the content’s height has resize to the tabbar’s size (the smaller one) and hasn’t got the correct height.
Is there any way to set different heights to different tabs???
Well I managed to control tab’s height doing the following: Each time taht I open the tab in OnTabcontentLoaded event I save the tabs height into and array. Then each time that I click on a Tab I check its height and set it to the tabbar.
A bit laborious but Is works!!! It will be great if you introduce this function on the following version.
I tried using tabbar.tabWindow(tabID) but I got this error: this._content[…]._frame.contentWindow is null or is not an object so thats’ the reason why I didn’t use it.