PDA

View Full Version : [CLOSED][PR3] Header as a dockedComponent on Window



mitchellsimoens
10 Mar 2011, 11:37 AM
Is it valid that the Header on the Window class show up as a docked component? I specified a toolbar in my dockedItems config. In my code I try to get this toolbar by doing:


win.getDockedComponent(0):

However this returns the Header and not the toolbar. The toolbar is placed with index 1.

aconran
10 Mar 2011, 2:18 PM
Yes, header is a docked item within a panel.

Use an itemId to retrieve a reference to your toolbar easily.