﻿<?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 - Ungroupping a column from GroupByBox when column is hidden causes Js error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Ungroupping-a-column-from-GroupByBox-when-column-is-hidden-causes-Js-error/</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>Ungroupping a column from GroupByBox when column is hidden causes Js error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Ungroupping-a-column-from-GroupByBox-when-column-is-hidden-causes-Js-error/</link><pubDate>Mon, 15 Nov 2010 00:03:44 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;I just been updated regarding the ungroup issue. The fix will be available in the next hotfix release.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Ungroupping a column from GroupByBox when column is hidden causes Js error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Ungroupping-a-column-from-GroupByBox-when-column-is-hidden-causes-Js-error/</link><pubDate>Tue, 20 Jul 2010 05:32:49 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;Unfortunately I have no information regarding the fix availability. I will inform you if there is any update for the fix. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Ungroupping a column from GroupByBox when column is hidden causes Js error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Ungroupping-a-column-from-GroupByBox-when-column-is-hidden-causes-Js-error/</link><pubDate>Mon, 19 Jul 2010 13:06:09 GMT</pubDate><dc:creator>mdearman@libera.com</dc:creator><description>&lt;p&gt;Thanks.  Do you know when the permanent fix will be available?  The users need to be able to ungroup.&lt;/p&gt;</description></item><item><title>Ungroupping a column from GroupByBox when column is hidden causes Js error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Ungroupping-a-column-from-GroupByBox-when-column-is-hidden-causes-Js-error/</link><pubDate>Mon, 19 Jul 2010 01:03:59 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;The available workaround is on the ungroup client side event handler, you will need to validate if the column element is available. If it is not available, rreturn false to invalidate the operation. This workaround will cause the error to not occur, however you will not be able to remove the hidden column group.&lt;/p&gt;&lt;p&gt;Here is the snippet:&lt;/p&gt;&lt;pre&gt;&amp;lt;script language="javascript" type="text/javascript"&amp;gt;
	function WebGrid1_OnColumnUngroup(controlId, columnObject)
	{
		var WebGrid1 = ISGetObject(controlId);
		return columnObject.GetElement() ? true : false;
	}
&amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;p&gt;    &lt;/p&gt;</description></item><item><title>Ungroupping a column from GroupByBox when column is hidden causes Js error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Ungroupping-a-column-from-GroupByBox-when-column-is-hidden-causes-Js-error/</link><pubDate>Fri, 16 Jul 2010 11:03:30 GMT</pubDate><dc:creator>tlusby</dc:creator><description>&lt;p&gt;I'm having the same problem. Is there a workaround for this?  &lt;/p&gt;</description></item><item><title>Ungroupping a column from GroupByBox when column is hidden causes Js error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Ungroupping-a-column-from-GroupByBox-when-column-is-hidden-causes-Js-error/</link><pubDate>Fri, 09 Jul 2010 00:38:33 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;In my test using the scenario you described I could successfully replicate the issue. This issue seems to be caused by a bug. I have submitted a bug report to the developer regarding this issue. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Ungroupping a column from GroupByBox when column is hidden causes Js error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Ungroupping-a-column-from-GroupByBox-when-column-is-hidden-causes-Js-error/</link><pubDate>Thu, 08 Jul 2010 15:54:52 GMT</pubDate><dc:creator>mdearman@libera.com</dc:creator><description>&lt;p&gt;I have 2 visible columns in the grid and 2 hidden columns.  The grid is groupped by one of those hidden columns.  And the &lt;span style="font-size: 13px"&gt;HideColumnsWhenGrouped setting is "No" in case it matters.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;If I drag the grouping from the GroupByBox out, it generates a 'null' Javascript error because its trying to get the cellIndex of the WebGridColumn's HTML element (returned from the GetElement method).&amp;nbsp; But there is no HTML element, because its hidden.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;If I right-click on the grouping in the GroupByBox, it generates a different Javascript error "'this.GetElement().cellIndex' is null or not an object" within a call to WebGridColumn.GetViewPosition().&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;So the user can't ungroup the column because of these errors.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mike&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>