Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by j.lagos on Apr 14, 2009 08:50
open dhtmlx forum
tabbar

I want to add multiple content to one tab.

I have to create a grid and underneath some HTML (text and some links).
How to succeed this?

Thanks,
JL
Answer posted by Alex (support) on Apr 14, 2009 09:31

You can put a container into the tabbar. This div can also contain any html elements. So, you can use multiple html elements:

<div id='parentId' style="...."><div id="gridId"></div>Some other html</div>

...

tabbar.setContent(tabId,'parentId');

...

grid = new dhtmlXGridObject('gridId');

You can use another way, as tabbar provides different loading modes. And samples will allow to choose the most appropriate mode:

dhtmlxTabbar/samples/loading_creating_tabs_content/
   

Answer posted by j.lagos on Apr 15, 2009 00:33
Thank you, that's fine.