The commented code is not working,the uncommented code is working. in the parent js file, var tabbar or window.tabbar is created; In the case of tree, both ways it is working.
It is crashing at the following line //window.parent.tabbar = parent.dhxLayout.cells(“b”).attachTabbar();
and not moving further. Not sure about the reason for crash. BTW we are using prototype. I need assign tabbar to the global object such that it can be accessed anywhere.
window.parent.globalTabbar= parent.dhxLayout.cells(“b”).attachTabbar();
this is the only line which is crashing. The given sample is working normally, can you try with prototype and see.
Sorry, but it is almost my demo.
Please, make YOUR complete demo to check it. It can be some structure with button (with function to build a tabbar).
My demo is working (even with your changes). Please, make some one more.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan