Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make jqGrid fill its container

I am using the jQuery layout plugin and the jqGrid plugin in one of my projects and they work great except for a little problem...

I want the jqGrid to fill up completely the pane (jQuery layout pane) that contains it. Resizing the pane should resize the jqGrid, closing the pane should hide the jqGrid, etc, etc.

Both jqGrid and jQuery Layout provide callbacks but when I use them the page layout breaks horribly.

Has anyone any experience mixing jqGrid with jQuery Layout?

  1. http://www.secondpersonplural.ca/jqgriddocs/index.htm
  2. http://layout.jquery-dev.net/
like image 398
Horacio Avatar asked May 27 '10 08:05

Horacio


1 Answers

I recommend you read through resize-jqgrid-when-browser-is-resized, which discusses several techniques for resizing your grid.

like image 140
Justin Ethier Avatar answered Dec 11 '22 08:12

Justin Ethier