﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Expand/Collapse operation after groupby operation takes time.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Expand-operation-after-groupby-takes-time/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Expand/Collapse operation after groupby operation takes time.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Expand-operation-after-groupby-takes-time/</link><pubDate>Fri, 14 May 2010 12:53:13 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Hi Vibhore,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;I have tried your scenario with our "Orders" table from Northwind database, and grouping performace only take a couple seconds to expand and collapse the row.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;However, here is the snippet to perform expand the group row from client side:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="font-size: 9pt; "&gt;        function Button1_onclick() {
            var grid = ISGetObject("WebGrid1");
            grid.GetRootTable().GetGroupRows()[1].ExpandGroupRow();
        }&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'courier new', tahoma; white-space: pre; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;     function Button1_onclick() {
&lt;p /&gt;&lt;span style="font-size: 9pt; "&gt;            var grid = ISGetObject("WebGrid1");
            grid.GetRootTable().GetGroupRows()[1].CollapseGroupRow();
        }&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;I hope it helps. Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Expand/Collapse operation after groupby operation takes time.</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Expand-operation-after-groupby-takes-time/</link><pubDate>Fri, 14 May 2010 02:09:10 GMT</pubDate><dc:creator>goel_vibhore</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;   I am using Intersoft webgrid and works on large data to bind with grid.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Now, I do groupby task for a particular column and find that the groupby column contains large data itself, say for example 300 records.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;When I try to expand that groupby column, it takes time to expand, which seems to be a server side work.&lt;/p&gt;
&lt;p&gt;Is there any property defined with the webgrid, so that expanding will be done on client side and when I expand/ollapse my grid, it will show the data quickly.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>