Disable collapsing in dhtmlxLayout

Hi there,

I am resubmitting this because I didn’t include my email address in the last post.

I would like to make it so my layout cannot collapse. I don’t want the collapse buttons to show up either. Is this possible?

Thank you,



please, check the answer to your previous post dhtmlx.com/docs/products/kb/inde … mal&q=8260

I have been looking for a solution to this same issue. When I click on this link I get redirected to the forum home page.

It would be nice to be able to control buttons on the layout in the same way one can on a window.

Anyway, in 2.6 how can I hide and disable the collapse buttons?

You may use the following code:


This will show/hide expand/collapse arrow, please note if you will call expand()/collapse() manuali, you need to hide arrows again.

It says hideArrow() is not a function. :neutral_face:

Hm, what version? try console.log(dhx4.version) ?

The dhtmlx version being used was dhtmlx 3.0. Apologies for the delayed reply.

Unfortunately the problem cannot be reproduced locally.
hideArrow() method works well in dhtmlxLayout 3.0
If the problem still occurs for you please, provide with a complete demo or share with a demo link, where the problem can be reconstructed.
Here you can find a tutorial about creating a complete demo:
docs.dhtmlx.com/tutorials__auxi … pport.html