Extjs scrollable panel

Beetlejuice picture Beetlejuice · Dec 13, 2012 · Viewed 46k times · Source

I have a panel where I insert some HTML from the server:

myPanel.update(response.responseText);

But if this text is too big, none of the scrollbars appear to navigate the text.

How can I configure a vertical scrollbar in this panel?

This is my panel definition:

{
  xtype:'panel',
  width: '100%',
  height: 300,
  id:'mypanel'
},

Thanks.

Answer

sra picture sra · Dec 13, 2012

Basically you would just add the autoScroll property like

autoScroll: true

Here's a working JSFiddle