tags:

views:

386

answers:

1

I have a EXT JS panel inside a viewport center region. I want to hide the title of the panel. How can I do it. I using xtype config for declaring the panel.

+2  A: 

Use either the header or headerAsText config option of panel to hide its title. From ExtJS API documentation:

header : Boolean

true to create the Panel's header element explicitly, false to skip creating it. If a title is set the header will be created automatically, otherwise it will not. If a title is set but header is explicitly set to false, the header will not be rendered.

and

headerAsText : Boolean

true to display the panel title in the header, false to hide it (defaults to true).

Tommi