Tree not getting attached to Layout Cell

Hi,
I have downloaded the latest ver 4.0.3 package and am using it to render a tree in the layout cell “b” of a 5i layout. Here’s my code below, which is not working:
////////////////////////

Operations Backend system html, body { width: 100%; height: 100%; margin: 2px; padding: 2px; overflow: hidden; } //////////////////////////////////

I get an error message in the JS Console which is attached. Kindly help me out to understand what I am really missing?

Regards
Manish


Hi
Your issue is in this line:

mytree = new mylayout.cells("b").attachTree();

You must delete “new” from it:
mytree = mylayout.cells(“b”).attachTree();

Hi Darya,
Thanks much. Issue resolved.

Regards
Manish

You are welcome!