View Full Version : Ok and Cancel button should follow the scroll

27 Dec 2010, 1:43 AM
My application displays a grid of images.
Ext.Dataview displays 100 rows of 5 images.

I have OK and cancel button at the bottom of the page.
The user has to go to the bottom to click Ok/Cancel button.

I need the button group(Ok & Cancel) to follow the scroll. ie) it should be in the user's view.

29 Dec 2010, 10:37 AM
how are you configuring your layout?

29 Dec 2010, 11:50 AM
Ext.Panel has the DataView( dataview holds the grid of images)
Ext.FormPanel has the DataView Panel and array of buttons.

29 Dec 2010, 12:08 PM
is the formpanel a child of another container?

29 Dec 2010, 7:29 PM
I think the easiest way is to have the button group in a separate panel that is not moved with the scroll.

29 Dec 2010, 10:02 PM
@jgarcia. Form panel is not a child. I am creating a new Form panel, embed grid view panel and button array and rendering the form panel to a div.

Any help/ suggestion is highly appreciated