Hi there, can someone please help me with a problem I can't work out how to get round. I am slowly getting to speed with the radgrid, and am using some grouping now. I want to nto allow the grouping to be expanded and collapsed, and only display the FieldValue in the GroupHeader, and no text and colon.
I tried
I cant attach a picture here but here is a link to one.
http://www.bluerocket.co.nz/temp/gridgroupproblem.gif
I tried
ExpandCollapseColumn-Display
="false"
in my MasterTable but this does not seem to help. I have included my code and a screenshot.<telerik:RadGrid ID="RadGridDevelopmentNeeds" runat="server" EnableEmbeddedSkins="False" AutoGenerateColumns="false" DataSourceID="srcDevelopmentNeeds" EnableViewState="true" OnItemCommand="RadGridDevelopmentNeeds_ItemCommand"> |
<MasterTableView GroupHeaderItemStyle-BackColor="Pink" ExpandCollapseColumn-Display="false" > |
<GroupByExpressions> |
<telerik:GridGroupByExpression> |
<GroupByFields> |
<telerik:GridGroupByField FieldName="Status" SortOrder="Ascending"/> |
</GroupByFields> |
<SelectFields> |
<telerik:GridGroupByField FieldName="Status" HeaderText=" "/> |
</SelectFields> |
</telerik:GridGroupByExpression> |
</GroupByExpressions> |
<Columns> |
<telerik:GridTemplateColumn UniqueName="Rank"> |
<ItemStyle VerticalAlign="Top" HorizontalAlign="Left" Font-Bold="true"/> |
<ItemTemplate><%# Eval("Rank")%>.</ItemTemplate> |
</telerik:GridTemplateColumn> |
<telerik:GridTemplateColumn UniqueName="DNName"> |
<ItemStyle CssClass="dnindex"/> |
<ItemTemplate> |
<asp:LinkButton ID="lbSelectDevelopmentNeed" runat="server" CommandName="LoadDevelopmentNeed" CommandArgument='<%#Eval("GUID") %>' CssClass="dnindex"><%#Eval("Name")%></asp:LinkButton> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
</Columns> |
</MasterTableView> |
</telerik:RadGrid> |
I cant attach a picture here but here is a link to one.
http://www.bluerocket.co.nz/temp/gridgroupproblem.gif