<?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: Width and MSIE issue</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/width-and-msie-issue</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/width-and-msie-issue/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>snobo on Width and MSIE issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/width-and-msie-issue#p6521</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/width-and-msie-issue#p6521</guid>
        	        	<description><![CDATA[<p>FredyC, you&#39;ve touched a very actual problem, I think (and even saw on this forum) many users wishing, like me, to have the grid stretch the whole width of the container... Yeah, it&#39;s an old dilemma "resizable columns + scrollable tbody vs standard html-like table behaviour of 100% stretching".</p>
<p>Please keep us updated about your findings, meanwhile I&#39;m going to experiment in a similar vein, if I find any decent solutions I will share as well...</p>
]]></description>
        	        	<pubDate>Wed, 06 May 2009 06:35:19 +0300</pubDate>
        </item>
        <item>
        	<title>FredyC on Width and MSIE issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/width-and-msie-issue#p4403</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/width-and-msie-issue#p4403</guid>
        	        	<description><![CDATA[<p>Well, this kinds of workarounds i really don&#39;t like. Giving a user longer time to wait than necessary. I was solving this way a lot of bugs in past, when i didn&#39;t understood problem, but it&#39;s essentially wrong <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
<p>I was thinking about this and tried another approach. Whole think is wrapped to additional div which i hide (by display: none) on resize. Then IE then thinks, there is nothing and sets corrent width for container. Then i get it, set it and show back again. It seem a little bit cleaner, it&#39;s not even lagging, but there is visible resizing of this grid, because of that hiding and showing whole thing. Maybe on some faster computer it will not be so obvious. I tried also setting position of whole think to absolute and then back, but it&#39;s same result.</p>
<p>I don&#39;t know if there is better way. Initial display is not so much problem, it can be done in initialization time before table is transformed. You just get width of parent and if &#8220;width&#8221; option is set to 100% then set width of grid to that width of parent.&#160; But resizement problem still needs some hacking, so IE thinks there is nothing in there.</p>
]]></description>
        	        	<pubDate>Thu, 05 Feb 2009 03:51:53 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Width and MSIE issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/width-and-msie-issue#p4382</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/width-and-msie-issue#p4382</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I have never try this, but could you please try with setTimeout when in IE.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 05 Feb 2009 01:20:16 +0200</pubDate>
        </item>
        <item>
        	<title>FredyC on Width and MSIE issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/width-and-msie-issue#p4325</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/width-and-msie-issue#p4325</guid>
        	        	<description><![CDATA[<p>Well, i found a little dirty solution. If you know anything better, please let me know.</p>
<pre>$(window).resize(function() {<br />  $grid.setGridWidth(10,false);<br />  $grid.setGridWidth( $grid.parent().parent().width(), true );<br />});<br />$(window).resize();</pre>
</p>
<p>It simply resize grid width to 10px, so the container has right width and then grid is resized to that new width. It works fine, even resizing to 10px isn&#39;t visible, but it is &#8220;lagging&#8221; when i resize window. That&#39;s why i call it dirty <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
]]></description>
        	        	<pubDate>Tue, 03 Feb 2009 05:14:02 +0200</pubDate>
        </item>
        <item>
        	<title>FredyC on Width and MSIE issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/width-and-msie-issue#p4323</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/width-and-msie-issue#p4323</guid>
        	        	<description><![CDATA[<p>Hi. I had recently discovered this very nice plugin. Solution for width of grid is interesting, but i wonder if there is any way how to archieve standard 100% width. Simply just stretch to full width in container, where grid is held.</p>
<p>I know that because of separated header from data it&#39;s not so easy, but is there any realiable way to make this ? Maybe i&#39;m missing something obvious.</p>
<p>I tried simple solution for setting width of grid (using setGridWidth) to the $(grid).parent().parent().innerWidth() and binding to resize event of window for recalcalcute. That works fine in Firefox, but Internet Explorer (6.0) counts that width too later when there is grid already created and container has width computed from grid columns. Yes, i can get width before grid is created, but resizing window creates problem again.</p>
]]></description>
        	        	<pubDate>Tue, 03 Feb 2009 03:13:20 +0200</pubDate>
        </item>
</channel>
</rss>