Hi,
I'm experiencing an issue with radgrid grouping. Apparently the grid is only sorting by date but not grouping by date. For example; If I had 5 entries for 4/20/2012 I would expect a group for the date and five sub entries. But what I'm experiencing is 5 separate groups. I attached a screenshot to give you an idea. I really appreciate your help.
Thanks,
Ron.
I'm experiencing an issue with radgrid grouping. Apparently the grid is only sorting by date but not grouping by date. For example; If I had 5 entries for 4/20/2012 I would expect a group for the date and five sub entries. But what I'm experiencing is 5 separate groups. I attached a screenshot to give you an idea. I really appreciate your help.
<telerik:RadGrid runat="server" ID="grdRecentActivity" DataSourceID="objActivity" Width="99%" Skin="Sunset" ShowHeader="false" onitemdatabound="grdRecentActivity_ItemDataBound"> <HeaderStyle CssClass="HistoryGridHeader" /> <PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle> <MasterTableView AutoGenerateColumns="false" CssClass="GridRecentActivity" GroupLoadMode="Client" ExpandCollapseColumn-Groupable="False"> <GroupByExpressions> <telerik:GridGroupByExpression> <SelectFields> <telerik:GridGroupByField FieldName="Date" FormatString="{0:D}" FieldAlias="Date" HeaderText=" " /> </SelectFields> <GroupByFields> <telerik:GridGroupByField FieldName="Date" SortOrder="Descending" FieldAlias="StartDateTime" FormatString="{0:dd/MM/yy}" > </telerik:GridGroupByField> </GroupByFields> </telerik:GridGroupByExpression> </GroupByExpressions> <Columns> <telerik:GridTemplateColumn DataField="Message" HeaderText="Message" UniqueName="Message"> <ItemTemplate> <asp:Label runat="server" id="Label1" Text='<%# Eval("Type") %>' CssClass="FirstColumn" /> - <asp:Label runat="server" id="lblMessage" Text='<%# Eval("Message") %>' /> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> </MasterTableView> <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True"> <Selecting AllowRowSelect="True"></Selecting> <Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="False"></Resizing> </ClientSettings> </telerik:RadGrid>Thanks,
Ron.