开发者

How to put custom content in collapsed ExtJS panel bar?

开发者 https://www.devze.com 2023-03-14 22:03 出处:网络
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

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 wha开发者_JS百科t Outlook does when you collapse the Mail pane:

How to put custom content in collapsed ExtJS panel bar?

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


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号