PDA

View Full Version : Toolbar changing on paeg change



simondavies
19 Sep 2011, 4:01 AM
I have the follwoign viewport set up:

App.views.Viewport = Ext.extend(Ext.Panel, {
fullscreen: true,
layout: 'card',
cardSwitchAnimation: 'slide',
dockedItems: [
{
dock : 'top',
xtype: 'toolbar',
title: '<img src="res/img/generic/DMT_TT_Small.png" />',
cls: 'homeHeader'
},
],

});

Now I dont really require this on my homepage, so how woudl I dispaly a toolbar on my other pages loaded in, or if I set this liek above how cna I then amend it on another page/view. As I woudl like to chaneg the cls and title mainly?