Note that there are some explanatory texts on larger screens.

plurals
  1. POTelerik RadGrid group header alignment (with static grid headers)?
    text
    copied!<p>The group headers in my RadGrid align properly when I don't use static headers, but when I do, they get out of alignment. Can't seem to find anything that fixes this. Relevant code, unimportant details omitted:</p> <pre><code>&lt;telerik:RadGrid runat="server" ID="RadGrid1" GridLines="None" AllowSorting="True" AutoGenerateColumns="False" AllowMultiRowSelection="True" OnNeedDataSource="RadGrid1_NeedDataSource"&gt; &lt;MasterTableView DataKeyNames="PageID"&gt; &lt;GroupHeaderTemplate&gt; &lt;asp:CheckBox runat="server" ID="cbGroupHeader"/&gt; &lt;asp:Label runat="server" ID="lblGroupHeader" Text='&lt;%# (((GridGroupHeaderItem)Container).AggregatesValues["Group"]) %&gt;'/&gt; &lt;/GroupHeaderTemplate&gt; &lt;Columns&gt; &lt;telerik:GridClientSelectColumn HeaderStyle-Width="2.5%"/&gt; &lt;telerik:GridBoundColumn DataField="PageName" HeaderText="Page Name" UniqueName="PageName"/&gt; &lt;telerik:GridBoundColumn DataField="PageID" Display="False" ReadOnly="True" UniqueName="PageID" ... &lt;/Columns&gt; &lt;GroupByExpressions&gt; &lt;telerik:GridGroupByExpression&gt; &lt;GroupByFields&gt; &lt;telerik:GridGroupByField FieldName="Order"/&gt; &lt;/GroupByFields&gt; &lt;SelectFields&gt; &lt;telerik:GridGroupByField FieldName="Group"/&gt; &lt;/SelectFields&gt; &lt;/telerik:GridGroupByExpression&gt; &lt;/GroupByExpressions&gt; &lt;/MasterTableView&gt; &lt;ClientSettings AllowKeyboardNavigation="True" AllowColumnsReorder="True" ReorderColumnsOnClient="False"&gt; &lt;Selecting AllowRowSelect="True"/&gt; &lt;Resizing AllowColumnResize="True" ResizeGridOnColumnResize="False" ClipCellContentOnResize="True" EnableRealTimeResize="True" AllowResizeToFit="True"/&gt; &lt;Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True"/&gt; &lt;/ClientSettings&gt; &lt;/telerik:radGrid&gt; </code></pre> <p>Pictures (imgur):</p> <p><a href="http://i.imgur.com/iCdnb.jpg" rel="nofollow">UseStaticHeaders="False"</a></p> <p><a href="http://i.imgur.com/as8bk.jpg" rel="nofollow">UseStaticHeaders="True"</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload