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.
Darya
#2
Hi
You may try the next way:
layout.cells("a").hideHeader();
layout.cells("a").attachWindow();
bodeg
#3
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
bodeg
#4
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();
bodeg
#6
Thanks! it works!
FYI, The documentation miss that method.
bmcgin
#7
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?
Darya
#8
Thanx, we will add it asap.