Skip to Content
0

Tab Container not visible without giving height

Sep 04, 2017 at 12:11 PM

43

avatar image

Hi Experts,

I am using a tab container inside a grid which is inside a custom list item. My problem is that I have to specifically give height to tab container and then only it is visible. But specifying height is not a good option for me as the content in tab container is built dynamically so explicitly specifying height causes a scroll bar to appear which I dont want.

For a workaround , I gave following CSS:

.sapMTabContainerInnerContent{ position:relative!important; }

But this works only on Chrome and not on IE.

Please help in this regard.

Thanks,

Mansi

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Akhilesh Upadhyay Sep 04, 2017 at 06:41 PM
0

Hi,

not sure but you can wrap tab container control inside a panel control with height='auto' might work.

or paste your code here or in fiddle to help better.

Share
10 |10000 characters needed characters left characters exceeded
Sharath M G Sep 05, 2017 at 06:41 AM
0

Workaround:

Maintain a variable for the height property of the tab.

Fix it some minimum height on init. Then change the variable based on the data available in the returned model.

Regards,

Sharath

Share
10 |10000 characters needed characters left characters exceeded