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

RadGrid horizontal lines not drawing correctly

1 Answer 187 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Danielle asked on 28 Jan 2009, 09:51 PM
The horizontal lines in my grid are not drawing properly (for certain columns) when there is grouping and a footer displaying aggregrates. If there is no grouping and footer, the lines appear fine.

The horizontal lines look thin for the length of the column, then return back to normal for other columns so it looks like it's been "shaved" for these columns.

My grid is as follows (and I can attach a screen shot of how my grid looks like). The first column is a checkbox column and I am creating the rest of the columns dynamically.

<telerik:radgrid id="PlanRadGrid" AllowFilteringByColumn="True" AllowSorting="True" AutoGenerateColumns="False" GridLines="Both" HeaderStyle-HorizontalAlign="Center" CommandItemStyle-HorizontalAlign="Left" HorizontalAlign="Justify" OnDataBound="PlanRadGrid_DataBound" OnItemCommand="PlanRadGrid_ItemCommand" runat="server" Skin="WebBlue" OnGroupsChanging="PlanRadGrid_GroupsChanging" OnItemCreated="PlanRadGrid_ItemCreated" GroupHeaderItemStyle-HorizontalAlign="Left" ShowFooter="True"  OnPreRender="PlanRadGrid_PreRender" OnItemDataBound="PlanRadGrid_ItemDataBound" OnInit="PlanRadGrid_Init" OnColumnCreating="PlanRadGrid_ColumnCreating" OnNeedDataSource="PlanRadGrid_NeedDataSource" >
     <MasterTableView TableLayout="Fixed" CommandItemDisplay="Top" DataKeyNames="ProjectID" GroupsDefaultExpanded="False"
 GroupLoadMode="Client" ShowGroupFooter="True" >
        <asp:Button Runat="server" ID="ApplyFilterButton" Text="Apply Filtering" CommandName="MultiFilter" />
        <asp:Button Runat="server" ID="ClearAllFiltersLinkButton" Text="Clear All Filters" CommandName="ClearFilters" />
    <NoRecordsTemplate> There are no projects for this plan version. </NoRecordsTemplate>
        <telerik:GridTemplateColumn Groupable="False" AllowFiltering="False" UniqueName="CheckboxColumn" Resizable="False">   
                <asp:CheckBox  ID="headerChkbox" runat="server" OnCheckedChanged="ToggleSelectedState" AutoPostBack="True" />
                <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="False" />
            <HeaderStyle HorizontalAlign="Center" Width="30px" />
                <ItemStyle HorizontalAlign="Center" />
        <HeaderStyle Width="20px" />
    <HeaderStyle Width="20px" />
    <CommandItemStyle BackColor="Beige" VerticalAlign="Top" Font-Bold="True" Font-Size="Small" HorizontalAlign="Left" />
    <FooterStyle Font-Bold="True" Font-Size="Small" Font-Italic="True" />
<HeaderStyle HorizontalAlign="Center" />
<GroupHeaderItemStyle HorizontalAlign="Left" />
<CommandItemStyle HorizontalAlign="Left" />
<FilterMenu EnableTheming="True" Skin="WebBlue">
<CollapseAnimation Duration="200" Type="OutQuint" />

Thankyou for your assistance,






1 Answer, 1 is accepted

Sort by
Telerik team
answered on 02 Feb 2009, 12:46 PM
Hello Danielle,

I suppose you are referring here to the double-border effect for adjacent group footers which can be observed on this online demo of RadGrid when you apply second group by criteria ('Units In Stock' for example):

Note that you can avoid this unwanted effect by removing the bottom border style setting for group footers explicitly. How to override the embedded skins styles set for RadGrid you can learn from the resources linked below:

Kind regards,
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question