Hi all,
I’m new in this forum doing some basic programming with dhmlx. I have following problem:
I have attache a Tabbar to a layout cell. When I attach HTML Content with:
dhxTab.setContentHTML()
The content is cutted off when it is larger then the basic cell area. I would expect a scrollbar will generated automatically.
What’s wrong??
Kind Regards,
Gregor
Hi,
the content that you are putting in should have overflow style:
var content = “
…
”;
dhxTab.setContentHTML(tabId,content)
However, tabbar also provides showInnerScroll() method:
tabbar.showInnerScroll();
This method sets overflow:auto for a tab. This method should be called after tabs are configurated.
Hi Alexandra,
Sorry for not getting back to you earlier but I was ill and than on vacation for some time.
Thanks for the help which fixes the problem partly. It seems to me that the tabbar which is included into a layout cell did not recognize the size of the surrounding cell. Is there something I missed when attaching the tabbar to the cell??
Thanks for help!!
Kind regards, Gregor
Hi Gregor,
if you are using attachTabbar method, the sizes should be calculated correctly. Please have a look at the sample in the Suite package:
dhtmlxSuite/dhtmlxLayout/samples/04_components/04_tabbar.html
Hi Alexandra,
Ohhhh … stupid … made a mistake in the paramters with a stupid typo! Sorry!!
Problem is fixed!!!
Thanks again!!
Best, Gregor