Hi,
Can you show an example which reproduces the error? For all works fine, if unchecking 'Show in Groups' the groupBy params is absent in request
Here is my test case (without real grouping)
<%@ Page Language="C#" %>
<%@ Import Namespace="Coolite.Examples.Examples.GridPanel.Shared"%>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>GridPanel GroupingView with EnableRowBody - Coolite Toolkit Examples</title>
<link href="../../../../resources/css/examples.css" rel="stylesheet" type="text/css" />
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
if(!Ext.IsAjaxRequest)
{
Data_Bind();
}
}
private void Data_Bind()
{
Store1.DataSource = Plant.TestData;
Store1.DataBind();
}
protected void Refresh_Data(object sender, StoreRefreshDataEventArgs e)
{
Data_Bind();
}
</script>
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager ID="ScriptManager1" runat="server" />
<ext:Store runat="server" ID="Store1" GroupField="Light" OnRefreshData="Refresh_Data" RemoteGroup="true">
<Proxy>
<ext:DataSourceProxy></ext:DataSourceProxy>
</Proxy>
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="Common" />
<ext:RecordField Name="Botanical" />
<ext:RecordField Name="Zone" Type="Int" />
<ext:RecordField Name="ColorCode" />
<ext:RecordField Name="Light" />
<ext:RecordField Name="Price" Type="Float" />
<ext:RecordField Name="Availability" Type="Date" />
<ext:RecordField Name="Indoor" Type="Boolean" />
</Fields>
</ext:JsonReader>
</Reader>
<SortInfo Field="Common" Direction="ASC" />
</ext:Store>
<ext:GridPanel
ID="GridPanel1"
runat="server"
Collapsible="true"
Width="600"
Height="350"
AutoExpandColumn="Common"
Title="Plants"
Frame="true"
StoreID="Store1">
<ColumnModel runat="server">
<Columns>
<ext:Column ColumnID="Common" Header="Common Name" DataIndex="Common" Width="220" Sortable="true" />
<ext:Column Header="Light" DataIndex="Light" Width="130" Sortable="true" />
<ext:Column Header="Price" DataIndex="Price" Width="70" Align="right" Sortable="true" Groupable="false">
<Renderer Format="UsMoney" />
</ext:Column>
<ext:Column Header="Available" DataIndex="Availability" Width="95" Sortable="true" Groupable="false">
<Renderer Fn="Ext.util.Format.dateRenderer('Y-m-d')" />
</ext:Column>
<ext:Column Header="Indoor?" DataIndex="Indoor" Width="55" Sortable="true" />
</Columns>
</ColumnModel>
<LoadMask ShowMask="true" />
<SelectionModel>
<ext:RowSelectionModel runat="server" />
</SelectionModel>
<View>
<ext:GroupingView
ID="GroupingView1"
runat="server"
>
</ext:GroupingView>
</View>
</ext:GridPanel>
</form>
</body>
</html>