I'm using the GroupByExpressions on the RadGrid, but I would not like my data to be sorted when bound.
Here is my mock up:
Thank you,
Katie
Here is my mock up:
<telerik:RadGrid ID="HeadCountRadGrid" runat="server" Skin="Sunset_Custom" GridLines="Both" AutoGenerateColumns="false" Width="100%" EnableEmbeddedSkins="false" AllowSorting="false" OnNeedDataSource="HeadCountRadGrid_OnNeedDataSource" > <MasterTableView BorderStyle="None" BorderWidth="0px" GroupsDefaultExpanded="true" GroupLoadMode="Client" > <GroupByExpressions> <telerik:GridGroupByExpression> <SelectFields > <telerik:GridGroupByField FieldName="Section" HeaderValueSeparator=" " HeaderText=" " /> </SelectFields> <GroupByFields> <telerik:GridGroupByField FieldName="Section" SortOrder="None" /> </GroupByFields> </telerik:GridGroupByExpression> </GroupByExpressions> <Columns> <telerik:GridBoundColumn DataField="Group" ItemStyle-HorizontalAlign="Right" HeaderText="" ItemStyle-Width="250" HeaderStyle-Width="270"/> <telerik:GridBoundColumn DataField="NumberOfStudents" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Center" HeaderText="Number of Students" /> </Columns> </MasterTableView> </telerik:RadGrid>Thank you,
Katie