disable collapse and remove arrows

Hi, I see a lot of discussion on here about this but nothing that has worked for me so far.

I want to make it so my layout can’t collapse, which means hiding the arrows as well. I have version 2.1. Can you tell me how to do this please?

Thank you,
Rachel

Hi,

please see the post viewtopic.php?f=5&t=16184

Hi,

That was one of the posts that I tried, but it didn’t work for me. Here is my code:

// NAV LAYOUT
var navLayout = new dhtmlXLayoutObject("left_container", "2E", "dhx_blue");

// Resource pane
navLayout.cells("a").setText("Media Packs");
navLayout.cells("a").setHeight("220");

var cell = navLayout.cells("a");
cell.childNodes[0].childNodes[0].childNodes[4].style.display = "none";

This is the error that I get: cell.childNodes[0].childNodes[0].childNodes[4] is undefined
[Break on this error] cell.childNodes[0].childNodes[0].childNodes[4].style.display = “none”;

Thanks,
Rachel

Hi,

in 2.1 you need to use

cell.childNodes[0].childNodes[4].style.display = “none”;