PDA

View Full Version : Fixing panel's buttontoolbar in the enclosing window



codeext
18 Jan 2013, 12:55 AM
Hi ExtJS-Friends,

i'm quite new to ExtJS, just experimenting around.
I want to realize some forms using form panels that will be shown in modal windows.

Displaying the content works so far.
The Problem is that the button toolbar scrolls in the window with all the other components.

That means if the winndow will be displayed you have to scroll down to see the buttons e.g. save, cancel
I would like to fix the toolbar in the bottom of the window, so it will be always visible.

I appreciate any examples to tryout.

Thanks a lot for your help!

Greets
codeext

skirtle
18 Jan 2013, 2:36 AM
Difficult to say without seeing your code but it sounds like you're adding the toolbar directly as an item rather than as a docked item.

Take a look at the docs for fbar and bbar, they should point you in the right direction.

codeext
18 Jan 2013, 3:54 AM
@Edit
the solution is to use the fbar of the window not of the panel!