0

disable collapsible only for title bar on borderlayout [closed]

asked 2012-03-01 17:59:58 +0800

mhj gravatar image mhj flag of Brazil
806 1 7

hello guys!
is there any way disable collapsible only for title bar on borderlayout?
i mean, i need to keep collapsible enabled only for button ">>"
thanks for help...

delete flag offensive retag edit

The question has been closed for the following reason "the question is answered, right answer was accepted" by mhj
close date 2013-03-07 16:32:43

3 Replies

Sort by ยป oldest newest

answered 2013-03-06 16:39:20 +0800

mhj gravatar image mhj flag of Brazil
806 1 7

now it worked! i change "westSup" for "this" in the bellow line: westSup.setWidgetOverride("doClick", "function (evt) { if (evt.domTarget != westSup.$n('colled')) westSup.$doClick(evt);}");

link publish delete flag offensive edit

answered 2012-03-15 21:15:47 +0800

jeffburton gravatar image jeffburton
21

This seems to be a common problem. In my thinking, the clicking of the collapsed bar is just wrong - instead of restoring the panel, it slides the panel over the top of the other panel, instead of adjusting the size of both. Anyway, this works:

this.setWidgetOverride("doClick_", "function (evt) { if (evt.domTarget != this.$n('colled')) this.$doClick_(evt);}");

What it does is disable the clicking of the collapsed bar. The arrow button still works.

link publish delete flag offensive edit

answered 2013-01-24 15:28:38 +0800

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

updated 2013-01-24 15:28:38 +0800

mhj gravatar image mhj flag of Brazil
806 1 7

I did what you suggested, but the button is also locked, look at fiddle example:

disable collapsible only for title bar on borderlayout

link publish delete flag offensive edit

Question tools

Follow

RSS

Stats

Asked: 2012-03-01 17:59:58 +0800

Seen: 193 times

Last updated: Mar 06 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More