alan
alan

Reputation: 890

How to put custom content in collapsed ExtJS panel bar?

I have a Panel in my application that collapses to the left side of the screen. What I'd like to do is add some custom content, like icons, to the vertical bar that represents the collapsed panel. A good example would be what Outlook does when you collapse the Mail pane:

collapsed mail pane

Is there built-in support for this in ExtJS? If not, what would be the best way to go about this?

Upvotes: 2

Views: 1111

Answers (2)

Swar
Swar

Reputation: 5503

Go for a vertical toolbar in ExtJS 4.0 . Example here.

Upvotes: 1

hpavc
hpavc

Reputation: 1335

I think you want to hide the panel and replace it with a previously hidden panel that is the width you want the collapsed panel to be to support all the objects, as the objects are natively going to be supported in the title region.

Frankly this is what outlook is doing as well.

Upvotes: 2

Related Questions