PDA

View Full Version : Collapsible but not expandable?



peachsoda03
26 Sep 2007, 11:37 AM
Hello everyone! This is my first time using extjs (I just discovered it yesterday) and so far I'm very impressed. :)

However, I was wondering if it were at all possible to make an area in a layout collapsible but not expandable? A client is hoping to have something similar to the effect here, where you can see the collapsible button circled in red but no expandable line next to it.

http://mxserver.burnsmarketing.com/comverge_jen/images/full.jpg

If this isn't possible, is it possible to give two different areas different styles for the expandable line? For example... the west area having the blue expandable line, and the east area a grey expandable line... I'm thinking I could just style it so it blends in with the background on the right.

I've tried searching some of the documentation and API, as well as the tutorials but haven't seen anything that would allow me to remove the line, but again, I'm very new at this so I may have missed something. If anyone could point me in the right direction I would be very grateful. :)

Thanks so much!

-- Jennifer

evant
26 Sep 2007, 2:45 PM
It isn't possible without modification.

What you could do is that when the panel is collapsed, you could remove the DOM element that does the expanding (you'd have to check which one using firebug).

para
27 Sep 2007, 5:13 AM
Collapsible but not expandable sounds like closable to me. Maybe making it closable would suffice?