jamma
#1
Hello, i try to attach layout to tabbar, but i get an error “tab.cells(“details_tab”) is null”. I use dhtmlx 3.0
test.jsp
</head>
<body onload="doOnLoad();">
</body>
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!
Darya
#2
Hello
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");
};
jamma
#3
Darya, thank you very much!!
P.S. Спасибо огромное!=)