<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: How to achieve fluid jqGrid height</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on How to achieve fluid jqGrid height</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height#p31004</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height#p31004</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. It works ok now.</p>
<p>Â </p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Thu, 21 Aug 2014 17:20:51 +0300</pubDate>
        </item>
        <item>
        	<title>pphillips001 on How to achieve fluid jqGrid height</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height#p30996</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height#p30996</guid>
        	        	<description><![CDATA[<p>Glad to help</p>
<p>The problem you mention is the 'Loading' sign not going away - that was just to do withÂ the missingÂ grid.locale-en.js.</p>
<p>*Edit - just spotted I had the wrong sort type on the 'thingy' column.</p>
<p>It wasn't related to the resizing. Â Here's a new link:</p>
<p><a href="http://jsfiddle.net/Ba5yK/16/" target="_blank">http://jsfiddle.net/Ba5yK/16/</a></p>
<p>I'm using this CSS injection on dozens of grids and allÂ workÂ perfectly.</p>
<p>Regards</p>
<p>Â </p>
<p>Paul</p>
]]></description>
        	        	<pubDate>Thu, 21 Aug 2014 10:55:22 +0300</pubDate>
        </item>
        <item>
        	<title>tony on How to achieve fluid jqGrid height</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height#p30945</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height#p30945</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>Thanks for the code and the idea , but there is a problem when we try to sort.</p>
<p>Â </p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Mon, 11 Aug 2014 15:17:02 +0300</pubDate>
        </item>
        <item>
        	<title>pphillips001 on How to achieve fluid jqGrid height</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height#p30932</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height#p30932</guid>
        	        	<description><![CDATA[<p>I know this question is old, but the reply is a clunky and slow.</p>
<p>Here's a CSS approach:</p>
<p><a href="http://jsfiddle.net/Ba5yK/11/" target="_blank">http://jsfiddle.net/Ba5yK/11/</a></p>
<p>Add this to the grid definition (change the name of gridName to that of your grid)</p>
<blockquote>
<p>
beforeRequest: function () {<br />
 Â  setTimeout(function () {<br />
 Â  Â  var gridName = 'grid';<br />
 Â  Â  $('#gbox_' + gridName).css({<br />
 Â  Â  Â  position: 'absolute',<br />
 Â  Â  Â  top: 0,<br />
 Â  Â  Â  bottom: $('#gbox_' + gridName + ' .ui-pager-control').outerHeight() + 'px',<br />
 Â  Â  Â  width: '100%',<br />
 Â  Â  Â  height: '100%'<br />
 Â  Â  });<br />
 Â  Â  $('#gbox_' + gridName + ' .ui-jqgrid-view').css({ 'height': '100%' });</p>
<p>Â  Â  $('#gbox_' + gridName + ' .ui-jqgrid-bdiv').css({<br />
 Â  Â  Â  position: 'absolute',<br />
 Â  Â  Â Â top: $('#gbox_' + gridName + ' .ui-jqgrid-titlebar').outerHeight() + $('#gbox_' + gridName + ' .ui-jqgrid-hbox').outerHeight() + 'px',<br />
 Â  Â  Â Â bottom: 0,<br />
 Â  Â  Â Â left: 0,<br />
 Â  Â  Â Â right: 0,<br />
 Â  Â  Â Â height: '',<br />
 Â  Â  Â Â width: ''<br />
 Â  Â  });</p>
<p>Â  }, 100);<br />
 }</p>
</blockquote>
]]></description>
        	        	<pubDate>Fri, 08 Aug 2014 17:13:36 +0300</pubDate>
        </item>
        <item>
        	<title>kobruleht on How to achieve fluid jqGrid height</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height#p26448</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height#p26448</guid>
        	        	<description><![CDATA[<p>Use this method:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6215' value='Select Code' data-codeid='sfcode6215' /></p>
<div class='sfcode' id='sfcode6215'>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(window).resize(function () { resizeGrid() });</p>
</div>
<p><input type='button' class='sfcodeselect' name='sfselectit9891' value='Select Code' data-codeid='sfcode9891' /></p>
<div class='sfcode' id='sfcode9891'>
<p>&#60;script&#62;</p>
<p>function resizeGrid() {<br />&#160; setTimeout( function() {<br />&#160;&#160;&#160; var toppager_height=$(&#34;#grid_toppager&#34;).outerHeight(true),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; header_height=$(&#34;div#gview_&#34;+$grid[0].id+&#34; &#62; div.ui-jqgrid-hdiv&#34;).outerHeight(true);<br />&#160;&#160; var height = $(window).height()-$(&#39;#grid1container&#39;)[0].offsetTop-toppager_height-header_height-2;</p>
<p>&#160;&#160; $grid.jqGrid(&#34;setGridWidth&#34;, $(&#39;#grid1container&#39;).width() , false);<br />&#160;&#160; if (height&#62;60)<br />&#160;&#160;&#160;&#160; $grid.jqGrid(&#39;setGridHeight&#39;, height );<br />&#160; }, 100 );<br />&#160; }</p>
<p>&#160;&#160;&#160; &#60;/script&#62;</p>
<p>&#160;&#160;&#160; &#60;div id=&#34;grid1container&#34; style=&#34;width: 100%&#34;&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;table id=&#34;grid&#34;&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/table&#62;<br />&#160;&#160;&#160; &#60;/div&#62;</p>
</div>
]]></description>
        	        	<pubDate>Sun, 22 Apr 2012 22:27:00 +0300</pubDate>
        </item>
        <item>
        	<title>Vincent Ghomus on How to achieve fluid jqGrid height</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height#p26296</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/how-to-achieve-fluid-jqgrid-height#p26296</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>&#160;&#160;&#160; I need to achieve fluid property in height for jqGrid. As far as i searched, I could see&#160; fluid property only in width. I&#39;m using "jquery.jqGrid.fluid.js" for achieving fluid property in width. When we use a high resolution monitor the grid may occupy only small potion of it. So how to expand the grid height and pagination also need to be changed according resolution changes. For me the grid height only expands, but pagination not happening. I&#39;ve uploaded my grid&#39;s snap in the following link:&#160;&#160;<a rel="nofollow" href="http://www.2shared.com/photo/6l2Objaq/jqGrid.html" target="_blank">2shared.com/photo/6l2Objaq/jqGrid.html</a>&#160;. Please help me.</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Thu, 05 Apr 2012 08:11:12 +0300</pubDate>
        </item>
</channel>
</rss>