issue to attach layout to tabbar

Hello, i try to attach layout to tabbar, but i get an error “tab.cells(“details_tab”) is null”. I use dhtmlx 3.0


<body onload="doOnLoad();">

TestConnector return this xml:

<?xml version="1.0" encoding="UTF-8"?> Details Activities

if i use addTab, all work fine. but i need to get struct of tabbar.

Help me, please!

You need to call your attaching layout as the second parameter of loadXML:

tab.loadXML("../../TestConnector", afterCall); function afterCall(){ tlay = tab.cells("details_tab").attachLayout("1C"); };

Darya, thank you very much!!

P.S. Спасибо огромное!=)

jamma, you are welcome!

P.S. Всегда рады помочь!