﻿<?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 - Is there a way to lock the default grouping?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Is-there-a-way-to-lock-the-default-grouping/</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>Is there a way to lock the default grouping?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Is-there-a-way-to-lock-the-default-grouping/</link><pubDate>Tue, 08 Jun 2010 16:59:24 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Adam,&lt;/p&gt;&lt;p&gt;Yes, you should be able to do that scenario.&lt;/p&gt;
&lt;p&gt;e.g At the first load, WebGrid is grouping by city.&lt;/p&gt;
&lt;p&gt;You can try to validate at &lt;b&gt;&lt;i&gt;OnColumnUngroup &lt;/i&gt;&lt;/b&gt;client side event.&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;function WebGrid1_OnColumnUngroup(controlId, columnObject)
{
	var WebGrid1 = ISGetObject(controlId);
	if (columnObject.Name == "City") {
		return false;
	}
	return true;
}&lt;/pre&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>Is there a way to lock the default grouping?</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Is-there-a-way-to-lock-the-default-grouping/</link><pubDate>Tue, 08 Jun 2010 14:15:37 GMT</pubDate><dc:creator>AdamD</dc:creator><description>&lt;p&gt;If I have a default grouping and I allow grouping and the grouping top box appears, I can easily ungroup this default. We want to be able to not allow the user to ungroup the initial group.&lt;/p&gt;
&lt;p&gt;They should be able to add their own groups and ungroup those. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>