<?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: height issue, navgrid/pager shows at bottom of window....</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/height-issue-navgridpager-shows-at-bottom-of-window</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/help/height-issue-navgridpager-shows-at-bottom-of-window/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>arbello on height issue, navgrid/pager shows at bottom of window....</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/height-issue-navgridpager-shows-at-bottom-of-window#p2137</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/height-issue-navgridpager-shows-at-bottom-of-window#p2137</guid>
        	        	<description><![CDATA[<p>Thanks Tony.&#160; height:&#39;auto&#39; is the param I was expecting 100% to work as.&#160; When I checked the CSS it all made sense.</p>
</p>
<p>Great job!</p>
]]></description>
        	        	<pubDate>Fri, 19 Sep 2008 10:17:37 +0300</pubDate>
        </item>
        <item>
        	<title>tony on height issue, navgrid/pager shows at bottom of window....</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/height-issue-navgridpager-shows-at-bottom-of-window#p2124</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/height-issue-navgridpager-shows-at-bottom-of-window#p2124</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This I will see is standart behavior.</p>
<p>What mean 50% or 100%:</p>
<p>The reason is that without a parent defined height, <br />the height:100% has nothing to factor 100% percent of, <br />and will default to a value of height:auto- auto is an "as needed value"<br />which is governed by the actual content, so that the height:100% will <br />a=only extend as far as the content demands.</p>
<p>The solution to the problem is by assigning a height value to the parent <br />container, in this case, the body element. Writing your body stlye to <br />include height 100% supplies the needed value.</p>
<p>body {<br />margin:0;<br />padding:0;<br />height:100%;<br />}</p>
<p>Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Fri, 19 Sep 2008 01:17:07 +0300</pubDate>
        </item>
        <item>
        	<title>arbello on height issue, navgrid/pager shows at bottom of window....</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/height-issue-navgridpager-shows-at-bottom-of-window#p2118</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/height-issue-navgridpager-shows-at-bottom-of-window#p2118</guid>
        	        	<description><![CDATA[<p>Hey all,</p>
<p>I&#39;ve been playing with jqGrid for a few days and have really come to love it.&#160; One issue I am having however only seems to manifest with my code and in all browsers.&#160; When I set a height: property to any percentage, 50%, 100%, the navbar/pager shows up where I believe it shouldn&#39;t.&#160; When I set to 50% height the navbar floats 50% down my screen. When set to 100% it sits on the bottom of the browser window, no matter where my recordset ends.&#160; Any ideas?</p>
<p>Simple recreation based on tutorial code:</p>
<p>&#60;link rel="stylesheet" type="text/css" media="screen" href="themes/basic/grid.css" /&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="themes/jqModal.css" /&#62;<br />&#60;script src="jquery.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="jquery.jqGrid.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jqModal.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="js/jqDnR.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script type="text/javascript"&#62;<br />jQuery(document).ready(function(){ <br />&#160; jQuery("#list").jqGrid({<br />&#160;&#160;&#160; url:&#39;data.cfm&#39;,<br />&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160; colNames:[&#39;logonID&#39;,&#39;lastName&#39;],<br />&#160;&#160;&#160; colModel :[ <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;logonID&#39;,index:&#39;logonID&#39;, width:250}, <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;lastName&#39;,index:&#39;lastName&#39;, width:250} ],<br />&#160;&#160;&#160; pager: &#39;pager&#39;,<br />&#160;&#160;&#160; rowNum:10,<br />&#160;&#160;&#160; height: &#39;50%&#39;,<br />&#160;&#160;&#160; rowList:[10,20,30],<br />&#160;&#160;&#160; sortname: &#39;logonID&#39;,<br />&#160;&#160;&#160; sortorder: "asc",<br />&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; imgpath: &#39;themes/basic/images&#39;,<br />&#160;&#160;&#160; caption: &#39;My first grid&#39;<br />&#160; }); <br />}); <br />&#60;/script&#62;</p>
<p>&#60;/head&#62;<br />&#60;body&#62;<br />&#60;table id="list" class="scroll" cellpadding="0" cellspacing="0"&#62;&#60;/table&#62;<br />&#60;div id="pager" class="scroll" style="text-align:center;"&#62;&#60;/div&#62;</p>
</p>
<p>My JSON:</p>
<pre>{total:"1",page:"1",records:"2","rows":[{id:"1",cell:["3","singer"]},{id:"2",cell:["4","smith"]}]}</pre>
</p>
<p>If this has been covered previously, please forgive me.&#160; I&#39;ve searched the forums and analyzed the examples to no avail.&#160; I am using the 3.2.4 download.</p>
]]></description>
        	        	<pubDate>Thu, 18 Sep 2008 19:05:00 +0300</pubDate>
        </item>
</channel>
</rss>