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