<?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: Minimize Grid Trigger</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/minimize-grid-trigger</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/minimize-grid-trigger/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>brandon on Minimize Grid Trigger</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/minimize-grid-trigger#p9191</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/minimize-grid-trigger#p9191</guid>
        	        	<description><![CDATA[<p>Thanks!</p>
]]></description>
        	        	<pubDate>Tue, 01 Sep 2009 14:49:43 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Minimize Grid Trigger</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/minimize-grid-trigger#p9109</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/minimize-grid-trigger#p9109</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Better is this:</p>
<p>$(&#8221;.ui-jqgrid-titlebar-close&#8221;, "#gbox_mygrid").click(...)</p>
<p>where mygrid is the id of the grid.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 31 Aug 2009 06:18:50 +0300</pubDate>
        </item>
        <item>
        	<title>markw65 on Minimize Grid Trigger</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/minimize-grid-trigger#p9032</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/minimize-grid-trigger#p9032</guid>
        	        	<description><![CDATA[<blockquote>
<p>However, I would still like to know how to click the minimize button via script.</p>
</blockquote>
<hr />
<p>Looks like $(".ui-jqgrid-titlebar-close", $(mygrid)).click() should do it...</p>
</p>
<p>Mark</p>
]]></description>
        	        	<pubDate>Fri, 28 Aug 2009 18:19:03 +0300</pubDate>
        </item>
        <item>
        	<title>brandon on Minimize Grid Trigger</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/minimize-grid-trigger#p9028</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/minimize-grid-trigger#p9028</guid>
        	        	<description><![CDATA[<p>I figured out the jquery sliding issue.&#160;</p>
<p>If the sliding div is position:relative, as well as other divs that are causing issues in IE, it will behave just like FF, Safari, etc.</p>
</p>
<p>However, I would still like to know how to click the minimize button via script.</p>
]]></description>
        	        	<pubDate>Fri, 28 Aug 2009 15:11:14 +0300</pubDate>
        </item>
        <item>
        	<title>brandon on Minimize Grid Trigger</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/minimize-grid-trigger#p9017</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/minimize-grid-trigger#p9017</guid>
        	        	<description><![CDATA[<p>I am using an accordian style layout where the contents of the div slideToggle (up/down) when the header is clicked.&#160; The jqGrid is found within this div.&#160;</p>
<p>The slide function works great in firefox/safari, etc... but obviously IE does not like select tags, images, absolute positioned divs, and does not like jqGrid either.&#160; The grid remains visible until the accordian has completely closed.&#160; I usually do an IE hack, IE detection, hide selects, absolute positioned, etc until the accordian is opened.&#160; When it is opened, I use a timeOut function and have them appear when the accordian is expanding.</p>
<p>I can make the grid table</p>
<p>$(<span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">"#div"</span></span><span style="font-size: x-small;">).css(</span><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">&#39;visibility&#39;</span></span><span style="font-size: x-small;">, </span><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">&#39;hidden&#39;</span></span><span style="font-size: x-small;">);</span></p>
<p>or <span style="font-size: x-small;"></span></p>
<p>setTimeout(</p>
</p>
<p><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">&#39;$("#div").css(\\&#39;visibility\\&#39;, \\&#39;visible\\&#39;)&#39;</span></span><span style="font-size: x-small;">, 300);</span></p>
</p>
<p>I would rather not have to do this, but rather would like to use the minimize table button at the top of table header because the slideUp("fast") is already used properly between each div tag.&#160; I have tried using several methods to trying to imitate a click to minimize it, however, no success.&#160; The a tag has a class of "ui-jqgrid-titlebar-close HeaderButton" with a role of "link".&#160;</p>
</p>
<p>If I am missing something here, a simple css trick (already tried overflow:hidden on the sliding div) that would allow the jqGrid to peacefully be slid up inside of the sliding div, let me know... otherwise:</p>
<p>Is there a way to imitate the click to minimize the jqGrid using script?</p>
<p><span style="font-size: x-small;"></p>
<p></span></p>
<p><span style="text-decoration: underline;"><span style="font-size: x-small;"><span style="text-decoration: underline;"></span></span></span></p>
<p>$</p>
<p>(<span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">".ui-jqgrid-titlebar-close"</span></span><span style="font-size: x-small;">).trigger(</span><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">"click"</span></span><span style="font-size: x-small;">);&#160;&#160; &#60;-- did not work for me.</span><span style="text-decoration: underline;"><span style="font-size: x-small;">$(</span></span><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">".HeaderButton"</span></span><span style="font-size: x-small;">).trigger(</span><span style="font-size: x-small; color: #2a00ff;"><span style="font-size: x-small; color: #2a00ff;">"click"</span></span><span style="font-size: x-small;">);&#160; &#60;-- only changed the minimize triangle image</span></p>
<p><span style="font-size: x-small;"></span></p>
]]></description>
        	        	<pubDate>Fri, 28 Aug 2009 10:06:52 +0300</pubDate>
        </item>
</channel>
</rss>