PDA

View Full Version : Header( HTML ) and Toolbar in North Region of a Viewport



Urkman
18 Aug 2009, 10:03 PM
Hello,

my appication uses a viewport with north, south, east and center regions.
So far everything works fine. But now my question:
At this point my north region is just a toolbar, which works fine. But now I need to add some HTML Code( a Header Image ) above this this toolbar.
How can I do this?

Thanks for your help,
Urkman

Urkman
18 Aug 2009, 10:39 PM
Hello,

I found a solution:
My north region is now a Panel:


XXX.HeaderPanel = new Ext.Panel({
region: 'north',
bbar: XXX.Toolbar,
html: '<div class="xxx-header"><img src="/images/logo.gif"></div>'
});


Greetings,
Urkman