This is a migrated thread and some comments may be shown as answers.
Header horizontal align
2 Answers 84 Views
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 23 Jan 2008, 01:03 AM

Hello,

I search the whole forum to find a solution for this problem, but couldn't find any.
The problem is with the headers of the RadGrid, where some of them i want to align left, and some with a center align.

The RadGrid is using static headers.

All of the header cells keep a alignment to the left, even if i set the 
<HeaderStyle HorizontalAlign=Center />

The items are no problem, i can align those any way i want.
But looks better if the header cells use the same alignment.

I use the following grid settings:

<telerik:RadGrid ID="rgDetailList" runat="server" Style="width: 100%; cursor: pointer;" 
                    AllowSorting="True" Skin="Office2007" AutoGenerateColumns="False" GridLines="Vertical" 
                    Height="100%" BorderWidth="0px">  
                    <ClientSettings Scrolling-UseStaticHeaders="true" Scrolling-AllowScroll="true" ApplyStylesOnClient="true">  
                        <Selecting AllowRowSelect="true" /> 
                    </ClientSettings> 
                    <MasterTableView TableLayout="Fixed" NoMasterRecordsText="no records" 
                        CssClass="gridgray"

I tried setting the headerstyle in the radgrid, mastertableview, and column sections. None of those have any effect.

Thanks

2 Answers, 1 is accepted

Sort by
0
cbospikes
Top achievements
Rank 1
answered on 25 Jan 2008, 01:15 PM
I am having the same issue.  Every thing I have tried has been to no avail.
0
Vlad
Telerik team
answered on 28 Jan 2008, 09:26 AM
Hi guys,

We have fixed this problem and the fix will be available with the next service pack which will come after two weeks.

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Marco
Top achievements
Rank 1
Answers by
cbospikes
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or