﻿<?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 - WebGrid, DocType and grouping problem</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-DocType-and-grouping-problem/</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>WebGrid, DocType and grouping problem</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-DocType-and-grouping-problem/</link><pubDate>Tue, 06 Jul 2010 17:52:00 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebGrid</category><category>Doctype</category><category>XHTML</category><category>Grouping</category><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;It works well in here. It seems you were not giving the correct sample. &lt;br /&gt;It doesn't have any grouping and virtual load settings. &lt;/p&gt;
&lt;p&gt;I tried to set it but the grouping works well. Also, Does the render issue look like my screenshot?&lt;/p&gt;
&lt;p&gt;If yes, you can resize the header by setting the width style in its element.&lt;/p&gt;
&lt;p&gt;e.g&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function WebGrid1_OnColumnGroup(controlId, columnObject)
{
     var WebGrid1 = ISGetObject(controlId);
     window.setTimeout(function(){resizeGroupHeader();},300);
     return true;
}
function resizeGroupHeader()
{
     var WebGrid1 = ISGetObject("WebGrid1");
     var table=WebGrid1.RootTable;
     table.GetElement(WG40.COLHEADERGROUP, WG40.HTMLDIV).parentNode.parentNode.parentNode.childNodes[0].childNodes[0].childNodes[0].childNodes[1].childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes[2].style.width = "300px";
     table.GetElement(WG40.COLHEADERGROUP, WG40.HTMLDIV).parentNode.parentNode.parentNode.childNodes[0].childNodes[0].childNodes[0].childNodes[1].childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes[2].childNodes[0].style.width = "280px";
}&lt;/pre&gt;
&lt;p /&gt;
&lt;p&gt;&lt;br /&gt;Also, would you mind to show me in recording video about how to replicate in this sample? It would help us to understanding the issue.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebGrid, DocType and grouping problem</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-DocType-and-grouping-problem/</link><pubDate>Tue, 06 Jul 2010 11:54:03 GMT</pubDate><dc:creator>Mladen.maras@combis.hr</dc:creator><category>WebGrid</category><category>Doctype</category><category>XHTML</category><category>Grouping</category><description>&lt;p&gt;I have attached simple web application with grid. Even with the latest hotfix it does not work.&lt;/p&gt;
&lt;p&gt;Maybe, the problem is not with XHTML but the combination of VirtualLoad and Grouping.&lt;/p&gt;
&lt;p&gt;I need to know how can I make grid do two things:&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;When the group is expanded, rows should be fetched from server and rendered on client (now they are being fetched from server but are not rendered on the client)&lt;/li&gt;&lt;li&gt;If the column has long caption, height of the grid header should increase in order so the caption can be shown completely.&lt;/li&gt;&lt;/ol&gt;</description></item><item><title>WebGrid, DocType and grouping problem</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-DocType-and-grouping-problem/</link><pubDate>Thu, 01 Jul 2010 10:15:52 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebGrid</category><category>Doctype</category><category>XHTML</category><category>Grouping</category><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Please tried to use the latest hotfix. It should be running well in XHTML because WebGrid already supported XHTML. Regarding the column caption, is it a group column or just a normal column?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>WebGrid, DocType and grouping problem</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-DocType-and-grouping-problem/</link><pubDate>Thu, 01 Jul 2010 09:33:42 GMT</pubDate><dc:creator>Mladen.maras@combis.hr</dc:creator><category>WebGrid</category><category>Doctype</category><category>XHTML</category><category>Grouping</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm using WebGrid version 7.0.7200.306. I have a grid with grouping enabled and paging mode VirtualLoad. Some of the columns shown in the grid have long captions.&lt;/p&gt;
&lt;p&gt;If I set doctype in master page to&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" &amp;gt;&lt;/pre&gt;
&lt;p&gt; then grouping stops working. When you expand group, grid starts to load childs but they are not rendered. In the status bar number of rows loaded is increased. On the other hand, column captions in the grid header are displayed nice (in multiple rows / larger height).&lt;/p&gt;
&lt;p&gt;If doctype is set to &lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&amp;gt;&lt;/pre&gt;
&lt;p&gt; grouping works, rows are loaded and rendered and everything works as it should. However, column captions in the grid header are displayed in single row. If a column has long caption, only part of it is shown and the top of the other part can barely be seen in the bottom of column header cell. &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Is it possible ,in any way, to solve this and have column caption displayed nice and rows rendered when expanding groups?&lt;/p&gt;
&lt;p /&gt;
&lt;p /&gt;</description></item></channel></rss>