Layout pane with header but no collapse

Hi,

I want to have a layout pane that has a header bar but I don’t want it to be collapsable

The only way I know how to make a pane non-collapsable is to do hideHeader()

but I want the header, just I dont want it to be collapsable.

also fixing the size doesn’t work as it still allows to collapse.

Hi
You may try the next way:

layout.cells("a").hideHeader(); layout.cells("a").attachWindow();

Hi
I tried that - but got an exception:

Uncaught TypeError: Object # has no method ‘attachWindow’

I create a 2E layout.
I want cell(“a”) to have an header, and not collapsable

Thanks, alon

This is a dirty trick…

layout.attachEvent("onCollapse", function(itemId){ if (itemId === "a") { this.cells("a").expand(); } });

any other idea?

Hi,

try hideArrow method:

layout.cells(“a”).hideArrow();

Thanks! it works!

FYI, The documentation miss that method.

I just searched the documentation and samples for the last hour looking for this.

Can you please try to list these functions in the API?

Thanx, we will add it asap.