﻿<?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 - How to expand Group row in Hierarchecal grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-expand-Group-row-in-Hierarchecal-grid/</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>How to expand Group row in Hierarchecal grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-expand-Group-row-in-Hierarchecal-grid/</link><pubDate>Wed, 07 Dec 2011 04:23:58 GMT</pubDate><dc:creator>suhastj</dc:creator><category>expand Group row in Hierarchecal grid</category><description>&lt;p&gt;Thanks for the hint Surya,&lt;/p&gt;
&lt;p&gt;My initial understanding was, when ever i get a row object of a table and when i call ExpandGroupRow() API for that row, it will expand the associated group row.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;But i came to know that, we can use follwoing API's to get Grouped rows and use ExpandGroupRow() API for this row object.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;pre&gt;var group = residingTable.GetRowByGroup(levelIndex, groupRowIndex);

group.ExpandGroupRow();&lt;/pre&gt;
&lt;p&gt;For a 2 level hierarchical, and Group by is applies on 1st level (levelIndex = 0 ), and i want to expand the 2nd group (groupRowIndex = 1), i should use following code&lt;/p&gt;&lt;pre&gt;var group = residingTable.GetRowByGroup(0, 1);

group.ExpandGroupRow();&lt;/pre&gt;

&lt;p&gt;NOTE: residingTable is a RootTable object of the grid.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks for the hint:)&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Suhas T J&lt;/p&gt;</description></item><item><title>How to expand Group row in Hierarchecal grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-expand-Group-row-in-Hierarchecal-grid/</link><pubDate>Wed, 07 Dec 2011 03:41:30 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>expand Group row in Hierarchecal grid</category><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Please allow me to understand further your point in order to avoid any misunderstood point.&lt;br /&gt;Do you want to expand the group row include the child in hierarchical too?&lt;/p&gt;
&lt;p&gt;I saw that your used row.ExpandGroupRow(). However, what is this row object? Is it based on row selection?&lt;br /&gt;Please remember this row should be a group row object. If row is based on row selection, please ensure that you select the correct row.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>How to expand Group row in Hierarchecal grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-expand-Group-row-in-Hierarchecal-grid/</link><pubDate>Tue, 06 Dec 2011 05:01:17 GMT</pubDate><dc:creator>suhastj</dc:creator><category>expand Group row in Hierarchecal grid</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can any one please tell me how to expand Group row in Hierarchecal grid from "Client Side".&lt;/p&gt;
&lt;p&gt;I am using row.&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;ExpandGroupRow() but it is not working. Please see the attached screen capture 1 for the existing behavior.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;I have a 2 level hierarchecal grid. i use expand Group row API as well as expand row for first row. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;Please assist me in achieveing the UI that is shown in screen capture 2.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;Thanks in advance,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;Suhas T J&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;</description></item></channel></rss>