This is a migrated thread and some comments may be shown as answers.

RadGrid group headers display issue

1 Answer 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jesse Roper
Top achievements
Rank 1
Jesse Roper asked on 31 Oct 2012, 09:20 PM
Hi -

I'm using grouping by dragging them to the group region, which works fine.  However, the group headers in the  grid are displaying with dark grid lines going through them.  I have tried the following code to turn off displaying of them but to no effect:

<GroupPanel SkinID="Office2007">
    <PanelItemsStyle GridLines="None" />
    <PanelStyle GridLines="None"
</GroupPanel>

I also tried setting the style as follows, but couldn't effect the grid lines:

GroupHeaderItemStyle-BackColor="White"

I have included the code for my (growingly-complicated) grid and an image of what I'm seeing for good measure.  Please let me know if you have any suggestions.

Thank you

<telerik:RadGrid ID="DetailsGrid" runat="server" CellSpacing="0" Skin="Office2007" GridLines="Vertical" AllowSorting="true" ShowGroupPanel="true" AllowPaging="false" OnNeedDataSource="DetailsGrid_NeedDataSource" OnUpdateCommand="DetailsGrid_UpdateCommand" OnItemDataBound="DetailsGrid_ItemDataBound"
OnItemCreated="DetailsGrid_ItemCreated" OnDataBound="DetailsGrid_DataBound" OnDataBinding="DetailsGrid_DataBinding" GroupHeaderItemStyle-BackColor="White">
    <SelectedItemStyle CssClass="selectedRow" />
    <ClientSettings ReorderColumnsOnClient="true" EnablePostBackOnRowClick="false" AllowDragToGroup="true">
        <Resizing AllowColumnResize="true" EnableRealTimeResize="true" ShowRowIndicatorColumn="true" AllowResizeToFit="true" />
        <ClientEvents OnGridCreated="GridCreated" OnKeyPress="KeyPress" OnRowDblClick="RowDblClick" OnCommand="GridCommand" />                               
        <Selecting AllowRowSelect="true" CellSelectionMode="SingleCell" />
        <Scrolling UseStaticHeaders="true" AllowScroll="true" />
    </ClientSettings>
    <MasterTableView TableLayout="Fixed" EditMode="InPlace" AutoGenerateColumns="false" DataKeyNames="opportunityProductId" ShowFooter="true">
        <HeaderStyle HorizontalAlign="Center" Width="135px" Font-Bold="true" />
        <Columns>
        ...
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 05 Nov 2012, 05:19 PM
Hi,

Try removing GridLines="Vertical" from the grid declaration and see if it makes any difference.

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Jesse Roper
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or