Skip to main content
Inspiring
October 15, 2008
Question

How to cause html cfgrid header toolbar to be fixed

  • October 15, 2008
  • 5 replies
  • 1478 views
How do I cause cfgrid type=html header toolbar to be fixed? I've added buttons, but if the user scrolls, they lose sight of them. A next best thing would be to figure out how to add them to the footer like I did to the header using Ext.
This topic has been closed for replies.

5 replies

BrianOAuthor
Inspiring
October 18, 2008
Sorry. My bad. You are right. The reason my header scrolls out of sight is because of my use of cflayout/cflayoutarea. I guess I could put the buttons outside the grid to do what I was thinking, but not my preference.
BrianOAuthor
Inspiring
October 18, 2008
Maybe its from my header and footer customizations, but the header toolbar does scroll out of view. I tried to email you a screenshot, but the address from your website bounced it.
BrianOAuthor
Inspiring
October 17, 2008
I think your response was cut off. Not sure what you are saying. I have a custom paging toolbar header and footer. Perhaps if I send you a couple screen shots it would be clearer.
Inspiring
October 18, 2008
No, my last post is all there.

I don't understand what you want to do.
If you have a html cfgrid the complete grid is shown in the browser, you then have next previous buttons in the footer to scroll through the records. The page in the browser does not reload or scroll, so the toolbar should be visible.

Ken
BrianOAuthor
Inspiring
October 17, 2008
Thanks. I figured out how to add them to the footer, but did not see or figure out how to cause cfgrid type=html header toolbar to be fixed.
Inspiring
October 17, 2008
quote:

but did not see or figure out how to cause cfgrid type=html header toolbar to be fixed.

I don't know what you mean by this ?

If you want the grid header to stay at the top of the window while the user scrolls the window, then no
You will need to add paging to the toolbar.

Ken
Inspiring
October 15, 2008
Steve Cutter has a great set of tutorials for the cfgrid which will show you how to do what you want.

CFGrid Tutorial

Ken