<?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: Expand All and Collapse All Functionality in Tree Grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid</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/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Maverick on Expand All and Collapse All Functionality in Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p24225</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p24225</guid>
        	        	<description><![CDATA[<p>I simply created a new pager button:</p>
<pre>jQuery("#mygrid").jqGrid(&#39;navGrid&#39;, "#pager").jqGrid(&#39;navButtonAdd&#39;, "#pager",{
    caption: "Expand/Collapse All",
    buttonicon: "ui-icon-triangle-2-n-s",
    onClickButton: function() {
        $("#mygrid").find(".treeclick").trigger(&#39;click&#39;);
    },
    position: "last",
    title: "Expand/Collapse All",
    cursor: "pointer"
});
</pre>
]]></description>
        	        	<pubDate>Fri, 12 Aug 2011 00:37:00 +0300</pubDate>
        </item>
        <item>
        	<title>jmav on Expand All and Collapse All Functionality in Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p22523</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p22523</guid>
        	        	<description><![CDATA[<p>Tony did you makeit to do the method expand all?</p>
]]></description>
        	        	<pubDate>Wed, 23 Mar 2011 13:20:13 +0200</pubDate>
        </item>
        <item>
        	<title>adamovic on Expand All and Collapse All Functionality in Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p19482</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p19482</guid>
        	        	<description><![CDATA[<p>Hey tony,</p>
<p>could you make an (optional) expand all / callapse all buton in the header of jqgrid&#39;s containing subgrids? That feature seems to be convenient for some.</p>
</p>
<blockquote>
<p>tony said:</p>
</blockquote>
<blockquote>
<p>HEllo,</p>
<p>Try this (Not tested)</p>
<p>$(".treeclick","#mygrid").each(function() {</p>
<p>if($(this).hasClass("tree-plus") $(this).trigger("click");</p>
<p>});</p>
<p>Regards</p>
<p>Tony</p>
</blockquote>
<hr />
]]></description>
        	        	<pubDate>Thu, 02 Sep 2010 12:00:06 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Expand All and Collapse All Functionality in Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p10342</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p10342</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I will prepare such methods for 3.6 release</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 02 Oct 2009 10:27:02 +0300</pubDate>
        </item>
        <item>
        	<title>fuhrysteve on Expand All and Collapse All Functionality in Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p10249</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p10249</guid>
        	        	<description><![CDATA[<p>Hey Tony,</p>
<p>The latest version of course! 3.5.3</p>
]]></description>
        	        	<pubDate>Tue, 29 Sep 2009 11:31:03 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Expand All and Collapse All Functionality in Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p10242</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p10242</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Which version of jqGrid do you use?</p>
]]></description>
        	        	<pubDate>Tue, 29 Sep 2009 11:19:41 +0300</pubDate>
        </item>
        <item>
        	<title>fuhrysteve on Expand All and Collapse All Functionality in Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p10204</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p10204</guid>
        	        	<description><![CDATA[<p>Firing the click event on tree-plus is expanding rows, but it is appending them all to the bottom of the table instead of beneath their parents.</p>
</p>
<p>Has anyone found a workaround to achieve a reliable &#8220;Expand All&#8221; feature?</p>
</p>
<p>Btw, here&#39;s what I use for Collapse All &#8212; works great:</p>
<pre>$(".treeclick","table#mygrid").each(function() {<br /><br />	if($(this).hasClass("tree-minus")) {<br /><br />		$(this).trigger("click");<br /><br />	}<br /><br />});</pre>
]]></description>
        	        	<pubDate>Mon, 28 Sep 2009 12:38:59 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Expand All and Collapse All Functionality in Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p7121</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p7121</guid>
        	        	<description><![CDATA[<p>Hello</p>
<p>If you return only the root nodes you will have to spare a couple of time. Using tree grid in relative big nodes from server slow down the grid because we needed a couple of client side processing to construct the tree.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 09 Jun 2009 05:17:04 +0300</pubDate>
        </item>
        <item>
        	<title>mnvinod on Expand All and Collapse All Functionality in Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p7107</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p7107</guid>
        	        	<description><![CDATA[<p>Thanks a lot Tony. Its working.</p>
<p>I do have one more query. I am using the following code to refresh the tree grid.</p>
<p><span class="code"><span style="color: #003366; font-family: Palatino Linotype;">jQuery("#grid_id").trigger("reloadGrid");&#160;</span></span></p>
<p><span class="code"><span style="color: #003366; font-family: Palatino Linotype;">But, it is taking considerable amount of time to refresh the tree grid. Is there any other way to refresh the tree grid&#160;which&#160;minimizes the time taken to refresh.</span></span></p></p>
]]></description>
        	        	<pubDate>Tue, 09 Jun 2009 00:17:25 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Expand All and Collapse All Functionality in Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p7041</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p7041</guid>
        	        	<description><![CDATA[<p>HEllo,</p>
<p>Try this (Not tested)</p>
<p>$(".treeclick","#mygrid").each(function() {</p>
<p>if($(this).hasClass("tree-plus") $(this).trigger("click");</p>
<p>});</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 04 Jun 2009 03:52:48 +0300</pubDate>
        </item>
        <item>
        	<title>mnvinod on Expand All and Collapse All Functionality in Tree Grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p7016</link>
        	<category>TreeGrid</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/treegrid/expand-all-and-collapse-all-functionality-in-tree-grid#p7016</guid>
        	        	<description><![CDATA[<p>Could you please provide me the sample code to expand all the nodes/ collapse all the&#160;nodes in the tree grid at once by clicking on the custom button on the navigation bar?</p>
<p>Thanks in advance.</p>
]]></description>
        	        	<pubDate>Tue, 02 Jun 2009 11:10:25 +0300</pubDate>
        </item>
</channel>
</rss>