I have a RadGrid that groups data based on a column's value, and would like the user to not be allowed to expand/collapse that group (I'm essentially grouping only so I can have a group title). My RadGrid is defined as follows:
How can I make this work? Thank you!
<!-- RadGrid for Articles --> |
<telerik:RadGrid runat="server" ID="rgArticles" AutoGenerateColumns="false" AllowSorting="false" GroupingEnabled="true"> |
<MasterTableView ShowHeader="false"> |
<%-- Columns --%> |
<Columns> |
<%-- Title --%> |
<telerik:GridTemplateColumn> |
<ItemTemplate><a href="<%#Eval("EditionLocation")%>" title="<%#Eval("Summary")%>" target="_blank"><%#Eval("Title")%> (p<%#Eval("EditionPages")%>)</a></ItemTemplate> |
</telerik:GridTemplateColumn> |
</Columns> |
<%-- GroupByExpressions --%> |
<GroupByExpressions> |
<telerik:GridGroupByExpression> |
<SelectFields> |
<telerik:GridGroupByField FieldName="Edition" HeaderValueSeparator="Edition: " HeaderText="<%=String.Empty %>" /> |
</SelectFields> |
<GroupByFields> |
<telerik:GridGroupByField FieldName="Edition" /> |
</GroupByFields> |
</telerik:GridGroupByExpression> |
</GroupByExpressions> |
</MasterTableView> |
</telerik:RadGrid> |
How can I make this work? Thank you!