0

I want to add a header to my JQgrid without pushing a custom div right above my grid. I found the caption option which appears to create a header that looks good. However, right below the header another div appears which is ~4x the height of the header. This looks to simply be a div that allows a user to hide or unhide the entire grid.

Question 1: Is this hide/unhide supposed to be this big? My height and width are both set to auto for the grid.

Question 2: Is there a way to easily remove this hide/unhide area?

If you think you need source code or an image to show the problem let me know and I'll post it. It needs to be scrubbed of company data first, hence me not putting it in the initial post.

Joseph
  • 1,442
  • 21
  • 44

1 Answers1

1

Is this the same issue as Large header in jqGrid?

Both answers include workarounds to get rid of the huge header.

Community
  • 1
  • 1
woggles
  • 7,444
  • 12
  • 70
  • 130
  • Can't believe I missed that. Thanks! – Joseph Jan 13 '12 at 17:04
  • Yep. Couldn't accept until 5 or 10 minutes after initial post :P – Joseph Jan 13 '12 at 18:03
  • I want to add that explicit setting of the height of the `div.ui-jqgrid-titlebar` already solve the problem: see [the demo](http://www.ok-soft-gmbh.com/jqGrid/gridFloat.htm) from [the answer](http://stackoverflow.com/a/8057675/315935). To remove this hide/unhide area in the title bar one can use `hidegrid: false` option of the jqGrid. – Oleg Jan 13 '12 at 18:05